oc-deploy/pull_stack.sh

11 lines
262 B
Bash
Raw Normal View History

2025-03-06 09:34:04 +01:00
#!/bin/bash
2025-03-06 09:39:07 +01:00
branch = "main"
2025-03-06 09:34:04 +01:00
if [ -n "$1" ]; then
branch = $1
fi
arr=("oc-catalog" "oc-datacenter" "oc-peer" "oc-scheduler" "oc-shared" "oc-workflow" "oc-workspace" "oc-auth" "oc-schedulerd" "oc-front")
for i in "${arr[@]}"
do
git pull origin $branch
done