diff --git a/.drone.yml b/.drone.yml index df36210..b9060bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,16 +22,12 @@ steps: image: aaronriedel/kustomize-ci commands: - cd /deployment-repo - - git clone https://git.ar21.de/yolokube/core-deployments.git . - - cd /staging-repo - git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git . - - cd /staging-repo/dashboard/overlays/staging + - cd /deployment-repo/dashboard/overlays/staging - kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml volumes: - name: deployment-repo path: /deployment-repo - - name: staging-repo - path: /staging-repo when: branch: exclude: @@ -65,7 +61,7 @@ steps: path: /deployment-repo force: false commit: true - commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} [CI SKIP]" + commit_message: "KUSTOMIZE BUILD STAGING: rebuild dashboard deployment with kustomize ${DRONE_BUILD_NUMBER} (done automagically via Drone pipeline)" ssh_key: from_secret: GITEA_SSH_KEY volumes: @@ -80,8 +76,6 @@ steps: volumes: - name: deployment-repo temp: {} -- name: staging-repo - temp: {} when: event: exclude: diff --git a/dashboard/base/dashboard.yaml b/dashboard/base/dashboard.yaml index 6076d3f..7d08c2a 100644 --- a/dashboard/base/dashboard.yaml +++ b/dashboard/base/dashboard.yaml @@ -30,7 +30,7 @@ spec: httpGet: path: / port: 8080 - initialDelaySeconds: 4 + initialDelaySeconds: 3 periodSeconds: 3 --- apiVersion: v1