-
Notifications
You must be signed in to change notification settings - Fork 21
ci: exclude release-proposal wfs from green_ci and exclude benchmarks on release* branches #2206
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
Merged
gh-worker-dd-mergequeue-cf854d
merged 5 commits into
main
from
igor/versioning/green_ci
Jul 16, 2026
+46
−2
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2b545d8
Exclude release-proposal wfs from green_ci and exclude benchmars on r…
iunanua 844f427
ci(release): install datadog-ci via pinned checksummed binary
iunanua a4adf20
Merge branch 'main' into igor/versioning/green_ci
iunanua 2b61aa9
exclude release-proposal, release-testing, etc
iunanua 0bdafcf
ci(release): extract Exclude from Green CI step into a shared script
iunanua File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright 2021-Present Datadog, Inc. https://www.datadoghq.com/ | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Tags the current CI pipeline as excluded from Green CI (green_ci.excluded:true). | ||
| # | ||
| # Downloads the pinned, checksum-verified datadog-ci binary instead of `npm install -g`, | ||
| # so no third-party install-time code runs with the Datadog API key in its environment. | ||
| # | ||
| # Requires DATADOG_SITE and DATADOG_API_KEY in the environment. | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| URL="https://github.com/DataDog/datadog-ci/releases/download/v5.21.0/datadog-ci_linux-x64" | ||
| OUTPUT="datadog-ci" | ||
| EXPECTED_CHECKSUM="be4a6473fc451fec967ff277df3856060814b9a54d707d055a9c1542ae2869f0" | ||
|
|
||
| echo "Downloading datadog-ci from $URL" | ||
| curl -L --fail --retry 3 -o "$OUTPUT" "$URL" | ||
| chmod +x "$OUTPUT" | ||
|
|
||
| ACTUAL_CHECKSUM=$(sha256sum "$OUTPUT" | cut -d' ' -f1) | ||
| if [ "$ACTUAL_CHECKSUM" != "$EXPECTED_CHECKSUM" ]; then | ||
| echo "Checksum verification failed! expected=$EXPECTED_CHECKSUM actual=$ACTUAL_CHECKSUM" | ||
| exit 1 | ||
| fi | ||
| echo "Checksum verification passed" | ||
|
|
||
| ./"$OUTPUT" tag --level pipeline --tags green_ci.excluded:true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.