Skip to content

chore(ci): use dd-sts for system-tests test optimization#788

Open
nccatoni wants to merge 9 commits intomainfrom
nccatoni/system-tests-dd-sts
Open

chore(ci): use dd-sts for system-tests test optimization#788
nccatoni wants to merge 9 commits intomainfrom
nccatoni/system-tests-dd-sts

Conversation

@nccatoni
Copy link
Copy Markdown
Collaborator

@nccatoni nccatoni commented Apr 9, 2026

Summary

Migrates system-tests CI to use dd-sts for Datadog Test Optimization instead of long-lived API keys.

All repositories now share a single system-tests policy (see dd-source#408172) — no per-repo policy is needed.

Depends on DataDog/system-tests#6726.

Changes

  • Add id-token: write permission to the system-tests reusable workflow call so it can obtain short-lived credentials via OIDC
  • Pin system-tests to 1e5d6b709 (current main, pre-migration) to allow a controlled rollout: repos stay on the pre-migration workflow until their pin is explicitly updated to the post-merge SHA

How to review

The only functional change is adding id-token: write. It has no effect at the pinned SHA (dd-sts is not yet used there) but will be required once each repo's pin is updated after DataDog/system-tests#6726 merges.

@nccatoni nccatoni force-pushed the nccatoni/system-tests-dd-sts branch from 6de8d37 to 49fa916 Compare April 9, 2026 14:45
@nccatoni nccatoni marked this pull request as ready for review April 13, 2026 15:49
@nccatoni nccatoni requested review from a team as code owners April 13, 2026 15:49
@nccatoni nccatoni requested a review from lym953 April 13, 2026 15:49
Copy link
Copy Markdown
Contributor

@rithikanarayan rithikanarayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Will there be a follow up PR to update the SHA once the other PR mentioned is merged?

@nccatoni
Copy link
Copy Markdown
Collaborator Author

@rithikanarayan Yes there will be another PR to go back to the ref that was previously used (here main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants