Implements Workflow Dispatcher for Deployment Refresh
This commit is contained in:
16
refresh.sh
16
refresh.sh
@@ -4,12 +4,16 @@ NAMESPACES=(
|
||||
portfolio
|
||||
)
|
||||
|
||||
DEPLOYMENTS=(
|
||||
"frontend-deployment"
|
||||
"backend-deployment"
|
||||
"storage-deployment"
|
||||
"storage-processor-deployment"
|
||||
)
|
||||
if [ $# -eq 0 ]; then
|
||||
DEPLOYMENTS=(
|
||||
"frontend-deployment"
|
||||
"backend-deployment"
|
||||
"storage-deployment"
|
||||
"storage-processor-deployment"
|
||||
)
|
||||
else
|
||||
DEPLOYMENTS=("$@")
|
||||
fi
|
||||
|
||||
for i in "${NAMESPACES[@]}"; do
|
||||
for x in "${DEPLOYMENTS[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user