Skip to content

APP-6884 - Add-auto-promote-stages - #103

Open
danielreJfrog wants to merge 2 commits into
jfrog:mainfrom
danielreJfrog:APP-6884-add-auto-promote-stages
Open

danielreJfrog wants to merge 2 commits into
jfrog:mainfrom
danielreJfrog:APP-6884-add-auto-promote-stages

Conversation

@danielreJfrog

Copy link
Copy Markdown
Contributor

Summary

  • Add --auto-promote-stages to app-create and app-update so CLI can set ordered lifecycle stages on create/update.
  • Empty --auto-promote-stages on update sends [] to turn auto-promotion off; omitting the flag leaves current stages unchanged.
  • Cover flags, spec JSON, table output ordering, and e2e create/update/clear paths.

Test plan

  • go test ./... and go vet ./...
  • jf apptrust app-create my-app --project=default --auto-promote-stages="DEV;PROD"
  • jf apptrust app-update my-app --auto-promote-stages="DEV;PROD" then --auto-promote-stages=""
  • Create from --spec with auto_promote_stages
  • Confirm --spec cannot be combined with --auto-promote-stages

Made with Cursor

@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Sep 16, 2026
@github-actions github-actions Bot removed the safe to test Approve running end-to-end tests on a pull request label Sep 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

64 tests  ±0   57 ✅ ±0   5m 24s ⏱️ -1s
 2 suites ±0    7 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 64e25b7. ± Comparison against base commit 4b31e48.

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.

2 participants