CI: add smoke test for command validation#84
Merged
tuhaihe merged 3 commits intoapache:mainfrom Apr 9, 2026
Merged
Conversation
1a012ee to
4f92a51
Compare
woblerr
reviewed
Apr 9, 2026
leborchuk
approved these changes
Apr 9, 2026
leborchuk
left a comment
There was a problem hiding this comment.
Compared it with the generated package contents:
apache-cloudberry-backup-incubating-2.1.0-linux-amd64/bin/gpbackman
apache-cloudberry-backup-incubating-2.1.0-linux-amd64/bin/gpbackup_helper
apache-cloudberry-backup-incubating-2.1.0-linux-amd64/bin/gpbackup_s3_plugin
apache-cloudberry-backup-incubating-2.1.0-linux-amd64/bin/gprestore
apache-cloudberry-backup-incubating-2.1.0-linux-amd64/bin/gpbackup
All binaries in a place. Also manually checked if version and help works. Everything is Ok, print --version is good for smoke test
Add smoke tests to verify all cloudberry-backup commands (gpbackup, gprestore, gpbackup_helper, gpbackup_s3_plugin, gpbackman) can be built and executed with --version and --help flags. - build_and_unit_test.yml: Test from GOPATH/bin after build - cloudberry-backup-ci.yml: Test from GPHOME/bin after install This provides fast feedback on basic functionality before running more expensive integration tests.
10ef2e0 to
05f3901
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add smoke test to verify all cloudberry-backup commands (gpbackup, gprestore, gpbackup_helper, gpbackup_s3_plugin, gpbackman) can be built, installed to GPHOME, and executed with --version and --help flags.
This provides fast feedback on basic functionality before running more expensive integration tests.
closes: #ISSUE_Number
Change logs
Contributor's checklist
Here are some reminders before you submit your pull request: