use kubectl, fix 13
This commit is contained in:
parent
7b527a9242
commit
b7de1c880e
@ -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
|
||||||
|
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user