gitlabci: Fix review-app.

This commit is contained in:
Jordan Petridis 2018-05-12 23:00:51 +03:00
parent 00e747eb5f
commit 6f590a64af
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -3,6 +3,9 @@ stages:
- lint
- review
variables:
BUNDLE: "hammond-dev.flatpak"
.cargo_test_template: &cargo_test
stage: test
@ -65,14 +68,14 @@ flatpak:
- flatpak build-export repo app
# Create a flatpak bundle
- flatpak build-bundle repo hammond-dev.flatpak org.gnome.Hammond
- flatpak build-bundle repo ${BUNDLE} org.gnome.Hammond
# Run the tests
# - flatpak-builder --run app org.gnome.Hammond.json cargo test -- --test-threads=1
# - flatpak-builder --run app org.gnome.Hammond.json cargo test -- --test-threads=1 --ignored
artifacts:
paths:
- hammond-dev.flatpak
- $BUNDLE
expire_in: 30 days
cache:
@ -92,7 +95,7 @@ review:
- echo "Generating flatpak deployment"
artifacts:
paths:
- hammond-dev.flatpak
- $BUNDLE
expire_in: 30 days
environment:
name: review/$CI_COMMIT_REF_NAME