[gnome-build-meta/valentindavid/publish-vm-ostree] Set REPO_TOKEN in finish
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/publish-vm-ostree] Set REPO_TOKEN in finish
- Date: Mon, 20 Jul 2020 10:03:44 +0000 (UTC)
commit 8ae33f97134501ee189b304baf2bceb8c1f66c0e
Author: Valentin David <valentin david codethink co uk>
Date: Mon Jul 20 12:03:35 2020 +0200
Set REPO_TOKEN in finish
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 15ff90ca..ed90fd19 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -432,6 +432,7 @@ ostree-finish:
dependencies: [ostree-prepare]
script:
- ls -l build.txt
+ - export REPO_TOKEN=$OSTREE_REPO_TOKEN
- flat-manager-client commit --wait $(cat build.txt)
- flat-manager-client publish --wait $(cat build.txt)
- flat-manager-client purge $(cat build.txt)
@@ -442,6 +443,7 @@ ostree-finish-failed:
stage: finish_publish
dependencies: [ostree-prepare]
script:
+ - export REPO_TOKEN=$OSTREE_REPO_TOKEN
- flat-manager-client purge $(cat build.txt)
rules:
- if: $CI_COMMIT_REF_NAME == "master"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]