Sha256: b1551a89c1aedaba876abd3bb3df21ef412d9c63c6dc1e8115f96aa04aca696b
Contents?: true
Size: 621 Bytes
Versions: 1
Compression:
Stored size: 621 Bytes
Contents
#!/bin/bash -ex CONJUR_VERSION=${CONJUR_VERSION:-"4.8"} DOCKER_IMAGE=${DOCKER_IMAGE:-"registry.tld/conjur-appliance-cuke-master:$CONJUR_VERSION-stable"} NOKILL=${NOKILL:-"0"} PULL=${PULL:-"1"} if [ -z "$CONJUR_CONTAINER" ]; then if [ "$PULL" == "1" ]; then docker pull $DOCKER_IMAGE fi cid=$(docker run --privileged -d -v ${PWD}:/src/conjur-policy-parser $DOCKER_IMAGE) function finish { if [ "$NOKILL" != "1" ]; then docker rm -f ${cid} fi } trap finish EXIT >&2 echo "Container id:" >&2 echo $cid else cid=${CONJUR_CONTAINER} fi docker exec -i ${cid} /src/conjur-policy-parser/ci/test.sh
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-policy-parser-0.12.0 | jenkins.sh |