[gnome-build-meta/jjardon/gnome_3_37_92: 36/44] ci: add a manual s3 job
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/jjardon/gnome_3_37_92: 36/44] ci: add a manual s3 job
- Date: Sat, 12 Sep 2020 15:31:44 +0000 (UTC)
commit 2f785ad6d504aacec6e868ca997e33ed950bfe69
Author: Jordan Petridis <jordan centricular com>
Date: Wed Sep 2 20:03:16 2020 +0300
ci: add a manual s3 job
The idea is that we want a static url that will provide a working
image. The job is manual as for the time being we want someone
to manually verify that its working so we don't give people
broken images.
Hopefully in the future we can have an automated testsuite
for this like openQA.
.gitlab-ci.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46d4044a..e96033f5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -286,6 +286,25 @@ s3-image:
- if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_TAG
+s3-image-static:
+ extends: .x86_64
+ stage: reports
+ needs:
+ - job: s3-image
+ artifacts: false
+ rules:
+ - if: $EMERGENCY || $BST_TRACK_TAGS != "False"
+ when: never
+ - if: $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"
+ when: manual
+ script:
+ - |
+ # Assume that the s3-image job has succeed and copy the img form the s3 uri
+ aws s3 cp --acl public-read --expires $(date -I --date="4 weeks") \
+ s3://gnome-build-meta/$CI_PIPELINE_ID/installer.iso \
+ s3://gnome-build-meta/latest/installer.iso
+
+ - aws s3 ls --recursive --human-readable s3://gnome-build-meta/
ostree-x86_64:
extends:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]