New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.github/workflows: integrate v2 CI nightly to run from main #2363
Conversation
91d6494
to
0585d81
Compare
BenchmarksBenchmark execution time: 2023-11-17 14:37:03 Comparing candidate commit 73ea10d in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 39 metrics, 2 unstable metrics. |
| - name: Patch dd-trace-go version | ||
| if: ${{ inputs.branch_ref == 'refs/heads/v2-dev' }} | ||
| run: | | ||
| cd utils/build/docker/golang/app | ||
| find -type f -name '*.go' -exec sed -i 's#gopkg.in/DataDog/dd-trace-go.v1#github.com/DataDog/dd-trace-go/v2#g' {} \; | ||
| echo "replace github.com/DataDog/dd-trace-go/v2 => /home/runner/work/dd-trace-go/dd-trace-go/binaries/dd-trace-go" >> go.mod | ||
| go mod tidy | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer required because we check out the right branch from system-tests already adapted to v2.
| env: | ||
| V2_BRANCH: ${{ inputs.ref == 'refs/heads/v2-dev' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The V2_BRANCH allows to customize the execution from main, but also set it to true in v2-dev once this PR is merged into main. This additional modification will make sure all the derived branches from v2-dev run the right CI tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approval for the appsec workflow change 👍
What does this PR do?
Completes the implementation of nightly CI runs for v2. Builds upon #2348 #2359 #2360.
Motivation
We want to catch any regression during v2 development. Running this nightly will allow to detect them easily.
Reviewer's Checklist
For Datadog employees:
@DataDog/security-design-and-guidance.Unsure? Have a question? Request a review!