Improve and add more tests
This commit is contained in:
parent
e5bacfc0e4
commit
66d505e992
13
.drone.yml
13
.drone.yml
@ -16,11 +16,14 @@ pipeline:
|
|||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=tcp://docker:2375
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker run -tt --rm devbuild /bin/busybox
|
- docker pull adamant/busybox
|
||||||
- docker run -tt --rm devbuild /bin/sh -c 'test -f /lib/libc-*.so'
|
- docker tag adamant/busybox devbuild
|
||||||
- export RESULT=$(docker run --name=DEV --rm devbuild /bin/sh -c 'echo This is a test string | md5sum | cut -f1 -d\ ' )
|
- set -ax
|
||||||
- echo $RESULT
|
- docker run --rm devbuild /bin/sh -xec 'true'
|
||||||
- test $RESULT = 'b584c39f97dfe71ebceea3fdb860ed6c'
|
- docker run --rm devbuild /bin/sh -xec 'test -f /lib/libc-*.so'
|
||||||
|
- docker run --rm devbuild /bin/sh -xec 'nslookup google.com'
|
||||||
|
- test "$(docker run --rm devbuild /bin/sh -xec 'date +%Z')" = 'UTC'
|
||||||
|
- test "$(docker run --rm devbuild /bin/sh -xec 'echo This is a test string | md5sum | cut -f1 -d\ ' | tee /dev/stderr)" = 'b584c39f97dfe71ebceea3fdb860ed6c'
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: docker
|
image: docker
|
||||||
|
Loading…
Reference in New Issue
Block a user