Skip to content

Commit

Permalink
automate connection checks
Browse files Browse the repository at this point in the history
  • Loading branch information
zainasir committed Dec 12, 2024
1 parent 4f04525 commit a0b4cd2
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,16 +307,8 @@ jobs:
- run:
name: Wait for cbioportal to be live at localhost
command: |
for i in {1..20}; do
if curl -s http://localhost:8080 > /dev/null; then
echo "cbioportal is live at localhost:8080!"
exit 0
fi
echo "Waiting for cbioportal at localhost:8080 ..."
sleep 5
done
echo "Failed to connect to cbioportal at localhost:8080!"
exit 1
cd cbioportal-test
./utils/check-connection.sh --url=localhost:8080
- run:
name: Confirm cbioportal config matches PR
command: |
Expand Down

0 comments on commit a0b4cd2

Please sign in to comment.