Skip to content

Commit

Permalink
Add curl retry
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Sep 24, 2024
1 parent 8093712 commit e466f0c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/vaccine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ jobs:
- run: bundle install
# Prepare mock server 'catadog', https://github.com/DataDog/catadog
- run: mkdir $GITHUB_WORKSPACE/records
# - run: |
# docker run -d \
# --name catadog \
# -v $GITHUB_WORKSPACE/records:/records \
# -p 8128:8128 \
# ghcr.io/datadog/catadog:latest \
# "-h 0.0.0.0 --mock :Sink --no-forward --record /records"
# - run: curl -I http://localhost:8128/catadog
- run: |
docker run -d \
--name catadog \
-v $GITHUB_WORKSPACE/records:/records \
-p 8128:8128 \
ghcr.io/datadog/catadog:latest \
"-h 0.0.0.0 --mock :Sink --no-forward --record /records"
- run: curl -I --retry 12 -f --retry-all-errors --retry-delay 5 -s http://localhost:8128/catadog

# Prepare vaccine
- name: Prepare vaccine volume
Expand Down

0 comments on commit e466f0c

Please sign in to comment.