Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumar-vs committed May 1, 2024
1 parent 635bf0e commit a124758
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/runner-integration-cli-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,7 @@ jobs:
--volumes-from pmm-server-data --name pmm-server --restart always ${{ env.PMM_SERVER_IMAGE }}
- name: Wait for PMM Server to start
run: |
wait-for-url() {
echo "Testing $1"
timeout -s TERM 240 bash -c \
'while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' ${0})" != "200" ]];\
do echo "Waiting for ${0}" && sleep 2;\
done' ${1}
echo "OK!"
if curl -I $1; then
echo "PMM Server is ready"
else
echo "PMM Server is not ready"
fi
}
wait-for-url https://127.0.0.1/v1/readyz
run: sleep 20

- name: 'Setup PMM Client: <${{ env.PMM_CLIENT_VERSION }}>'
working-directory: qa-integration/pmm_qa
Expand Down

0 comments on commit a124758

Please sign in to comment.