Skip to content
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 keyword to check if RHODS is Self managed #662

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

bdattoma
Copy link
Contributor

@bdattoma bdattoma commented Dec 21, 2022

Self managed catalog source has changed (at least when RHODS is installed using olm script) so our tests are broken. The fix consists in trying to fetch the managed service addon, and if it doesn't exist, then RHODS is self managed

@bdattoma bdattoma added needs testing Needs to be tested in Jenkins enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) labels Dec 21, 2022
@bdattoma bdattoma self-assigned this Dec 21, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

... name=addon-managed-odh-catalog
... namespace=redhat-ods-operator
IF ${is_managed} == ${TRUE}
${is_self_managed}= Set Variable ${FALSE}

Check warning

Code scanning / Robocop

The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead

The assignment sign is not consistent within the file. Expected ' =' but got '=' instead
IF ${is_managed} == ${TRUE}
${is_self_managed}= Set Variable ${FALSE}
ELSE
${is_self_managed}= Set Variable ${TRUE}

Check warning

Code scanning / Robocop

The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead

The assignment sign is not consistent within the file. Expected ' =' but got '=' instead
@github-actions
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
279 0 0 279 100

Copy link
Contributor

@pablofelix pablofelix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@pablofelix pablofelix merged commit 6e393ab into red-hat-data-services:master Dec 21, 2022
@bdattoma
Copy link
Contributor Author

bdattoma commented Dec 21, 2022

Jenkins Job on Cloud service version 1446 SUCCESS

Jenkins Job on SM: 1449 SUCCESS

@bdattoma bdattoma added verified This PR has been tested with Jenkins and removed needs testing Needs to be tested in Jenkins labels Dec 21, 2022
@bdattoma bdattoma deleted the fix_sm_kw branch January 5, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) verified This PR has been tested with Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants