Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[v2] Misc cleanups #3261

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

Conversation

gophercloud-backport-bot[bot]
Copy link

Backport: #3065

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

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>
@github-actions github-actions bot added edit:actions This PR updates GitHub Actions code edit:compute This PR updates compute code edit:utils This PR updates utils code v2 This PR targets v2 edit:sharedfilesystems This PR updates sharedfilesystems code edit:baremetal This PR updates baremetal code edit:gophercloud This PR updates common Gophercloud code edit:blockstorage This PR updates blockstorage code edit:identity This PR updates identity code edit:testinfra This PR updates testing infrastructure code labels Dec 6, 2024
@pierreprinetti pierreprinetti merged commit b8089e5 into v2 Dec 6, 2024
40 of 43 checks passed
@pierreprinetti pierreprinetti deleted the bp-v2-37efb25-2e64714-baa5df9-65463f1-67c72f8-eb1fa62-1d81d00-a9bd661-fb4700a-7580d13 branch December 6, 2024 09:19
@github-actions github-actions bot added the semver:minor Backwards-compatible change label Dec 6, 2024
@coveralls
Copy link

Coverage Status

coverage: 78.721%. remained the same
when pulling cfa40d7 on bp-v2-37efb25-2e64714-baa5df9-65463f1-67c72f8-eb1fa62-1d81d00-a9bd661-fb4700a-7580d13
into 939402d on v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edit:actions This PR updates GitHub Actions code edit:baremetal This PR updates baremetal code edit:blockstorage This PR updates blockstorage code edit:compute This PR updates compute code edit:gophercloud This PR updates common Gophercloud code edit:identity This PR updates identity code edit:sharedfilesystems This PR updates sharedfilesystems code edit:testinfra This PR updates testing infrastructure code edit:utils This PR updates utils code semver:minor Backwards-compatible change v2 This PR targets v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.