Merge pull request #12014 from fidencio/topic/release-ensure-helm-dependencies-update

scripts: release: Run helm dependencies update
This commit is contained in:
Alex Lyn
2025-11-03 16:34:17 +08:00
committed by GitHub
4 changed files with 4 additions and 2 deletions

View File

@@ -195,6 +195,7 @@ jobs:
yq eval '.image.reference = "quay.io/kata-containers/kata-deploy-ci" | .image.tag = "kata-containers-latest"' -i tools/packaging/kata-deploy/helm-chart/kata-deploy/values.yaml
echo "Generating the chart package"
helm dependencies update tools/packaging/kata-deploy/helm-chart/kata-deploy
helm package tools/packaging/kata-deploy/helm-chart/kata-deploy
echo "Pushing the chart to the OCI registries"

View File

@@ -38,7 +38,7 @@ setup() {
kubectl get jobs -l jobgroup=${job_name}
# Check the pods
kubectl wait --for=condition=Ready --timeout=$timeout pod -l jobgroup=${job_name}
kubectl wait --for=condition=Ready --timeout=120s pod -l jobgroup=${job_name}
# Check output of the jobs
for i in $(kubectl get pods -l jobgroup=${job_name} -o name); do

View File

@@ -86,7 +86,6 @@ else
"k8s-port-forward.bats" \
"k8s-privileged.bats" \
"k8s-projected-volume.bats" \
"k8s-qos-pods.bats" \
"k8s-replication.bats" \
"k8s-seccomp.bats" \
"k8s-sysctls.bats" \
@@ -99,6 +98,7 @@ else
K8S_TEST_NORMAL_HOST_UNION=( \
"k8s-number-cpus.bats" \
"k8s-parallel.bats" \
"k8s-qos-pods.bats" \
"k8s-sandbox-vcpus-allocation.bats" \
"k8s-scale-nginx.bats" \
)

View File

@@ -216,6 +216,7 @@ function _upload_helm_chart_tarball()
RELEASE_VERSION="$(_release_version)"
helm dependencies update ${repo_root_dir}/tools/packaging/kata-deploy/helm-chart/kata-deploy
helm package ${repo_root_dir}/tools/packaging/kata-deploy/helm-chart/kata-deploy
gh release upload "${RELEASE_VERSION}" "kata-deploy-${RELEASE_VERSION}.tgz"
}