From b7de1c880e22524ac061e7efb0a55479d6704dd0 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 17 Nov 2023 16:36:53 +0100 Subject: [PATCH] use kubectl, fix 13 --- .woodpecker.yml | 4 +--- sink/sink20169.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index faa7aa9..6fef497 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -21,8 +21,6 @@ steps: commands: - printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig - export KUBECONFIG=/tmp/kubeconfig - - cd $CI_WORKSPACE - - pwd - - cat deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/'$CI_REPO':'$CI_COMMIT_TAG',' + - cat $CI_WORKSPACE/deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/'$CI_REPO':'$CI_COMMIT_TAG',' | kubectl apply -f - -n mainscnt when: - event: tag diff --git a/sink/sink20169.c b/sink/sink20169.c index e829420..ae92c88 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -301,7 +301,7 @@ void usage() { printf("https://home.hottis.de/gitlab/wolutator/mains-frequency-counter-rpi,\n"); printf("https://github.com/wollud1969/sinkConvert1\n"); printf("Repo: https://home.hottis.de/gitlab/wolutator/sinkserver\n"); - printf("Version: " VERSION "\n"); + printf("Version: " VERSION " XXX\n"); printf("\nUsage\n"); printf(" -f FILENAME ...... Config file to be used\n"); printf(" -v ............... Verbose, writes all logging on stdout too\n");