From 4e876b202c27f95cec2d29ad2711e2b4a4dbbc7d Mon Sep 17 00:00:00 2001 From: az Date: Wed, 1 Dec 2021 12:54:52 +0100 Subject: [PATCH] update README --- .../resources/local-integration-test/README.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/test/resources/local-integration-test/README.md b/src/test/resources/local-integration-test/README.md index eb87aba..3ac8d69 100644 --- a/src/test/resources/local-integration-test/README.md +++ b/src/test/resources/local-integration-test/README.md @@ -29,20 +29,13 @@ Note: In case of not being able to connect to "k3stesthost/health", you might ne ## Run docker locally `docker pull docker:19.03.12-dind` -`docker run --name integration-test docker:19.03.12-dind` +`docker run -d --privileged --name integration-test docker:19.03.12-dind` + +Set up docker container integration-test: +`docker cp setup-docker.sh integration-test:/` `docker exec -it integration-test sh` +`chmod +x setup-docker.sh` `./setup-docker.sh` -`setup-local-s3-on-k3d.sh` - -`apk add git curl bash sudo openjdk8 wget` -`wget -P /etc/apk/keys/ https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub` -`apk add --no-cache --repository=https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-leiningen leiningen` -`git pull https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud.git` -`cd c4k-nextcloud` -Solange die Skripte nicht auf Main sind: `git checkout local-integration-test` -`cd src/test/resources/local-integration-test` -`./setup-local-s3-on-k3d.sh` - ## Deploy nextcloud