Skip to content

Commit a8907da

Browse files
committed
move test script to test folder
1 parent 4fd3f42 commit a8907da

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

runTests.sh renamed to test/integration/runTests.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,21 @@ docker push localhost:5000/ppiper/neo-cli:latest
2323
git clone https://github.com/piper-validation/cloud-s4-sdk-book -b validate-neo-cli test-project
2424
pushd test-project
2525

26-
docker run -v //var/run/docker.sock:/var/run/docker.sock -v $(pwd):/workspace -v /tmp\
27-
-e CX_INFRA_IT_CF_PASSWORD -e CX_INFRA_IT_CF_USERNAME -e BRANCH_NAME=master \
28-
-e CASC_JENKINS_CONFIG=/workspace/jenkins.yml -e HOST=$(hostname) \
26+
docker run \
27+
-v //var/run/docker.sock:/var/run/docker.sock \
28+
-v "$(pwd):/workspace" \
29+
-v /tmp\
30+
-e CX_INFRA_IT_CF_PASSWORD \
31+
-e CX_INFRA_IT_CF_USERNAME \
32+
-e BRANCH_NAME=master \
33+
-e CASC_JENKINS_CONFIG=/workspace/jenkins.yml \
34+
-e HOST=$(hostname) \
2935
ppiper/jenkinsfile-runner
3036

3137
popd
3238

3339
function cleanup {
3440
rm -rf test-project
41+
docker rm --force registry
3542
}
3643
trap cleanup EXIT

0 commit comments

Comments
 (0)