Skip to content

Commit

Permalink
Merge pull request #3822 from DataDog/tonycthsu/vaccine
Browse files Browse the repository at this point in the history
Add vaccine job for injection artifacts
  • Loading branch information
TonyCTHsu authored Aug 2, 2024
2 parents acd9271 + 9b0f3b7 commit d3125b9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ stages:
- manual-images
- package
- shared-pipeline
- vaccine
- macrobenchmarks
- microbenchmarks
- benchmarks
Expand Down Expand Up @@ -139,3 +140,17 @@ save_versions:
deploy_to_reliability_env:
needs:
- save_versions

vaccine:
image: $DOCKER_REGISTRY/docker:20.10.13
tags: [ "arch:amd64" ]
stage: vaccine
needs: [create-multiarch-lib-injection-image]
script: |
GH_VACCINE_PAT=$(vault kv get -field=vaccine-token kv/k8s/gitlab-runner/dd-trace-rb/github-token)
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $GH_VACCINE_PAT" \
https://api.github.com/repos/TonyCTHsu/vaccine/actions/workflows/vaccine.yml/dispatches \
-d '{"ref":"master", "inputs": {"commit_sha": "'$CI_COMMIT_SHA'"}}'

0 comments on commit d3125b9

Please sign in to comment.