Skip to content

[CI]: remove RAMPART deploy-key dance now that RAMPART is public - #7

Merged
Nina Chikanov (nina-msft) merged 2 commits into
microsoft:mainfrom
nina-msft:nina-msft/address-issue-3
May 19, 2026
Merged

[CI]: remove RAMPART deploy-key dance now that RAMPART is public#7
Nina Chikanov (nina-msft) merged 2 commits into
microsoft:mainfrom
nina-msft:nina-msft/address-issue-3

Conversation

@nina-msft

@nina-msft Nina Chikanov (nina-msft) commented May 19, 2026

Copy link
Copy Markdown
Contributor

Closes #3.

Summary

microsoft/RAMPART is now public (visibility: public), so cloning it during uv sync no longer needs the SSH deploy key. This PR removes the workflow plumbing for that key.

Changes

  • Removed the Configure SSH for private RAMPART clone step from both the lint and smoke jobs in .github/workflows/ci.yml.
  • Deleted scripts/ci/setup-rampart-ssh.sh (and the now-empty scripts/ci/ and scripts/ directories).

CI will now clone rampart over plain HTTPS, which works because the upstream repo is public.

Still TODO (admin action — not done in this PR)

The third bullet in #3 cannot be addressed from a PR:

  • Delete the RAMPART_REPO_READER repo secret on microsoft/rampart-examples.
  • Delete the matching deploy key on microsoft/RAMPART.

These need a repo admin with access to Settings → Secrets and variables → Actions (here) and Settings → Deploy keys (on RAMPART) respectively.

Verification

  • YAML still parses; both jobs retain a sensible step sequence (checkoutsetup-uvuv sync → checks/tests).
  • grep for RAMPART_REPO_READER, setup-rampart-ssh, and Configure SSH for private across the tree returns no matches.
  • Previously this cleanup was attempted but reverted because uv sync was passing only from the uv cache; with RAMPART now public, the unauthenticated HTTPS clone path is exercised on cache-miss runs too.

microsoft/RAMPART is now public, so cloning it during `uv sync` no
longer needs the SSH deploy key.

- Drop the `Configure SSH for private RAMPART clone` step from both
  the lint and smoke jobs in `.github/workflows/ci.yml`.
- Delete the now-unused `scripts/ci/setup-rampart-ssh.sh` helper.

The `RAMPART_REPO_READER` repo secret and the matching deploy key on
microsoft/RAMPART still need to be deleted manually (requires admin
access this change cannot make).

Closes microsoft#3.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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.

LGTM

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.

let's also remove ci-trusted environment

@nina-msft
Nina Chikanov (nina-msft) merged commit 8537be1 into microsoft:main May 19, 2026
5 of 9 checks passed
@nina-msft
Nina Chikanov (nina-msft) deleted the nina-msft/address-issue-3 branch May 19, 2026 23:13
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.

[CI] Remove RAMPART deploy-key dance once RAMPART is public

3 participants