-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add Provisioning ability for IBM Cloud Self-managed #1335
Add Provisioning ability for IBM Cloud Self-managed #1335
Conversation
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.
Robocop found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Robot Results
|
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.
Thank you Berto, looks good! Can you add a run output/build number ?
Also, I see several linter warnings, if you can cleanup.
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.
Besides the few questions/notes, lgtm
IF ${use_cluster_pool} | ||
${pool_namespace} = Get Cluster Pool Namespace ${pool_name} | ||
Set Task Variable ${pool_namespace} | ||
Set Task Variable ${clusterdeployment_name} ${pool_namespace} |
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.
@bdattoma FYI:
- The Cluster deployment name has a similar name (if I recall) as the cluster pool namespace by default.
- The Cluster pool namespace is a unique name, which includes the cluster name prefix.
- We should not make the cluster name equal to cluster pool namespace (which is currently the case for GCP and AWS).
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 just replicated the logic that was there earlier.
The code was using ${pool_namespace}
variable as cluster deployment name when using cluster pools. see https://github.com/red-hat-data-services/ods-ci/pull/1335/files/a4dfb8d020042819202abf826e342ddcdc1649a5#diff-069081f68a5b54944843728104321c2a7f2d596f186734b832ddf7d8265185b7L159
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.
Thank you @bdattoma for the additional provision option.
I added 2 comments
ods_ci/tasks/Resources/Provisioning/Hive/IBM/ibmcloud-cluster.yaml
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
extending the provisionin/deprovisioning tasks to work with IBM Cloud