Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
3fd8dfd95d
|
|||
4c2ebc64c5
|
|||
b7de1c880e
|
|||
7b527a9242
|
|||
608156280d
|
|||
9f960857f8
|
|||
1ff835deb7
|
|||
6ad8cc9d6b
|
|||
07e18601f2
|
|||
040964998d
|
|||
f6b0061f10
|
|||
150c498bfc
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -8,4 +8,6 @@ test
|
|||||||
.vscode
|
.vscode
|
||||||
.dccache
|
.dccache
|
||||||
sink/.dccache
|
sink/.dccache
|
||||||
|
*~
|
||||||
|
.*~
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: system_container_registry_password
|
from_secret: system_container_registry_password
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
when:
|
||||||
|
- event: [push, tag]
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: portainer/kubectl-shell:latest
|
image: portainer/kubectl-shell:latest
|
||||||
@ -17,9 +19,8 @@ steps:
|
|||||||
- source: kube_config
|
- source: kube_config
|
||||||
target: KUBE_CONFIG_CONTENT
|
target: KUBE_CONFIG_CONTENT
|
||||||
commands:
|
commands:
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > ~/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- KUBECONFIG=~/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- kubectl get nodes
|
- cat $CI_WORKSPACE/deployment/deploy-yml.tmpl | sed -e 's,%IMAGE%,gitea.hottis.de/'$CI_REPO':'$CI_COMMIT_TAG',' | kubectl apply -f -
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sinkserver
|
- name: sinkserver
|
||||||
image: wollud1969/sinkserver:e5f9d3e3
|
image: %IMAGE%
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 20169
|
- containerPort: 20169
|
||||||
protocol: UDP
|
protocol: UDP
|
@ -33,3 +33,4 @@ The projects of the three current variants are at [RPi](https://home.hottis.de/g
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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");
|
||||||
|
Reference in New Issue
Block a user