Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done
# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done
# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done
# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done
# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down Expand Up @@ -203,6 +209,12 @@
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
$${SUDO} ctr -n k8s.io images tag "$${IMAGE_REGISTRY_PREFIX}/$${CI_CONTAINER}-amd64:$${KUBERNETES_VERSION//+/_}" "gcr.io/k8s-staging-ci-images/$${CI_CONTAINER}:$${KUBERNETES_VERSION//+/_}"
done

# TODO: remove once we use k8s v1.35 image-builder templates.
# Note: This is a temporary fix to ensure the flag --pod-infra-container-image is not set which was removed in k8s v1.35 and deprecated for a long time.
echo "Clearing /etc/sysconfig/kubelet and/or /etc/default/kubelet if they exist"
echo "" > /etc/sysconfig/kubelet || true
echo "" > /etc/default/kubelet || true
fi
echo "* checking binary versions"
echo "ctr version: " "$(ctr version)"
Expand Down
Loading