From 651212da6205d74be4f42b622982e4581aa7d772 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Thu, 6 Mar 2025 14:22:08 +0100 Subject: [PATCH] Use kubectl-wait action (#4437) --- .github/actions/deploy-local-acs/action.yml | 20 ++------------------ .github/dependabot.yml | 9 +++++++++ 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.github/actions/deploy-local-acs/action.yml b/.github/actions/deploy-local-acs/action.yml index 32fe75f5d..93c971604 100644 --- a/.github/actions/deploy-local-acs/action.yml +++ b/.github/actions/deploy-local-acs/action.yml @@ -39,7 +39,6 @@ runs: uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@v8.4.0 with: ingress-nginx-ref: controller-v1.8.2 - metrics: "true" - name: Set nginx ingress config shell: bash @@ -78,20 +77,5 @@ runs: --values acs-deployment/test/enterprise-integration-test-values.yaml --values .github/acs-deployment-values-override.yaml - - name: Watch Helm deployment - shell: bash - run: | - kubectl get pods --watch & - KWPID=$! - kubectl wait --timeout=7m --all=true --for=condition=Available deploy && kill $KWPID - echo -n "Waiting for ESC Reindexing job to complete... " - kubectl wait --timeout=5m --for=condition=complete job/acs-alfresco-search-enterprise-reindexing - echo "Completed." - - - name: Spit cluster status after install - if: always() - shell: bash - run: | - helm ls --all-namespaces --all - helm status acs --show-resources - kubectl describe pod + - name: Wait for pods to be ready + uses: Alfresco/alfresco-build-tools/.github/actions/kubectl-wait@v8.15.0 diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fb77a2de7..5697e56e8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -61,3 +61,12 @@ updates: github-actions: patterns: - "*" + + - package-ecosystem: "github-actions" + directory: "/.github/actions/deploy-local-acs" + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*"