From 8684b1b582e181c95dd1158917704911d175a50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lassi=20P=C3=B6l=C3=B6nen?= Date: Fri, 9 Dec 2022 16:37:53 +0200 Subject: [PATCH] Reduce the storage-broker deployment timeout to 5 minutes. 15 minutes is (#3047) 15 minutes is way too long, at least at this point and we want to see the possible errors quicker. Hence drop it to 5min to have some safety margin. --- .github/workflows/build_and_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 49187ab64a..f568b7c4fd 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -927,7 +927,7 @@ jobs: - name: Deploy storage-broker run: DOCKER_TAG=${{ needs.tag.outputs.build-tag }} - helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace ${{ matrix.storage_broker_ns }} --create-namespace --install -f .github/helm-values/${{ matrix.storage_broker_config }}.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 15m0s + helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace ${{ matrix.storage_broker_ns }} --create-namespace --install --atomic -f .github/helm-values/${{ matrix.storage_broker_config }}.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 5m0s deploy-proxy-new: runs-on: [ self-hosted, dev, x64 ] @@ -1013,7 +1013,7 @@ jobs: - name: Deploy storage-broker run: DOCKER_TAG=${{ needs.tag.outputs.build-tag }} - helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace neon-storage-broker --create-namespace --install -f .github/helm-values/${{ matrix.target_cluster }}.neon-storage-broker.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 15m0s + helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace neon-storage-broker --create-namespace --install --atomic -f .github/helm-values/${{ matrix.target_cluster }}.neon-storage-broker.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 5m0s deploy-proxy-prod-new: runs-on: prod @@ -1091,7 +1091,7 @@ jobs: - name: Deploy storage-broker run: DOCKER_TAG=${{ needs.tag.outputs.build-tag }} - helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace neon-storage-broker --create-namespace --install -f .github/helm-values/${{ matrix.target_cluster }}.neon-storage-broker.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 15m0s + helm upgrade neon-storage-broker neondatabase/neon-storage-broker --namespace neon-storage-broker --create-namespace --install --atomic -f .github/helm-values/${{ matrix.target_cluster }}.neon-storage-broker.yaml --set image.tag=${DOCKER_TAG} --wait --timeout 5m0s promote-compatibility-data: runs-on: [ self-hosted, dev, x64 ]