Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/actions/hps_services/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,19 @@ runs:
working-directory: ./docker-compose-artifact

- name: Wait for services
env:
PROFILE: ${{ inputs.profile }}
shell: bash
run: |
# retry each service max 20 times
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/jms/api/v1
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/fs/api/v1
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/rms/api/v1
if [ "$PROFILE" = "backend" ]; then
wget --retry-connrefused --retry-on-http-error=503,404,502 --no-check-certificate -t 20 -O- https://localhost:8443/hps/dt/api/v1
else
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/jms/api/v1
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/fs/api/v1
wget --retry-connrefused --retry-on-http-error=503,404 --no-check-certificate -t 20 -O- https://localhost:8443/hps/rms/api/v1
fi


- name: Set outputs
id: set-outputs
Expand Down
Loading