-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fix potential issue in odo version
nightly tests if user does not have permission to get the OpenShift version
#6933
Merged
openshift-merge-robot
merged 2 commits into
redhat-developer:main
from
rm3l:6932-nightly-tests-failing
Jun 26, 2023
Merged
Fix potential issue in odo version
nightly tests if user does not have permission to get the OpenShift version
#6933
openshift-merge-robot
merged 2 commits into
redhat-developer:main
from
rm3l:6932-nightly-tests-failing
Jun 26, 2023
Conversation
This file contains 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
…penShift platform version This happened on the nightly jobs running on Prow, which makes us use a developer account with some restrictions.
… the intent clearer
openshift-ci
bot
added
kind/bug
Categorizes issue or PR as related to a bug.
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
labels
Jun 26, 2023
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
rm3l
changed the title
Fix issues in the
Fix potential issue in Jun 26, 2023
odo version
tests if user does not have permission to get the OpenShift versionodo version
tests if user does not have permission to get the OpenShift version
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
rm3l
changed the title
Fix potential issue in
Fix potential issue in Jun 26, 2023
odo version
tests if user does not have permission to get the OpenShift versionodo version
nightly tests if user does not have permission to get the OpenShift version
feloy
approved these changes
Jun 26, 2023
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.
Thanks for the fix
openshift-ci
bot
added
the
lgtm
Indicates that a PR is ready to be merged. Required by Prow.
label
Jun 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
kind/bug
Categorizes issue or PR as related to a bug.
lgtm
Indicates that a PR is ready to be merged. Required by Prow.
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.
What type of PR is this:
/kind bug
/area testing
What does this PR do / why we need it:
This fixes a potential issue with the
odo version
integration tests, which failed in the nightly jobs (running on Prow) because thedeveloper
user does not have the permissions to get the OpenShift version.Based on what had been done in #6551 to fix a similar issue, it gets the version from
oc version
and if something is reported about the server, will check thatodo version
displays the right information about OpenShift. If not, then such information should be missing from theodo version
output.Which issue(s) this PR fixes:
Normal users have no way to get the OpenShift version
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: