From 71e6585e7d84ffb947e096d5e5f22d5c45d11221 Mon Sep 17 00:00:00 2001
From: Felix Kunde <felix-kunde@gmx.de>
Date: Fri, 12 Jul 2019 16:25:15 +0200
Subject: [PATCH] fix alignment in delivery.yaml

---
 delivery.yaml | 58 +++++++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/delivery.yaml b/delivery.yaml
index 683607a1..e10b7b2c 100644
--- a/delivery.yaml
+++ b/delivery.yaml
@@ -58,37 +58,37 @@ pipeline:
             export IMAGE
             make push
 
-  - id: "build-operator-ui"
-    type: "script"
+    - id: build-operator-ui
+      type: script
 
-    commands:
-      - desc: "Prepare environment"
-        cmd: |
-          apt-get update
-          apt-get install -y build-essential
+      commands:
+        - desc: 'Prepare environment'
+          cmd: |
+            apt-get update
+            apt-get install -y build-essential
 
-      - desc: "Compile JavaScript app"
-        cmd: |
-          cd ui
-          make appjs
+        - desc: 'Compile JavaScript app'
+          cmd: |
+            cd ui
+            make appjs
 
-      - desc: "Build and push Docker image"
-        cmd: |
-          cd ui
-          image_base='registry-write.opensource.zalan.do/acid/postgres-operator-ui'
-          if [[ "${CDP_TARGET_BRANCH}" == 'master' && -z "${CDP_PULL_REQUEST_NUMBER}" ]]
-          then
-            image="${image_base}"
-          else
-            image="${image_base}-test"
-          fi
-          image_with_tag="${image}:c${CDP_BUILD_VERSION}"
+        - desc: 'Build and push Docker image'
+          cmd: |
+            cd ui
+            image_base='registry-write.opensource.zalan.do/acid/postgres-operator-ui'
+            if [[ "${CDP_TARGET_BRANCH}" == 'master' && -z "${CDP_PULL_REQUEST_NUMBER}" ]]
+            then
+              image="${image_base}"
+            else
+              image="${image_base}-test"
+            fi
+            image_with_tag="${image}:c${CDP_BUILD_VERSION}"
 
-          if docker pull "${image}"
-          then
-            docker build --cache-from="${image}" -t "${image_with_tag}" .
-          else
-            docker build -t "${image_with_tag}" .
-          fi
+            if docker pull "${image}"
+            then
+              docker build --cache-from="${image}" -t "${image_with_tag}" .
+            else
+              docker build -t "${image_with_tag}" .
+            fi
 
-          docker push "${image_with_tag}"
+            docker push "${image_with_tag}"
-- 
GitLab