[gnome-build-meta/abderrahim/gitlab-ci-rules: 3/3] .gitlab-ci.yml: use an anchor to avoid repeating the flatpak publish rules
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/gitlab-ci-rules: 3/3] .gitlab-ci.yml: use an anchor to avoid repeating the flatpak publish rules
- Date: Sun, 29 Mar 2020 15:25:50 +0000 (UTC)
commit 48584b3f53707f7a13ae24fc7f618e960ce5d868
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Oct 3 20:20:23 2019 +0100
.gitlab-ci.yml: use an anchor to avoid repeating the flatpak publish rules
.gitlab-ci.yml | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ff420818..6090f583 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -134,7 +134,7 @@ default:
- flatpak build-update-repo --generate-static-deltas repo/
- flat-manager-client push $(cat build.txt) repo/
- rules:
+ rules: &flatpak-publish-rules
- if: $EMERGENCY || $BST_TRACK_TAGS != "False"
when: never
- if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d-\d\d$/
@@ -219,10 +219,7 @@ flatpak-prepare:
artifacts:
paths:
- build.txt
- rules:
- - if: $EMERGENCY || $BST_TRACK_TAGS != "False"
- when: never
- - if: $CI_COMMIT_REF_NAME == 'master' || $CI_COMMIT_REF_NAME ~= /^gnome-\d-\d\d$/
+ rules: *flatpak-publish-rules
<<: *x86_64
@@ -250,10 +247,7 @@ flatpak-finish:
- flat-manager-client commit --wait $(cat build.txt)
- flat-manager-client publish --wait $(cat build.txt)
- flat-manager-client purge $(cat build.txt)
- rules:
- - if: $EMERGENCY || $BST_TRACK_TAGS != "False"
- when: never
- - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME ~= /^gnome-\d-\d\d$/
+ rules: *flatpak-publish-rules
<<: *x86_64
flatpak-finish-failed:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]