Skip to content

ci: add manual build of legacy-docs image for legacydocs.stellar.org - #2935

Merged
ElliotFriend merged 2 commits into
mainfrom
ops-5020-legacy-docs-image
Oct 21, 2026
Merged

ElliotFriend merged 2 commits into
mainfrom
ops-5020-legacy-docs-image

Conversation

@Jonathan-Eid

Copy link
Copy Markdown
Contributor

What

Adds build-and-push-legacy.yml, a manual (workflow_dispatch) workflow that builds the frozen legacy-docs branch and pushes it to prd/stellar-docs-legacy:<short sha>. That image will be served at https://legacydocs.stellar.org as the archive of the Docusaurus site. Part of stellar/ops#5020.

  • Runs from main (the job is gated on refs/heads/main, same as build-and-push.yml) so it can use the existing ECR push role, then checks out legacy-docs with full history.
  • Pushes only to prd/stellar-docs-legacy. It never pushes to prd/stellar-docs, which the developers-prd image updater deploys with newest-build, or to dev/stellar-docs:latest (PR previews).
  • Posts success/failure to #docs-builds, same as the main build.

Usage

After merge:

gh workflow run build-and-push-legacy.yml --ref main -R stellar/stellar-docs

The branch is frozen, so this should only need to run once. The workflow can be removed after the Mintlify cutover, or when the archive is retired.

🤖 Generated with Claude Code

@Jonathan-Eid
Jonathan-Eid requested a lite review from Copilot October 21, 2026 15:02
@github-actions github-actions Bot added the preview Preview builds for PRs by SDF employees. label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Copilot AI 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.

🟡 Changes recommended

Disable checkout credential persistence before building branch-controlled code.

1 open issue
What changed in this PR

Adds a manually triggered workflow to build the frozen legacy-docs branch and push its image to the dedicated legacy ECR repository.

Changes:

  • Checks out legacy-docs with full history.
  • Builds and pushes prd/stellar-docs-legacy:<short-sha>.
  • Sends Slack success/failure notifications.
File Summary
.github/​workflows/​build-and-push-legacy.yml Adds the legacy image build workflow; checkout credentials must not persist into the Docker build context.

Review effort: Lite

@github-actions github-actions Bot added preview Preview builds for PRs by SDF employees. and removed preview Preview builds for PRs by SDF employees. labels Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@ElliotFriend ElliotFriend 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.

looks fine to me! just wanted to make sure this if check is right

@ElliotFriend
ElliotFriend merged commit 17f2d69 into main Oct 21, 2026
9 checks passed
@ElliotFriend
ElliotFriend deleted the ops-5020-legacy-docs-image branch October 21, 2026 17:49
@github-actions github-actions Bot removed the preview Preview builds for PRs by SDF employees. label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Preview: torn down

ElliotFriend added a commit that referenced this pull request Oct 22, 2026
* Point Confidential Token resources to OpenZeppelin's stable release (#2915)

* Fix broken Confidential Token repo link on Privacy page

OpenZeppelin deleted the feat/confidential-verifier-ultrahonk branch.
The code now lives in packages/confidential on main.

- Link the package, the deployment guide and examples, and the design overview.
- Mark the demo as a developer preview. It still targets the old branch.
- Point to the stellar-contracts library for the Stellar implementation.

Refs #2914

* Point Confidential Token resources to OpenZeppelin's stable release

OpenZeppelin released the confidential token in stellar-contracts v0.8.0.

- Pin the Privacy page links to v0.8.0. Add crates.io, release notes, and the OpenZeppelin docs page.
- Replace the developer-preview caution. The v0.8.0 audit covers the token, but proofs are not yet zero-knowledge.
- Add a Confidential Token entry to the OpenZeppelin page and add confidential/ to the repository tree.
- Remove "Coming Soon". Governor shipped in v0.7.0, so it moves to Utilities.

Refs #2914

* Pin the stellar-confidential crates.io link to 0.8.0

* Describe the Confidential Token as a wrapper around a SEP-41 token

The v0.8.0 interface exposes confidential_balance and confidential_transfer, not the SEP-41 balance and transfer methods.

(cherry picked from commit fc4b3c9)

* pr-preview: allow maintainer-approved previews for bot PRs (#2923)

Members can apply the preview-approved label to build a preview for a
PR opened by the stellar-triage-bot App. Needs stellar/actions#119.
Refs stellar/ops#4953.

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit a55db9e)

* Stellar-rpc: Document the queryEvents beta RPC method (#2922)

queryEvents is only served by the archive RPC node (stellar-rpc tag archive-node-beta). Keep it out of the main OpenRPC spec.

Also drop the deprecated inSuccessfulContractCall field from the shared Event schema.

(cherry picked from commit 8255fe9)

* ci: add manual build of legacy-docs image for legacydocs.stellar.org (#2935)

* ci: add manual build of legacy-docs image for legacydocs.stellar.org

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: don't persist checkout credentials into the legacy docs build context

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 17f2d69)

* chore: reword the legacy docs banner

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs: point the legacy README at main's last Docusaurus commit

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Kaan Kacar <[email protected]>
Co-authored-by: Jonathan Eid <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: urvisavla <[email protected]>
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.

3 participants