Implements Workflow Dispatcher for Deployment Refresh

This commit is contained in:
2023-10-23 20:06:12 -03:00
parent 6d7cb36020
commit 57d1cf5453
3 changed files with 62 additions and 9 deletions

View File

@@ -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