-
Notifications
You must be signed in to change notification settings - Fork 2.9k
cirrus: minor cleanup and refactoring #3217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cirrus: minor cleanup and refactoring #3217
Conversation
cevich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one big-picture concern, if not fixed here, something that should be done in another PR. I do not see any end to growth in the number of testing-permutations - A likely next one will be STORAGE_DRIVER related. Something to consider, and I'm interested in your thoughts on fixing it.
Yeah, we've been needing some change in this area for a while. It's okay, code-conflicts just mean we should clunk our heads together until a more holistic solution presents. The current design has most flows running through As you noticed before from my comments, I'm a bit torn between the different approaches, I like both separate/simple scripts and Perhaps if we all "tat and sinkt bout it" together, with a drawring of our matrix, that would help? |
|
☔ The latest upstream changes (presumably #3236) made this pull request unmergeable. Please resolve the merge conflicts. |
...with the goal of (very soon) reusing this code, in containers#2947, to run system tests in CI. This is the cleanest way I can think of to do so without duplication or a large maintenance burden. Changes are: - replace references to 'ginkgo' with 'integration'. That target is already in Makefile, and is not only more readable, it's also more abstract. There is no reason for this level of code to know about ginkgo. - allow rootless_test.sh to accept an argument, that being the name of the test suite to run (default: integration). containers#2947 will enable 'system'. - allow integration_test.sh to serve multiple purposes, by checking its filename. containers#2947 will add a symlink, system_test.sh, which will then cascade down to invoke system tests. Signed-off-by: Ed Santiago <santiago@redhat.com>
e5f9bfc to
a47bb4d
Compare
|
Rebased |
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude, edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
...with the goal of (very soon) reusing this code, in #2947,
to run system tests in CI. This is the cleanest way I can
think of to do so without duplication or a large maintenance
burden.
Changes are:
target is already in Makefile, and is not only more
readable, it's also more abstract. There is no reason
for this level of code to know about ginkgo.
should not be treated as an actual test-defining
argument option.
that being the name of the test suite to run
(default: integration). run BATS tests in Cirrus #2947 will enable 'system'.
by checking its filename. run BATS tests in Cirrus #2947 will add a symlink,
system_test.sh, which will then cascade down to
invoke system tests.
Signed-off-by: Ed Santiago santiago@redhat.com