gitlabci: Fix review-app.
This commit is contained in:
parent
00e747eb5f
commit
6f590a64af
@ -3,6 +3,9 @@ stages:
|
|||||||
- lint
|
- lint
|
||||||
- review
|
- review
|
||||||
|
|
||||||
|
variables:
|
||||||
|
BUNDLE: "hammond-dev.flatpak"
|
||||||
|
|
||||||
.cargo_test_template: &cargo_test
|
.cargo_test_template: &cargo_test
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
@ -65,14 +68,14 @@ flatpak:
|
|||||||
- flatpak build-export repo app
|
- flatpak build-export repo app
|
||||||
|
|
||||||
# Create a flatpak bundle
|
# 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
|
# 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
|
||||||
# - flatpak-builder --run app org.gnome.Hammond.json cargo test -- --test-threads=1 --ignored
|
# - flatpak-builder --run app org.gnome.Hammond.json cargo test -- --test-threads=1 --ignored
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- hammond-dev.flatpak
|
- $BUNDLE
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
@ -92,7 +95,7 @@ review:
|
|||||||
- echo "Generating flatpak deployment"
|
- echo "Generating flatpak deployment"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- hammond-dev.flatpak
|
- $BUNDLE
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
environment:
|
environment:
|
||||||
name: review/$CI_COMMIT_REF_NAME
|
name: review/$CI_COMMIT_REF_NAME
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user