-
Notifications
You must be signed in to change notification settings - Fork 702
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
Make ChartMuseum CI version configurable #5119
Make ChartMuseum CI version configurable #5119
Conversation
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
✅ Deploy Preview for kubeapps-dev canceled.Built without sensitive environment variables
|
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@@ -27,6 +27,9 @@ parameters: | |||
OLM_VERSION: | |||
type: "string" | |||
default: "v0.21.2" | |||
CHARTMUSEUM_VERSION: | |||
type: "string" | |||
default: "3.9.0" |
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'm also updating from 2.14.2
to 3.9.0
here, but I'll roll the changes back if the PR fails.
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.
It seems that it worked 😄
script/e2e-test.sh
Outdated
@@ -17,6 +17,7 @@ TEST_TIMEOUT_MINUTES=${5:-"4"} | |||
DEX_IP=${6:-"172.18.0.2"} | |||
ADDITIONAL_CLUSTER_IP=${7:-"172.18.0.3"} | |||
KAPP_CONTROLLER_VERSION=${8:-"v0.32.0"} | |||
CM_VERSION=${9:-"2.14.2"} |
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.
CM_VERSION=${9:-"2.14.2"} | |
CHARTMUSEUM_VERSION=${9:-"3.9.0"} |
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.
Suggesting to change the variable name just for future readability.
script/e2e-test.sh
Outdated
@@ -38,6 +39,7 @@ fi | |||
info "Root dir: ${ROOT_DIR}" | |||
info "Use multicluster+OIDC: ${USE_MULTICLUSTER_OIDC_ENV}" | |||
info "OLM version: ${OLM_VERSION}" | |||
info "ChartMuseum version: ${CM_VERSION}" |
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.
info "ChartMuseum version: ${CM_VERSION}" | |
info "ChartMuseum version: ${CHARTMUSEUM_VERSION}" |
script/e2e-test.sh
Outdated
@@ -324,7 +328,7 @@ fi | |||
installOrUpgradeKubeapps "${ROOT_DIR}/chart/kubeapps" | |||
info "Waiting for Kubeapps components to be ready (local chart)..." | |||
k8s_wait_for_deployment kubeapps kubeapps-ci | |||
installChartmuseum admin password | |||
installChartmuseum admin password "${CM_VERSION}" |
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.
installChartmuseum admin password "${CM_VERSION}" | |
installChartmuseum admin password "${CHARTMUSEUM_VERSION}" |
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.
LGTM. Nice to add flexibility to select the version.
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Description of the change
While working on the e2e tests I noticed we had a hardcoded CharMuseum version, this PR is extracting the version into a separate variable so that we can properly update it.
Benefits
CM cersion management will be aligned with the rest of the CI component's
Possible drawbacks
N/A
Applicable issues
Additional information
N/A