Docs-as-code: full deploy configs, compose stacks, and DR guide
- Add root README and docs/ (architecture, hosts, disaster-recovery, operations) - Add compose/ for superset, forgejo, lam, cadvisor; unified deploy compose - Add scripts/deploy (deploy-atc-docker01.sh, container inventory export) - Add inventory/containers-atc-docker01.json snapshot - Add config READMEs for kafka and airflow; .env.example; expand .gitignore - Sync atclab helper scripts; update homepage/superset compose with env support
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
DIR=$(git rev-parse --show-toplevel) || exit 10
|
||||
NAME=$(rpm -q --qf '%{name}\n' --specfile ${DIR}/*.spec)
|
||||
VERSION=$(rpm -q --qf '%{version}\n' --specfile ${DIR}/*.spec)
|
||||
|
||||
|
||||
while getopts ":h:" OPT; do
|
||||
case "$OPT" in
|
||||
\?|h) usage ; exit 0 ;;
|
||||
esac
|
||||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
case $1 in
|
||||
apply) git tag -a -mversion v${VERSION} ;;
|
||||
*) echo git tag -a -mversion v${VERSION} ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user