19 lines
409 B
Bash
19 lines
409 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Install dependencies (done once here)
|
|
apk add --no-cache git bash curl yq jq
|
|
|
|
# Load config AFTER env is present (from Woodpecker or exported manually)
|
|
source automation/config.sh
|
|
|
|
rm -rf .tmp-repos
|
|
mkdir -p .tmp-repos
|
|
chmod +x automation/*.sh
|
|
|
|
automation/clone_repos.sh
|
|
automation/generate_ingress.sh
|
|
automation/merge_values.sh
|
|
automation/commit_and_push.sh
|
|
automation/create_cnames.sh
|