]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
ci: Tweak the rules for the flatpak builds
authorLorenz Wildberg <lorenz@wild-fisch.de>
Tue, 30 May 2023 16:12:30 +0000 (16:12 +0000)
committerJordan Petridis <jordan@centricular.com>
Fri, 2 Jun 2023 11:55:10 +0000 (14:55 +0300)
Make it possible to trigger manually if needed through the Web
UI and also drop the namespace and branch guard as there is only
one schedule and has to be set up explicitly anyway.

.gitlab-ci.yml

index b26d0ee7aa245f4e22dc4205321bac30ad079e5c..f3542f980257bca36e16571532f0cb1ee5874b25 100644 (file)
@@ -2,7 +2,7 @@ include: "https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_
 
 .flatpak rules:
   rules:
-    - if: $CI_COMMIT_BRANCH == "main" && $CI_PROJECT_NAMESPACE == "gnome" && $CI_PIPELINE_SOURCE == "schedule"
+    - if: $CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "schedule"
 
 .vars-extension:
   extends: ".flatpak rules"
@@ -21,9 +21,9 @@ flatpak-extension@aarch64:
   extends: [".flatpak@aarch64", ".vars-extension"]
 
 nightly@x86_64:
-  extends: ['.publish_nightly', ".flatpak rules"]
+  extends: ['.publish_nightly']
   needs: ['flatpak-extension@x86_64']
 
 nightly@aarch64:
-  extends: ['.publish_nightly', ".flatpak rules"]
+  extends: ['.publish_nightly']
   needs: ['flatpak-extension@aarch64']