-
Notifications
You must be signed in to change notification settings - Fork 19
chore!: add supported configurations #281
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
Closed
Closed
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7f540b3
chore: add supported configurations
BridgeAR 66a1481
fixup!
BridgeAR e9e2617
fixup! trigger workflows
BridgeAR e994b4d
fixup! add cancel and do not trigger for releases
BridgeAR 453368b
fixup!
BridgeAR 2bc6ca3
fixup! skip regular pipeline
BridgeAR 95189ca
fixup!
BridgeAR 3ed7d55
fixup! address comments
BridgeAR 08d7a07
ci: change supported-configurations CI implementation (#283)
genesor 75f564e
fixup! do not log, instead just bail instrumentation
BridgeAR c232c35
fixup!
BridgeAR 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,4 +11,5 @@ MODULE.bazel.lock | |
| .vscode | ||
| .cache/ | ||
| .cursor/ | ||
| .DS_Store | ||
| .DS_Store | ||
| bin/.supported-configurations | ||
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 |
|---|---|---|
| @@ -1,5 +1,34 @@ | ||
| stages: | ||
| - shared-pipeline | ||
| - benchmarks | ||
| - benchmarks-report | ||
|
|
||
| include: ".gitlab/benchmarks.yml" | ||
| variables: | ||
| SKIP_SHARED_PIPELINE: "true" | ||
|
|
||
| workflow: | ||
| auto_cancel: | ||
| on_new_commit: interruptible | ||
| rules: | ||
| - if: $CI_COMMIT_TAG =~ /^v?[0-9]+\.[0-9]+\.[0-9]+$/ | ||
| variables: | ||
| DANGEROUSLY_SKIP_SHARED_PIPELINE_TESTS: "true" | ||
| - when: always | ||
|
|
||
| validate_supported_configurations_v2_local_file: | ||
| extends: .validate_supported_configurations_v2_local_file | ||
| variables: | ||
| LOCAL_JSON_PATH: "metadata/supported-configurations.json" | ||
| BACKFILLED: "false" | ||
|
|
||
| update_central_configurations_version_range_v2: | ||
| extends: .update_central_configurations_version_range_v2 | ||
| variables: | ||
| LOCAL_REPO_NAME: "dd-trace-cpp" | ||
| LOCAL_JSON_PATH: "metadata/supported-configurations.json" | ||
| LANGUAGE_NAME: "cpp" | ||
| MULTIPLE_RELEASE_LINES: "false" | ||
|
|
||
| include: | ||
| - local: ".gitlab/one-pipeline.locked.yml" | ||
| - local: ".gitlab/benchmarks.yml" |
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,3 @@ | ||
| # This file should be auto-generated soon. | ||
| include: | ||
| - remote: https://gitlab-templates.ddbuild.io/libdatadog/one-pipeline/ca/fbfa24e9dd887ed24ce65e71f2e41562c809f40cfc26489705b32406de7e096f/one-pipeline.yml |
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,6 @@ | ||
| #!/bin/sh | ||
|
|
||
| set -eu | ||
|
|
||
| SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) | ||
| exec "$SCRIPT_DIR/supported-configurations" check |
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,6 @@ | ||
| #!/bin/sh | ||
|
|
||
| set -eu | ||
|
|
||
| SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) | ||
| exec "$SCRIPT_DIR/supported-configurations" generate |
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,19 @@ | ||
| #!/bin/sh | ||
|
|
||
| set -eu | ||
|
|
||
| SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) | ||
| REPO_ROOT=$(cd "$SCRIPT_DIR/.." && pwd) | ||
| SOURCE="$SCRIPT_DIR/supported-configurations.cpp" | ||
| BINARY="$SCRIPT_DIR/.supported-configurations" | ||
|
|
||
| compiler=${CXX:-c++} | ||
|
|
||
| ( | ||
| # `CXX` may contain wrappers/flags (e.g. "ccache c++"). | ||
| # shellcheck disable=SC2086 | ||
| set -- $compiler | ||
| "$@" -std=c++17 -O2 -I"$REPO_ROOT/src/datadog" "$SOURCE" -o "$BINARY" | ||
| ) | ||
|
|
||
| exec "$BINARY" "$@" |
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.