K8SPSMDB-1498 Update Versions and Tests for 1.22.0 Release#2249
K8SPSMDB-1498 Update Versions and Tests for 1.22.0 Release#2249jvpasinatto merged 3 commits intorelease-1.22.0from
Conversation
| local ref="$1" | ||
| local first="${ref%%/*}" | ||
|
|
||
| if [[ "$first" == *.* || "$first" == *:* || "$first" == "localhost" ]]; then |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| if [[ "$first" == *.* || "$first" == *:* || "$first" == "localhost" ]]; then | |
| if [[ $first == *.* || $first == *:* || $first == "localhost" ]]; then |
| return 0 | ||
| fi | ||
|
|
||
| if [[ "$ref" == percona/* || "$ref" == perconalab/* ]]; then |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| if [[ "$ref" == percona/* || "$ref" == perconalab/* ]]; then | |
| if [[ $ref == percona/* || $ref == perconalab/* ]]; then |
| local out="" | ||
| local ref | ||
|
|
||
| [[ -z "$val" ]] && return 0 |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| [[ -z "$val" ]] && return 0 | |
| [[ -z $val ]] && return 0 |
|
|
||
| [[ -z "$val" ]] && return 0 | ||
|
|
||
| if [[ "$val" == *$'\n'* ]]; then |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| if [[ "$val" == *$'\n'* ]]; then | |
| if [[ $val == *$'\n'* ]]; then |
|
|
||
| if [[ "$val" == *$'\n'* ]]; then | ||
| while IFS= read -r ref; do | ||
| [[ -z "$ref" ]] && continue |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| [[ -z "$ref" ]] && continue | |
| [[ -z $ref ]] && continue |
| [[ -z "$ref" ]] && continue | ||
| out+=$(qualify_image_ref "$ref") | ||
| out+=$'\n' | ||
| done <<< "$val" |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| done <<< "$val" | |
| done <<<"$val" |
| IMAGE_PMM_CLIENT IMAGE_PMM_SERVER \ | ||
| IMAGE_PMM3_CLIENT IMAGE_PMM3_SERVER \ | ||
| IMAGE_LOGCOLLECTOR IMAGE_OPERATOR; do |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| IMAGE_PMM_CLIENT IMAGE_PMM_SERVER \ | |
| IMAGE_PMM3_CLIENT IMAGE_PMM3_SERVER \ | |
| IMAGE_LOGCOLLECTOR IMAGE_OPERATOR; do | |
| IMAGE_PMM_CLIENT IMAGE_PMM_SERVER \ | |
| IMAGE_PMM3_CLIENT IMAGE_PMM3_SERVER \ | |
| IMAGE_LOGCOLLECTOR IMAGE_OPERATOR; do |
| local temp_file | ||
| temp_file=$(mktemp) |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| local temp_file | |
| temp_file=$(mktemp) | |
| local temp_file | |
| temp_file=$(mktemp) |
| yq eval -o=json ../../deploy/cr.yaml | | ||
| jq --arg initImage "$containerImage" ' |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| yq eval -o=json ../../deploy/cr.yaml | | |
| jq --arg initImage "$containerImage" ' | |
| yq eval -o=json ../../deploy/cr.yaml \ | |
| | jq --arg initImage "$containerImage" ' |
| IMAGE=$(echo "${INIT_OPERATOR_IMAGES}" | jq -r '.versions[].matrix.operator[].imagePath') | ||
| # we use the starting image from the same repo so we don't need to use initImage option | ||
| if [[ "$(echo ${TARGET_IMAGE} | cut -d'/' -f1)" == "perconalab" ]]; then | ||
| if [[ "${TARGET_IMAGE}" == perconalab/* || "${TARGET_IMAGE}" == */perconalab/* ]]; then |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| if [[ "${TARGET_IMAGE}" == perconalab/* || "${TARGET_IMAGE}" == */perconalab/* ]]; then | |
| if [[ ${TARGET_IMAGE} == perconalab/* || ${TARGET_IMAGE} == */perconalab/* ]]; then |
| IMAGE=$(echo "${INIT_OPERATOR_IMAGES}" | jq -r '.versions[].matrix.operator[].imagePath') | ||
| # we use the starting image from the same repo so we don't need to use initImage option | ||
| if [[ "$(echo ${TARGET_IMAGE} | cut -d'/' -f1)" == "perconalab" ]]; then | ||
| if [[ "${TARGET_IMAGE}" == perconalab/* || "${TARGET_IMAGE}" == */perconalab/* ]]; then |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| if [[ "${TARGET_IMAGE}" == perconalab/* || "${TARGET_IMAGE}" == */perconalab/* ]]; then | |
| if [[ ${TARGET_IMAGE} == perconalab/* || ${TARGET_IMAGE} == */perconalab/* ]]; then |
commit: a1a9d3f |
CHANGE DESCRIPTION
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability