Skip to content

feat(ci): allow RC bundle to pin IMAGE_TAG to the git tag#4930

Merged
bobbai00 merged 1 commit into
apache:mainfrom
bobbai00:fix/rc-image-tag-option
May 4, 2026
Merged

feat(ci): allow RC bundle to pin IMAGE_TAG to the git tag#4930
bobbai00 merged 1 commit into
apache:mainfrom
bobbai00:fix/rc-image-tag-option

Conversation

@bobbai00
Copy link
Copy Markdown
Contributor

@bobbai00 bobbai00 commented May 4, 2026

What changes were proposed in this PR?

Add a boolean workflow_dispatch input use_tag_as_image_tag (default false) to .github/workflows/create-release-candidate.yml. When true, the bundled docker-compose .env pins IMAGE_TAG to the input git tag with the leading v stripped (e.g. v1.1.0-incubating-rc71.1.0-incubating-rc7); when false, the current 9-char commit-hash behavior is preserved.

Any related issues, documentation, discussions?

Closes #4929.

How was this PR tested?

Workflow-only change. Verified shell logic locally:

  • TAG_NAME=v1.1.0-incubating-rc7; echo "${TAG_NAME#v}"1.1.0-incubating-rc7.
  • Default path still emits IMAGE_TAG=<commit_short>. Will be exercised end-to-end on the next RC run.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7)

Add a boolean workflow_dispatch input use_tag_as_image_tag (default
false). When true, the bundled docker-compose .env pins IMAGE_TAG to
the input git tag with the leading "v" stripped; otherwise it keeps
the current 9-char commit-hash behavior.

Closes apache#4929
@github-actions github-actions Bot added fix ci changes related to CI labels May 4, 2026
@bobbai00 bobbai00 added the release/v1.1.0-incubating back porting to release/v1.1.0-incubating label May 4, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.10%. Comparing base (ea6607e) to head (5fbf6f6).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4930      +/-   ##
============================================
+ Coverage     42.15%   43.10%   +0.95%     
- Complexity     2179     2246      +67     
============================================
  Files           980     1011      +31     
  Lines         36298    40555    +4257     
  Branches       3783     4685     +902     
============================================
+ Hits          15303    17483    +2180     
- Misses        20066    21800    +1734     
- Partials        929     1272     +343     
Flag Coverage Δ
access-control-service 36.36% <ø> (-3.18%) ⬇️
agent-service 33.49% <ø> (-0.24%) ⬇️
amber 43.29% <ø> (+0.17%) ⬆️
computing-unit-managing-service 0.00% <ø> (ø)
config-service 0.00% <ø> (ø)
file-service 32.40% <ø> (-0.85%) ⬇️
frontend 34.62% <ø> (+4.09%) ⬆️
python 87.42% <ø> (+<0.01%) ⬆️
workflow-compiling-service 47.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@bobbai00 bobbai00 requested a review from aglinxinyuan May 4, 2026 19:00
@bobbai00 bobbai00 merged commit c533305 into apache:main May 4, 2026
45 of 60 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Backport to release/v1.1.0-incubating succeeded as a03c383. Run

Yicong-Huang pushed a commit that referenced this pull request May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci changes related to CI fix release/v1.1.0-incubating back porting to release/v1.1.0-incubating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create-release-candidate: option to pin IMAGE_TAG to the git tag

3 participants