-
Notifications
You must be signed in to change notification settings - Fork 564
Misc cleanups #3065
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
Misc cleanups #3065
Conversation
c93f721
to
d07d800
Compare
I'm not sure what's going on with the unit test failures. They're not reproducible locally. |
|
failed locally for me |
d07d800
to
82f9990
Compare
82f9990
to
8cfe058
Compare
I dropped the patch that was causing this for now, in order to keep this morning along. Will re-propose separately once I've worked out the kinks. (fwiw, I think the |
b309e34
to
5941ca9
Compare
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.
I see a problem with the dependabot rename. If you revert that change, I think we can merge the rest of this very nice patch!
5941ca9
to
9989376
Compare
9989376
to
d1a3398
Compare
@pierreprinetti Sorry, missed that there had been a few new tests added so I had another round of |
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is not referenced or documented anywhere and it has not been touched in years. Remove it. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
testhelper is too long give how often these things are used. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Better errors messages since we see the different types. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Make this a little easier to understand failures when they occur. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
We were not passing through user IDs, despite our test wrappers indicating you could user either user IDs or usernames. Similarly, we were not always setting scope, which could cause issues when using a project ID. Correct all issues. We should eventually move this to another test helper but that's a job for a later change. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
We're clearly not testing with non-admin credentials. That would be a good future test but for now we simply fix the issues. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Setting the necessary required environment variables has proven relatively tricky to do. Add a tool that will start doing this for us. Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
d1a3398
to
7580d13
Compare
since Pierre already approved it, I'll go ahead and merge it as I'm satisfied by the CI results and the commits. |
A couple of somewhat generally "CI-related" changes that I'm too lazy to propose as separate PRs.
make: Add 'format' target
script: Remove unused bootstrap script
trivial: Consistent file extensions
script: Address shellcheck warnings
tests: Consist use of th alias
tests: Add AssertTypeOf helper
testing: Set test case names
tests: Be consistent in our generation of credentials
tests: Add missing RequireAdmin calls
scripts: Add getenvvar tool