Skip to content

JGC-492 - Add e2e test for release bundle --format flag - #3546

Merged
ehl-jf merged 3 commits into
masterfrom
JGC-492-format-flag-e2e
Jun 17, 2026
Merged

ehl-jf merged 3 commits into
masterfrom
JGC-492-format-flag-e2e

Conversation

@ehl-jf

@ehl-jf ehl-jf commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds end-to-end coverage for the --format flag on the lifecycle Release Bundle V2 commands, introduced in jfrog-cli-artifactory#488 (now merged).

TestReleaseBundleFormatFlag (in lifecycle_test.go) verifies:

  • release-bundle-create --format=json emits a JSON confirmation object (release_bundle_name, release_bundle_version, status: "created").
  • release-bundle-promote --format=table renders a summary table containing the expected title and headers (Promotion Result, BUNDLE NAME, ENVIRONMENT) and the environment value. The assertions target stable, non-wrapping content to avoid column-wrap flakiness.

The release-bundle-promote --format=json (default) path is already covered by the existing promoteRb helper.

Dependency bump

Bumps github.com/jfrog/jfrog-cli-artifactory to the merged-master commit that contains the --format feature (v0.8.1-0.20260617065038-e7be947840da). The temporary replace directive that pointed at the feature branch during review has been removed.


  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

@ehl-jf ehl-jf added ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request labels Jun 15, 2026
@ehl-jf ehl-jf added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Jun 15, 2026
@ehl-jf
ehl-jf deployed to frogbot June 17, 2026 07:17 — with GitHub Actions Active
@ehl-jf ehl-jf added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Jun 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@ehl-jf
ehl-jf merged commit 77c81c1 into master Jun 17, 2026
93 checks passed
@ehl-jf
ehl-jf deleted the JGC-492-format-flag-e2e branch June 17, 2026 07:47

This branch was successfully deployed

1 active deployment
frogbot — 40bc970d Deployed Jun 17, 2026 by ehl-jf via scan-pull-request #4445
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants