3 Commits
1.2.1 ... 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
037b3e64eb fix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-07-30 17:51:22 +02:00
2 changed files with 5 additions and 3 deletions

View File

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