-
Notifications
You must be signed in to change notification settings - Fork 21
ci: add manual job to trigger dd-trace-py downstream pipeline #2131
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Manual trigger for the dd-trace-py downstream pipeline. | ||
| # This lets a maintainer test the current libdatadog commit against dd-trace-py | ||
| # on demand from the GitLab pipeline UI. | ||
|
|
||
| trigger_dd_trace_py: | ||
| variables: | ||
| LIBDATADOG_COMMIT_BRANCH: $CI_COMMIT_BRANCH | ||
| LIBDATADOG_COMMIT_SHA: $CI_COMMIT_SHA | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When this manual bridge is launched from a feature or MR pipeline, this SHA is only passed as metadata: the referenced dd-trace-py branch's Useful? React with 👍 / 👎. |
||
| LIBDATADOG_SHORT_COMMIT_SHA: ${CI_COMMIT_SHORT_SHA} | ||
| LIBDATADOG_COMMIT_TAG: $CI_COMMIT_TAG | ||
| UPDATE_LIBDATADOG_VERSION: "true" | ||
| rules: | ||
| # Run automatically on every push to the default branch. | ||
| - if: '$CI_COMMIT_BRANCH == "main"' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't actually run on every commit to the main branch, because the job on dd-trace-py is configured to skip every X commits, correct? If it is, maybe we should mention it here, to not scare people into thinking we'll be running the downstream pipeline and benchmarks of multiple tracers in the future on every commit to main 😰 |
||
| when: on_success | ||
| allow_failure: true | ||
| # Otherwise allow a maintainer to trigger it manually from the pipeline UI. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this correspond to adding a label to the PR? Or what does "pipeline UI" refers to here? |
||
| - when: manual | ||
| allow_failure: true | ||
| trigger: | ||
| project: DataDog/apm-reliability/dd-trace-py | ||
| strategy: depend | ||
| branch: $DD_TRACE_PY_BRANCH | ||
Uh oh!
There was an error while loading. Please reload this page.