Skip to content

ci: Replace long-lived creds with OIDC - #9130

Merged
germangarces merged 1 commit into
mainfrom
ci/replace-with-oidc
Nov 26, 2026
Merged

germangarces merged 1 commit into
mainfrom
ci/replace-with-oidc

Conversation

@germangarces

Copy link
Copy Markdown
Member

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Long-lived credentials are less secure than OIDC access.

  • Replace the login steps that were using access keys with the role to assume.

How did you test this code?

It will be tested with a deployment to the staging environment.

Signed-off-by: germangarces <german.garces@flagsmith.com>
@germangarces
germangarces requested a review from a team as a code owner November 26, 2026 15:14
@germangarces
germangarces requested review from khvn26 and removed request for a team November 26, 2026 15:14
@vercel

vercel Bot commented Nov 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated
docs Ignored Ignored Nov 26, 2026 3:14pm UTC
flagsmith-frontend-preview Ignored Ignored Nov 26, 2026 3:14pm UTC
flagsmith-frontend-staging Ignored Ignored Nov 26, 2026 3:14pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-9130 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-9130 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-9130 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith:pr-9130 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-private-cloud:pr-9130 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-frontend:pr-9130 Finished ✅ Results ✅

@github-actions github-actions Bot added the ci-cd Build, test and deployment related label Nov 26, 2026

@matthewelwell matthewelwell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

❤️

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: CI deploy auth switches from long-lived AWS access keys to OIDC role assumption across ECS workflows/actions. Requires human sign-off because OIDC trust/role setup, variable wiring, and job-level id-token permissions are not fully verifiable from the diff.

Turn on auto-fix | Re-trigger cubic

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.93%. Comparing base (d42d4a3) to head (c87e721).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9130      +/-   ##
==========================================
+ Coverage   98.07%   98.93%   +0.85%     
==========================================
  Files        1716     1716              
  Lines       72803    72808       +5     
==========================================
+ Hits        71402    72031     +629     
+ Misses       1401      777     -624     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23852 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  1 minute, 4 seconds
commit  c87e721
info  🔄 Run: #23852 (attempt 1)

🗂️ Previous results
✅ private-cloud · depot-ubuntu-latest-16 — run #23852 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  57.3 seconds
commit  c87e721
info  🔄 Run: #23852 (attempt 1)

✅ oss · depot-ubuntu-latest-arm-16 — run #23852 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  34.8 seconds
commit  c87e721
info  🔄 Run: #23852 (attempt 1)

✅ oss · depot-ubuntu-latest-16 — run #23852 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  31.3 seconds
commit  c87e721
info  🔄 Run: #23852 (attempt 1)

@github-actions

Copy link
Copy Markdown
Contributor

Visual Regression

29 screenshots compared. See report for details.
View full report

@germangarces
germangarces merged commit cd4a9b0 into main Nov 26, 2026
48 of 50 checks passed
@germangarces
germangarces deleted the ci/replace-with-oidc branch November 26, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd Build, test and deployment related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants