CI: Give up on fancy artifact name
While the artifact has the correct name, the review url is messed up and the env variable is never resolved. Previously urls look like so: "/artifacts/raw/org.gnome.Fractal.${CI_COMMIT_SHA}.flatpak" I am tired of fighting yaml to get this to work.
This commit is contained in:
parent
9c07d6a7e6
commit
190bcf240d
1 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ stages:
|
|||
- deploy
|
||||
|
||||
variables:
|
||||
BUNDLE: "org.gnome.FractalDevel.${CI_COMMIT_SHA}.flatpak"
|
||||
BUNDLE: "org.gnome.FractalDevel.flatpak"
|
||||
MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"
|
||||
MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"
|
||||
FLATPAK_MODULE: "fractal"
|
||||
|
@ -48,7 +48,7 @@ flatpak:
|
|||
|
||||
artifacts:
|
||||
paths:
|
||||
- $BUNDLE
|
||||
- "${BUNDLE}"
|
||||
expire_in: 2 days
|
||||
<<: *flatpak_cache
|
||||
|
||||
|
@ -61,11 +61,11 @@ review:
|
|||
- echo "Generating flatpak deployment"
|
||||
artifacts:
|
||||
paths:
|
||||
- $BUNDLE
|
||||
- "${BUNDLE}"
|
||||
expire_in: 30 days
|
||||
environment:
|
||||
name: review/$CI_COMMIT_REF_NAME
|
||||
url: https://gitlab.gnome.org/$CI_PROJECT_PATH/-/jobs/$CI_JOB_ID/artifacts/raw/${BUNDLE}
|
||||
name: "review/${CI_COMMIT_REF_NAME}"
|
||||
url: "https://gitlab.gnome.org/$CI_PROJECT_PATH/-/jobs/$CI_JOB_ID/artifacts/raw/${BUNDLE}"
|
||||
on_stop: stop_review
|
||||
except:
|
||||
- master@World/fractal
|
||||
|
@ -77,7 +77,7 @@ stop_review:
|
|||
- echo "Stopping flatpak deployment"
|
||||
when: manual
|
||||
environment:
|
||||
name: review/$CI_COMMIT_REF_NAME
|
||||
name: "review/${CI_COMMIT_REF_NAME}"
|
||||
action: stop
|
||||
except:
|
||||
- master@World/fractal
|
||||
|
|
Loading…
Reference in a new issue