Archived
Introduce CI/CD
This commit is contained in:
1 parent
43c4354cd1
commit
3359b7913b
9 files changed
+334
-1
No files matched your search
@@ -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}"
|
||||
Reference in new issue
Block a user