Skip to content

Commit

Permalink
test rendition again
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Mar 18, 2024
1 parent f365b0b commit 8e6f72d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/helm-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,10 @@ jobs:
id: configurable-extra-values
run: |
if [ "${{ matrix.values }}" = "values.yaml" -o "${{ matrix.values }}" = "pre-release_values.yaml" ]; then
echo "Enabling clustered tests"
echo "Enabling clustered tests via auto-scalling: 2 replicas max, 20s stabilization window"
echo "helm_install_params=--set alfresco-repository.autoscaling.enabled=true \
--set alfresco-repository.autoscaling.maxReplicas=2 \
--set alfresco-repository.autoscaling.scaleUp.stabilizationWindowSeconds=20 \
--set dtas.additionalArgs[0]='-k not test_renditions'" >> "$GITHUB_OUTPUT"
--set alfresco-repository.autoscaling.behavior.scaleUp.stabilizationWindowSeconds=20" >> "$GITHUB_OUTPUT"
fi
if [ "${{ matrix.values }}" = "7.0.N_values.yaml" ]; then
echo "Skipping renditions tests on ACS 7.0.N"
Expand Down Expand Up @@ -184,8 +183,10 @@ jobs:
kubectl events --for deployment/acs-alfresco-repository
- name: Check HPA behavior (${{ matrix.values }})
if: matrix.values == 'values.yaml' || matrix.values == 'pre-release_values.yaml'
if: always() && (matrix.values == 'values.yaml' || matrix.values == 'pre-release_values.yaml') && steps.helm_test.outcome != 'skipped'
run: |
echo "Checking current repo hpa status"
kubectl get hpa acs-alfresco-repository
echo -n "Repository should have 2 replicas after Helm test... "
SETSIZE=$(kubectl get deployment/acs-alfresco-repository -o jsonpath='{@.spec.replicas}')
if [ "$SETSIZE" -ne 2 ]; then
Expand Down

0 comments on commit 8e6f72d

Please sign in to comment.