2 Commits
1.2.2 ... 1.2.6

Author SHA1 Message Date
b207b5a186 fix 3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-07-30 18:54:52 +02:00
6abd8dcae9 fix 2
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-07-30 17:58:46 +02:00

View File

@@ -1,11 +1,13 @@
#!/bin/bash
set -e
if [ "$IMAGE_TAG" == "" ]; then
echo "Make sure IMAGE_TAG is set"
exit 1
fi
IMAGE_NAME=gitea.hottis.de/wn/dtrack-defectdojo-automation-server
IMAGE_NAME=gitea.hottis.de/wn/dtrack-defectdojo-automation
NAMESPACE=webservices
DEPLOYMENT_DIR=$PWD/deployment
@@ -17,7 +19,7 @@ kubectl create namespace $NAMESPACE \
kubectl -f - apply
cat $DEPLOYMENT_DIR/deploy-yml.tmpl |
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g |
sed -e 's,%IMAGE%,'$IMAGE_NAME':server-'$IMAGE_TAG','g |
kubectl apply -f - -n $NAMESPACE
popd >/dev/null