TL500: Detect the gitlab chart version to use#9751
Open
Tompage1994 wants to merge 1 commit intoredhat-cop:developmentfrom
Open
TL500: Detect the gitlab chart version to use#9751Tompage1994 wants to merge 1 commit intoredhat-cop:developmentfrom
Tompage1994 wants to merge 1 commit intoredhat-cop:developmentfrom
Conversation
3fb8521 to
b42bea2
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
SUMMARY
Detect the gitlab chart version to used based on this listing. To do this, we can detect the operator version, then visit that page with the correct operator version tag. From that, we can detect the latest acceptable chart version to use, and apply that to the tl500-course-content helm chart.
This fixes an issue where the helm chart will fail on deploy if the supported version in Gitlab has updated (which is fairly frequent)
ISSUE TYPE
COMPONENT NAME
ocp4_workload_tl500
ADDITIONAL INFORMATION
Related to rht-labs/enablement-framework#189 which needs to be merged in conjunction for this to take any effect
Tested with
ansible [core 2.18.7]