[gnome-build-meta/abderrahim/flatpak-envs-40] .gitlab-ci: use different environment names for stable and nightly flatpak
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/flatpak-envs-40] .gitlab-ci: use different environment names for stable and nightly flatpak
- Date: Wed, 17 Mar 2021 18:17:34 +0000 (UTC)
commit 32fed63c793265e67e93c4731eea4ed5d80fe865
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Wed Mar 17 12:45:39 2021 +0100
.gitlab-ci: use different environment names for stable and nightly flatpak
This should allow us to use the REPO_TOKEN defined in GNOME/
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1067>
.gitlab-ci.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0fce4f62..fba7a264 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,16 +157,19 @@ generate-deploy-config:
case "$FLATPAK_BRANCH" in
master)
FLAT_MANAGER_SERVER=https://nightly.gnome.org/
+ ENVIRONMENT_NAME=flatpak-nightly
FLAT_MANAGER_REPO=nightly
SUPPORTED_ARCHES="x86_64 i686 aarch64 ppc64le"
;;
*beta)
FLAT_MANAGER_SERVER=https://hub.flathub.org/
+ ENVIRONMENT_NAME=flathub/$FLATPAK_BRANCH
FLAT_MANAGER_REPO=beta
SUPPORTED_ARCHES="x86_64 i686 aarch64"
;;
*)
FLAT_MANAGER_SERVER=https://hub.flathub.org/
+ ENVIRONMENT_NAME=flathub/$FLATPAK_BRANCH
FLAT_MANAGER_REPO=stable
SUPPORTED_ARCHES="x86_64 i686 aarch64"
;;
@@ -182,7 +185,7 @@ generate-deploy-config:
TARGETS: flatpak-runtimes.bst
TARGETS_nightly: flatpak-platform-extensions.bst
TARGETS_nightly_x86_64: openh264-extension.bst:flatpak-repo.bst
- ENVIRONMENT_NAME: flatpak/$FLATPAK_BRANCH
+ ENVIRONMENT_NAME: '$ENVIRONMENT_NAME'
END
- cat flatpak-variables.yml .gitlab-ci/flat-manager.yml > flatpak-deploy.yml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]