File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ branches:
55language : minimal
66services :
77- docker
8- script : chmod +x runTests.sh && ./runTests.sh
8+ script : cd test/integration/ && chmod +x runTests.sh && ./runTests.sh
Original file line number Diff line number Diff line change @@ -16,21 +16,30 @@ set -x
1616# Start a local registry, to which we push the images built in this test, and from which they will be consumed in the test
1717docker run -d -p 5000:5000 --restart always --name registry registry:2 || true
1818
19- docker build -t localhost:5000/ppiper/neo-cli .
20- docker tag localhost:5000/ppiper/neo-cli ppiper/neo-cli:latest
19+ docker build \
20+ -t localhost:5000/ppiper/neo-cli \
21+ -t ppiper/neo-cli:latest \
22+ " $( pwd) /../.."
2123docker push localhost:5000/ppiper/neo-cli:latest
2224
2325git clone https://github.com/piper-validation/cloud-s4-sdk-book -b validate-neo-cli test-project
2426pushd test-project
2527
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) \
28+ docker run \
29+ -v //var/run/docker.sock:/var/run/docker.sock \
30+ -v " $( pwd) :/workspace" \
31+ -v /tmp \
32+ -e CX_INFRA_IT_CF_PASSWORD \
33+ -e CX_INFRA_IT_CF_USERNAME \
34+ -e BRANCH_NAME=master \
35+ -e CASC_JENKINS_CONFIG=/workspace/jenkins.yml \
36+ -e HOST=$( hostname) \
2937 ppiper/jenkinsfile-runner
3038
3139popd
3240
3341function cleanup {
3442 rm -rf test-project
43+ docker rm --force registry
3544}
3645trap cleanup EXIT
You can’t perform that action at this time.
0 commit comments