-
Notifications
You must be signed in to change notification settings - Fork 202
K8SPXC-1683 add pmm and 8.4 to smart-update test and K8SPXC-1712 add 8.4 to pr check. #2289
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
base: main
Are you sure you want to change the base?
Conversation
e2e-tests/run-pr.csv
Outdated
| one-pod,5.7 | ||
| one-pod,8.0 | ||
| pitr,8.0 | ||
| pitr,8.4 |
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.
pitr for 8.4 won't work, let's not add it for now
| VS_ENDPOINT="${VS_URL}:${VS_PORT}" | ||
|
|
||
| # Determine update strategy based on PXC version | ||
| if [[ "${PXC_VER}" == "8.4" ]]; then |
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.
[shfmt] reported by reviewdog 🐶
| if [[ "${PXC_VER}" == "8.4" ]]; then | |
| if [[ ${PXC_VER} == "8.4" ]]; then |
| local telemetry_cr_log_file="${telemetry_state}_telemetry.version-service-cr-${image_prefix}${OPERATOR_NS:+-cw}.log.json" | ||
| desc "telemetry was disabled in operator but not in CR" | ||
| if [ "${cr_vs_channel}" == "${image_prefix}-recommended" -a "${telemetry_state}" == 'disabled' ]; then | ||
| if [[ "${cr_vs_channel}" == "${image_prefix}-recommended" || "${cr_vs_channel}" == "${image_prefix}-latest" ]] && [ "${telemetry_state}" == 'disabled' ]; then |
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.
[shfmt] reported by reviewdog 🐶
| if [[ "${cr_vs_channel}" == "${image_prefix}-recommended" || "${cr_vs_channel}" == "${image_prefix}-latest" ]] && [ "${telemetry_state}" == 'disabled' ]; then | |
| if [[ ${cr_vs_channel} == "${image_prefix}-recommended" || ${cr_vs_channel} == "${image_prefix}-latest" ]] && [ "${telemetry_state}" == 'disabled' ]; then |
| # Verify PMM2 updated | ||
| for i in $(seq 0 $((CLUSTER_SIZE - 1))); do | ||
| actual_pmm_image=$(kubectl_bin get pod "${CLUSTER}-pxc-${i}" -o jsonpath='{.status.containerStatuses[?(@.name=="pmm-client")].image}') | ||
| if [[ "${actual_pmm_image}" != *"${pmm2_recommended_image}"* ]]; then |
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.
[shfmt] reported by reviewdog 🐶
| if [[ "${actual_pmm_image}" != *"${pmm2_recommended_image}"* ]]; then | |
| if [[ ${actual_pmm_image} != *"${pmm2_recommended_image}"* ]]; then |
| # Verify PMM3 updated | ||
| for i in $(seq 0 $((CLUSTER_SIZE - 1))); do | ||
| actual_pmm_image=$(kubectl_bin get pod "${CLUSTER}-pxc-${i}" -o jsonpath='{.status.containerStatuses[?(@.name=="pmm-client")].image}') | ||
| if [[ "${actual_pmm_image}" != *"${pmm3_recommended_image}"* ]]; then |
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.
[shfmt] reported by reviewdog 🐶
| if [[ "${actual_pmm_image}" != *"${pmm3_recommended_image}"* ]]; then | |
| if [[ ${actual_pmm_image} != *"${pmm3_recommended_image}"* ]]; then |
| desc "test passed" | ||
| } | ||
|
|
||
| main No newline at end of file |
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.
[shfmt] reported by reviewdog 🐶
| main | |
| main | |
commit: 047564f |
CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Added check for 8.4 and pmm2/pmm3.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability