Skip to content

Commit

Permalink
spit status after hpa checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Oct 3, 2024
1 parent 11cd687 commit a9250b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/helm-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ jobs:
kubectl events --for deployment/acs-alfresco-repository
- name: Check HPA behavior during tests
id: hpa_check
if: always() && (matrix.values == 'values.yaml' || matrix.values == 'pre-release_values.yaml') && steps.helm_test.outcome != 'skipped'
run: |
echo "Checking current repo hpa status"
Expand All @@ -210,3 +211,10 @@ jobs:
kubectl wait --timeout=2m --for=jsonpath='spec.replicas'=1 deployment/acs-alfresco-repository
echo "Scale down completed"
fi
- name: Spit cluster status after HPA check
if: always() && steps.hpa_check.outcome != 'skipped'
run: |
kubectl get all --all-namespaces
kubectl describe pod
kubectl events --for deployment/acs-alfresco-repository

0 comments on commit a9250b5

Please sign in to comment.