This commit is contained in:
ansgarz 2021-12-08 10:41:02 +01:00
parent 7ea46bf520
commit c913f3b96d

View file

@ -1,7 +1,7 @@
stages: stages:
- build_and_test - build_and_test
- package - package
- security #- security
- upload - upload
- image - image
- integrationtest - integrationtest
@ -96,7 +96,7 @@ package-uberjar:
paths: paths:
- target/uberjar - target/uberjar
sast: .sast:
<<: *only-master <<: *only-master
variables: variables:
SAST_EXCLUDED_ANALYZERS: SAST_EXCLUDED_ANALYZERS:
@ -165,7 +165,7 @@ nextcloud-integrationtest:
#- docker build --pull -t "$CI_REGISTRY_IMAGE" . #- docker build --pull -t "$CI_REGISTRY_IMAGE" .
#- docker run --name "$name" -d --privileged --tmpfs /run --tmpfs /var/run --restart always -e K3S_TOKEN=12345678901234 -e K3S_KUBECONFIG_OUTPUT=./kubeconfig.yaml -e K3S_KUBECONFIG_MODE=666 -v k3s-server:/var/lib/rancher/k3s:z -v $(pwd):/output:z -p 6443:6443 -p 80:80 -p 443:443 rancher/k3s server --cluster-init --tls-san k3stesthost --tls-san cloudhost #- docker run --name "$name" -d --privileged --tmpfs /run --tmpfs /var/run --restart always -e K3S_TOKEN=12345678901234 -e K3S_KUBECONFIG_OUTPUT=./kubeconfig.yaml -e K3S_KUBECONFIG_MODE=666 -v k3s-server:/var/lib/rancher/k3s:z -v $(pwd):/output:z -p 6443:6443 -p 80:80 -p 443:443 rancher/k3s server --cluster-init --tls-san k3stesthost --tls-san cloudhost
#- docker run --privileged -dit --name c4k_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE #- docker run --privileged -dit --name c4k_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE
- docker inspect -f '{{.State.Running}}' c4k_test #- docker inspect -f '{{.State.Running}}' c4k_test
script: script:
- echo "---------- Integration test -------------" - echo "---------- Integration test -------------"
- ls -l - ls -l