[gnome-build-meta/abderrahim/3.37.90: 9/10] .gitlab-ci.yml: fix indentation




commit 7e008c8373ca1b9c51422d767a6c9c0ec83221e7
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Aug 13 11:30:30 2020 +0100

    .gitlab-ci.yml: fix indentation

 .gitlab-ci.yml | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 593dc5df..b5945aed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,8 +80,8 @@ default:
   when: manual
   allow_failure: true
   script:
-    - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${IMAGE}"
-    - ${BST} -o arch "${ARCH}" checkout --hardlinks "${IMAGE}" image
+  - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${IMAGE}"
+  - ${BST} -o arch "${ARCH}" checkout --hardlinks "${IMAGE}" image
   artifacts:
     when: always
     paths:
@@ -266,19 +266,19 @@ s3-image:
   stage: deploy
   dependencies: [track]
   script:
-    - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${IMAGE}"
-    - ${BST} -o arch "${ARCH}" checkout --hardlinks "${IMAGE}" image
-
-    - |
-      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
-      elif
-          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
-      fi
-
-    - aws s3 ls --recursive --human-readable s3://gnome-build-meta/
+  - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build "${IMAGE}"
+  - ${BST} -o arch "${ARCH}" checkout --hardlinks "${IMAGE}" image
+
+  - |
+    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
+    elif
+        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
+    fi
+
+  - aws s3 ls --recursive --human-readable s3://gnome-build-meta/
 
   rules:
   - if: $EMERGENCY || $BST_TRACK_TAGS != "False"


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