[gnome-build-meta/abderrahim/deploy-ostree] .gitlab-ci.yml: use the same rules for publishing flatpak and gnome-os
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/deploy-ostree] .gitlab-ci.yml: use the same rules for publishing flatpak and gnome-os
- Date: Thu, 6 Aug 2020 06:35:31 +0000 (UTC)
commit af9c81bfc50edcdb71f4153e9a78f5d082f42488
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Aug 6 07:35:21 2020 +0100
.gitlab-ci.yml: use the same rules for publishing flatpak and gnome-os
.gitlab-ci.yml | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f19c8f50..7c60be67 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -186,8 +186,7 @@ default:
- rm -rf checkout-devel-repo/
- flat-manager-client push $(cat build.txt) repo/ $(ostree --repo=repo/ refs)
- rules: &ostree-publish-rules
- - if: $CI_COMMIT_REF_NAME == "master"
+ rules: *flatpak-publish-rules
#
# Architecture specific settings
@@ -362,7 +361,7 @@ ostree-prepare:
artifacts:
paths:
- build.txt
- rules: *ostree-publish-rules
+ rules: *flatpak-publish-rules
<<: *x86_64
flatpak-x86_64:
@@ -404,7 +403,7 @@ flatpak-finish-failed:
dependencies: [flatpak-prepare]
script:
- flat-manager-client purge $(cat build.txt)
- rules:
+ rules: &flatpak-failed-rules
- if: $EMERGENCY || $BST_TRACK_TAGS != "False"
when: never
- if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d-\d\d$/
@@ -419,7 +418,7 @@ ostree-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: *ostree-publish-rules
+ rules: *flatpak-publish-rules
<<: *x86_64
ostree-finish-failed:
@@ -428,9 +427,7 @@ ostree-finish-failed:
script:
- export REPO_TOKEN=$OSTREE_REPO_TOKEN
- flat-manager-client purge $(cat build.txt)
- rules:
- - if: $CI_COMMIT_REF_NAME == "master"
- when: on_failure
+ rules: *flatpak-failed-rules
<<: *x86_64
cve_report:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]