(ci): Migrate to short-lived token in benchmark-serverless job#7577
(ci): Migrate to short-lived token in benchmark-serverless job#7577rithikanarayan merged 12 commits intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7577 +/- ##
=======================================
Coverage 80.42% 80.43%
=======================================
Files 741 741
Lines 32168 32172 +4
=======================================
+ Hits 25872 25876 +4
Misses 6296 6296 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.96 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.0 | 81.15 kB | 815.98 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2026-03-13 02:09:06 Comparing candidate commit d21bc03 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 228 metrics, 32 unstable metrics. |
This comment has been minimized.
This comment has been minimized.
.gitlab/benchmarks.yml
Outdated
| BTI_RESPONSE=$(curl --silent --request GET \ | ||
| --header "$BTI_CI_API_TOKEN" \ --header "Content-Type: application/vnd.api+json" \ | ||
| "https://bti-ci-api.us1.ddbuild.io/internal/ci/gitlab/token?owner=DataDog&repository=serverless-tools") | ||
| - echo "here" |
* add call to authanywhere * Install authanywhere * get gitlab token using authanywhere * fix curl request * add block folded style * use gitlab token * fix repo in getting token * serverless-tools name * change token repository * remove debug
* add call to authanywhere * Install authanywhere * get gitlab token using authanywhere * fix curl request * add block folded style * use gitlab token * fix repo in getting token * serverless-tools name * change token repository * remove debug
What does this PR do?
Migrates benchmark-serverless job to short-lived token instead of Gitlab personal access token for cloning serverless-tools repo.
Motivation
Recent incident in which CI broke because of expired personal access token.
Additional Notes