add bash to integrationtest

This commit is contained in:
az 2021-12-01 13:31:33 +01:00
parent a2cd12ef0a
commit e0890646d8

View file

@ -150,10 +150,11 @@ nextcloud-integrationtest:
- package-uberjar - package-uberjar
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- apk add bash
script: script:
- echo "---------- Integration test -------------" - echo "---------- Integration test -------------"
# - docker build --pull -t "$CI_REGISTRY_IMAGE" . # - docker build --pull -t "$CI_REGISTRY_IMAGE" .
# - docker run --privileged -dit --name provs_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE # - docker run --privileged -dit --name provs_test -v /var/run/docker.sock:/var/run/docker.sock $CI_REGISTRY_IMAGE
# - docker inspect -f '{{.State.Running}}' provs_test # - docker inspect -f '{{.State.Running}}' provs_test
- ./src/test/resources/local-integration-test/setup-docker.sh - bash /src/test/resources/local-integration-test/setup-docker.sh