Skip to content

Commit

Permalink
Replace direct catadog usage with catadog Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Sep 23, 2024
1 parent cfdf240 commit b134578
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/vaccine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,16 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- run: bundle install
- run: bundle install
# Prepare mock server 'catadog', https://github.com/DataDog/catadog
- uses: actions/checkout@v4
with:
repository: datadog/catadog
ref: tonycthsu/daemon
path: catadog
- run: mkdir $GITHUB_WORKSPACE/records
- run: |
cd catadog
bundle install
bundle exec catadog -h 0.0.0.0 --mock :Sink --no-forward --daemon --record $GITHUB_WORKSPACE/records
- run:
docker run --rm -d \
--name catadog \
-v catadog:/records \
-p 8128:8128 \
ghcr.io/datadog/catadog:latest \
--mock :Sink --no-forward
- run: curl -I http://localhost:8128/catadog

# Prepare vaccine
Expand Down

0 comments on commit b134578

Please sign in to comment.