mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
Use kubectl-wait action (#4437)
This commit is contained in:
parent
c8850bcd13
commit
651212da62
20
.github/actions/deploy-local-acs/action.yml
vendored
20
.github/actions/deploy-local-acs/action.yml
vendored
@ -39,7 +39,6 @@ runs:
|
|||||||
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@v8.4.0
|
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@v8.4.0
|
||||||
with:
|
with:
|
||||||
ingress-nginx-ref: controller-v1.8.2
|
ingress-nginx-ref: controller-v1.8.2
|
||||||
metrics: "true"
|
|
||||||
|
|
||||||
- name: Set nginx ingress config
|
- name: Set nginx ingress config
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -78,20 +77,5 @@ runs:
|
|||||||
--values acs-deployment/test/enterprise-integration-test-values.yaml
|
--values acs-deployment/test/enterprise-integration-test-values.yaml
|
||||||
--values .github/acs-deployment-values-override.yaml
|
--values .github/acs-deployment-values-override.yaml
|
||||||
|
|
||||||
- name: Watch Helm deployment
|
- name: Wait for pods to be ready
|
||||||
shell: bash
|
uses: Alfresco/alfresco-build-tools/.github/actions/kubectl-wait@v8.15.0
|
||||||
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
|
|
||||||
|
9
.github/dependabot.yml
vendored
9
.github/dependabot.yml
vendored
@ -61,3 +61,12 @@ updates:
|
|||||||
github-actions:
|
github-actions:
|
||||||
patterns:
|
patterns:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/.github/actions/deploy-local-acs"
|
||||||
|
schedule:
|
||||||
|
interval: "monthly"
|
||||||
|
groups:
|
||||||
|
github-actions:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user