Introduce CI/CD
Validate and deploy Argo CD / validate (push) Successful in 16s
Validate and deploy Argo CD / deploy (push) Successful in 29s

This commit is contained in:
feedc0de committed 2026-09-05 09:35:59 +02:00
1 parent 43c4354cd1
commit 3359b7913b
9 files changed
+334 -1

No files matched your search

Executable
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
version=${ARGOCD_CHART_VERSION:-10.7.2}
digest=${ARGOCD_CHART_SHA256:-26111ae91779b28f18ef5c367f70530e3ecbec3effad45a7db59979344956dab}
output=${1:?Usage: render.sh OUTPUT_FILE}
chart=$(mktemp)
trap 'rm -f "${chart}"' EXIT
curl --fail --silent --show-error --location --output "${chart}" \
"https://github.com/argoproj/argo-helm/releases/download/argo-cd-${version}/argo-cd-${version}.tgz"
printf '%s %s\n' "${digest}" "${chart}" | sha256sum --check >&2
helm template argocd "${chart}" --namespace argocd \
--values "${project_dir}/argocd-values.yaml" > "${output}"