3 Commits
0.0.1 ... 0.0.4

Author SHA1 Message Date
e2eb993042 fix ci script 2
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2026-02-19 12:51:21 +01:00
8867aa39a4 fix ci script
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2026-02-19 12:47:32 +01:00
04f9e48d16 fix Dockerfile
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed
2026-02-19 12:45:10 +01:00
3 changed files with 6 additions and 11 deletions

View File

@@ -1,3 +1,6 @@
when:
event: [tag]
steps:
build:
image: plugins/kaniko
@@ -11,8 +14,6 @@ steps:
password:
from_secret: container_registry_password
dockerfile: Dockerfile
when:
- event: tag
deploy:
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
@@ -23,7 +24,5 @@ steps:
- export IMAGE_TAG=$CI_COMMIT_SHA
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig
- ./deployment/deploy.sh
when:
- event: tag
- ./deploy.sh

View File

@@ -10,7 +10,7 @@ COPY syslog-ng.conf /etc/syslog-ng
RUN mkdir -p /var/log/remote
VOLUME /var/log/remote
EXPOSE 514/UDP
EXPOSE 514/udp
CMD [ "/usr/sbin/syslog-ng", "-f", "/etc/syslog-ng/syslog-ng.conf", "-F" ]

View File

@@ -8,9 +8,6 @@ fi
IMAGE_NAME=gitea.hottis.de/deployments/syslog-ng-server
NAMESPACE=syslog-ng
DEPLOYMENT_DIR=$PWD/deployment
pushd $DEPLOYMENT_DIR > /dev/null
kubectl create namespace $NAMESPACE \
--dry-run=client \
@@ -18,9 +15,8 @@ kubectl create namespace $NAMESPACE \
kubectl -f - apply
cat $DEPLOYMENT_DIR/deploy-yml.tmpl | \
cat deploy-yml.tmpl | \
sed -e 's,%IMAGE%,'$IMAGE_NAME':'$IMAGE_TAG','g | \
kubectl apply -f - -n $NAMESPACE
popd > /dev/null