[gnome-build-meta/valentindavid/publish-installer] .gitlab-ci.yml: Publish ISO installer image




commit 2959f4cda2c0b71f97f8008430cbde15ac8f9458
Author: Valentin David <valentin david codethink co uk>
Date:   Thu Sep 3 10:59:33 2020 +0200

    .gitlab-ci.yml: Publish ISO installer image

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a22216b..d88304a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -273,16 +273,21 @@ s3-image:
   stage: deploy
   dependencies: [track]
   script:
-    - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build vm/image.bst
+    - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build vm/image.bst iso/image.bst
     - ${BST} -o arch "${ARCH}" checkout --hardlinks vm/image.bst image
+    - ${BST} -o arch "${ARCH}" checkout --hardlinks iso/image.bst iso
 
     - |
       if [ -n "$CI_COMMIT_TAG" ]; then
           aws s3 cp --acl public-read --expires $(date -I --date="6 weeks") image/disk.img.xz \
               s3://gnome-build-meta/$CI_COMMIT_TAG/disk.img.xz
+          aws s3 cp --acl public-read --expires $(date -I --date="6 weeks") iso/installer.iso \
+              s3://gnome-build-meta/$CI_COMMIT_TAG/installer.iso
       else
           aws s3 cp --acl public-read --expires $(date -I --date="1 week") image/disk.img.xz \
               s3://gnome-build-meta/$CI_PIPELINE_ID/disk.img.xz
+          aws s3 cp --acl public-read --expires $(date -I --date="1 week") iso/installer.iso \
+              s3://gnome-build-meta/$CI_PIPELINE_ID/installer.iso
       fi
 
     - aws s3 ls --recursive --human-readable s3://gnome-build-meta/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]