Skip to content

Commit a439eef

Browse files
authored
Merge pull request #37 from SAP/disable-pipeline-test
Disable pipeline test for now
2 parents a742162 + d91ada6 commit a439eef

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

runTests.sh

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,12 @@
22

33
TAG=${1:-.}
44

5-
# Start a local registry, to which we push the images built in this test, and from which they will be consumed in the test
6-
docker run -d -p 5000:5000 --restart always --name registry registry:2 || true
7-
85
echo Testing version $TAG
96

10-
docker build --build-arg=BASE_IMAGE_TAG=${TAG} -t localhost:5000/ppiper/node-browsers:latest .
11-
docker push localhost:5000/ppiper/node-browsers:latest
12-
13-
git clone https://github.com/piper-validation/cloud-s4-sdk-book.git -b validate-node-browsers test-project
14-
pushd test-project
15-
16-
docker run -v //var/run/docker.sock:/var/run/docker.sock -v $(pwd):/workspace -v /tmp \
17-
-e BRANCH_NAME=master \
18-
-e CASC_JENKINS_CONFIG=/workspace/jenkins.yml -e HOST=$(hostname) \
19-
ppiper/jenkinsfile-runner
20-
21-
popd
7+
docker build --build-arg=BASE_IMAGE_TAG=${TAG} -t localhost:5000/ppiper/node-browsers:${TAG} .
228

23-
function cleanup {
24-
rm -rf test-project
25-
}
26-
trap cleanup EXIT
9+
docker run --rm localhost:5000/ppiper/node-browsers:${TAG} chromium --version
10+
docker run --rm localhost:5000/ppiper/node-browsers:${TAG} firefox --version
11+
docker run --rm localhost:5000/ppiper/node-browsers:${TAG} java -version
12+
docker run --rm localhost:5000/ppiper/node-browsers:${TAG} node --version
13+
docker run --rm localhost:5000/ppiper/node-browsers:${TAG} cat /etc/os-release

0 commit comments

Comments
 (0)