Sha256: 08374c9489055b7f713309432d7e8dd5449c4b4bb79c90b5e3fdf13ac13f3b54

Contents?: true

Size: 619 Bytes

Versions: 8

Compression:

Stored size: 619 Bytes

Contents

#!/bin/bash -ex

CONJUR_VERSION=${CONJUR_VERSION:-"5.0"}
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-asset-policy $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-asset-policy/ci/test.sh

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
conjur-asset-policy-0.13.0 jenkins.sh
conjur-asset-policy-0.12.0 jenkins.sh
conjur-asset-policy-0.11.0 jenkins.sh
conjur-asset-policy-0.8.3 jenkins.sh
conjur-asset-policy-0.8.2 jenkins.sh
conjur-asset-policy-0.8.1 jenkins.sh
conjur-asset-policy-0.8.0 jenkins.sh
conjur-asset-policy-0.7.1 jenkins.sh