[gnome-build-meta/abderrahim/flatpak-envs-38] .gitlab-ci: use different environment names for stable and nightly flatpak
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/flatpak-envs-38] .gitlab-ci: use different environment names for stable and nightly flatpak
- Date: Wed, 17 Mar 2021 18:13:11 +0000 (UTC)
commit ef85e8a34febfc9ba84f36741c0d01a43f5b0c89
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/
.gitlab-ci.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae1c11d7..c6f335ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -151,16 +151,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"
;;
*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"
;;
@@ -176,7 +179,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]