mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-01-29 21:39:23 +00:00
Merge pull request #12014 from fidencio/topic/release-ensure-helm-dependencies-update
scripts: release: Run helm dependencies update
This commit is contained in:
1
.github/workflows/payload-after-push.yaml
vendored
1
.github/workflows/payload-after-push.yaml
vendored
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" \
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user