Skip to content

ci: add parser_cli to StageX build matrix#250

Merged
shahan-khatchadourian-anchorage merged 1 commit into
mainfrom
shahankhatch/stagex-parser-cli-rebased
Apr 13, 2026
Merged

ci: add parser_cli to StageX build matrix#250
shahan-khatchadourian-anchorage merged 1 commit into
mainfrom
shahankhatch/stagex-parser-cli-rebased

Conversation

@shahan-khatchadourian-anchorage
Copy link
Copy Markdown
Contributor

Summary

  • Add images/parser_cli/Containerfile for Solana-only CLI build using StageX
  • Add parser_cli target to Makefile and stagex.yml matrix
  • Incorporates PR ci: label-triggered stagex builds and cache/credential fixes #226: stagex PR builds now require the stagex label instead of auto-triggering on path changes; GHCR login moved after build; disable setup-rust-toolchain built-in cache in main.yml

Replaces #232 (rebased). Stacked on #224.

Test plan

  • StageX build passes for parser_cli in CI (add stagex label to trigger)
  • Existing parser_app and parser_gateway builds unaffected
  • Push to main with relevant path changes still triggers the build
  • GHCR push still works on push to main

🤖 Generated with Claude Code

- Add images/parser_cli/Containerfile for Solana-only CLI build
- Add parser_cli target to Makefile and stagex.yml matrix
- stagex.yml: PR builds require `stagex` label instead of
  auto-triggering on path changes; GHCR login moved after build
- main.yml: disable setup-rust-toolchain built-in cache (Cargo.toml
  is in src/, not repo root)

Incorporates PR #226 (now closed).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 11, 2026 03:17
@shahan-khatchadourian-anchorage shahan-khatchadourian-anchorage added the stagex Trigger stagex OCI image build label Apr 11, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new StageX-built container image target for a Solana-only parser_cli and updates CI workflows to align StageX PR build triggering/caching behavior.

Changes:

  • Add parser_cli image build target to the root Makefile and StageX build matrix.
  • Introduce images/parser_cli/Containerfile to build a statically linked Solana-only CLI binary.
  • Adjust CI workflows: StageX PR builds become label-triggered; GHCR login moved post-build; disable setup-rust-toolchain built-in cache.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
Makefile Adds out/parser_cli/index.json build target for the new image.
images/parser_cli/Containerfile New StageX container build for the Solana-only CLI binary.
.github/workflows/stagex.yml Adds parser_cli to matrix; changes PR trigger to label-based; moves GHCR login after build.
.github/workflows/main.yml Disables setup-rust-toolchain built-in cache to avoid incorrect workspace assumptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/stagex.yml
@shahan-khatchadourian-anchorage shahan-khatchadourian-anchorage merged commit 112b822 into main Apr 13, 2026
18 checks passed
@shahan-khatchadourian-anchorage shahan-khatchadourian-anchorage deleted the shahankhatch/stagex-parser-cli-rebased branch April 13, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stagex Trigger stagex OCI image build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants