use kubectl, fix 13
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2023-11-17 16:36:53 +01:00
parent 7b527a9242
commit b7de1c880e
Signed by: wn
GPG Key ID: 836E9E1192A6B132
2 changed files with 2 additions and 4 deletions

View File

@ -21,8 +21,6 @@ steps:
commands: commands:
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig - printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
- export KUBECONFIG=/tmp/kubeconfig - export KUBECONFIG=/tmp/kubeconfig
- cd $CI_WORKSPACE - cat $CI_WORKSPACE/deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/'$CI_REPO':'$CI_COMMIT_TAG',' | kubectl apply -f - -n mainscnt
- pwd
- cat deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/'$CI_REPO':'$CI_COMMIT_TAG','
when: when:
- event: tag - event: tag

View File

@ -301,7 +301,7 @@ void usage() {
printf("https://home.hottis.de/gitlab/wolutator/mains-frequency-counter-rpi,\n"); printf("https://home.hottis.de/gitlab/wolutator/mains-frequency-counter-rpi,\n");
printf("https://github.com/wollud1969/sinkConvert1\n"); printf("https://github.com/wollud1969/sinkConvert1\n");
printf("Repo: https://home.hottis.de/gitlab/wolutator/sinkserver\n"); printf("Repo: https://home.hottis.de/gitlab/wolutator/sinkserver\n");
printf("Version: " VERSION "\n"); printf("Version: " VERSION " XXX\n");
printf("\nUsage\n"); printf("\nUsage\n");
printf(" -f FILENAME ...... Config file to be used\n"); printf(" -f FILENAME ...... Config file to be used\n");
printf(" -v ............... Verbose, writes all logging on stdout too\n"); printf(" -v ............... Verbose, writes all logging on stdout too\n");