Skip to content

Commit

Permalink
start waiting right before test
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Mar 15, 2024
1 parent 4dd4ae8 commit 2fc796d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/helm-enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ jobs:
fi
- name: Helm install
env:
VALUES_FILE: ${{ matrix.values }}
run: |
helm dep up ./helm/alfresco-content-services &&
helm install acs ./helm/alfresco-content-services \
Expand All @@ -136,9 +134,6 @@ jobs:
kubectl get pods --watch-only &
KWPID=$!
kubectl wait --timeout=7m --all=true --for=condition=Available deploy && kill $KWPID
if [ "${VALUES_FILE:0:2}" != "7." ] ; then echo "Waiting for ESC Reindexing job to complete"
kubectl wait --timeout=4m --for=condition=complete job/acs-alfresco-search-enterprise-reindexing
fi
- name: Spit cluster status after install
if: always()
Expand All @@ -149,12 +144,17 @@ jobs:
- name: Run Newman tests
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v.3.0.0
env:
VALUES_FILE: ${{ matrix.values }}
id: newman
with:
timeout_minutes: 1
timeout_minutes: 5
retry_wait_seconds: 20
max_attempts: 5
command: >-
if [ "${VALUES_FILE:0:2}" != "7." ] ; then echo "Waiting for ESC Reindexing job to complete";
kubectl wait --timeout=5m --for=condition=complete job/acs-alfresco-search-enterprise-reindexing;
fi;
docker run --network=host
-v $(pwd)/test/postman:/etc/postman
-t postman/newman run /etc/postman/helm/acs-test-helm-collection.json
Expand Down
6 changes: 3 additions & 3 deletions test/enterprise-integration-test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ share:
alfresco-search:
resources:
requests:
cpu: "0.01"
cpu: "0.25"
memory: "512Mi"
limits:
cpu: "2"
Expand All @@ -48,7 +48,7 @@ elasticsearch:
alfresco-search-enterprise:
resources:
requests:
cpu: "0.01"
cpu: "0.1"
memory: "128Mi"
limits:
cpu: "1"
Expand Down Expand Up @@ -153,7 +153,7 @@ alfresco-sync-service:
activemq:
resources:
requests:
cpu: "0.01"
cpu: "0.1"
memory: "512Mi"
alfresco-digital-workspace:
resources:
Expand Down

0 comments on commit 2fc796d

Please sign in to comment.