Sha256: b42ca031b166a2ec593d18f04aa5aa4732a42f32814b01d30b01e6425aab2bb0

Contents?: true

Size: 633 Bytes

Versions: 6

Compression:

Stored size: 633 Bytes

Contents

#!/bin/bash -e

mkdir -p tmp

function wait_for_conjur {
	docker pull registry.tld/wait-for-conjur
	docker run -i --rm --link $cid:conjur registry.tld/wait-for-conjur
}

PROJECT=conjur-asset-dsl2
BASE_IMAGE=registry.tld/conjur-appliance-cuke-master:4.6-stable
docker pull $BASE_IMAGE

cid_file=tmp/$PROJECT-dev.cid

docker build -t $PROJECT-dev -f Dockerfile.dev . 

docker run \
	-d \
	--cidfile=$cid_file \
	-v $PWD:/src/conjur-asset-dsl2 \
	$PROJECT-dev

cid=$(cat $cid_file)

function finish {
	rm -f $cid_file
	docker rm -f $cid
}

wait_for_conjur


trap finish EXIT

docker exec $cid bash -c "bundle exec rake jenkins" || true

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
conjur-asset-dsl2-0.4.4 jenkins.sh
conjur-asset-dsl2-0.4.3 jenkins.sh
conjur-asset-dsl2-0.4.2 jenkins.sh
conjur-asset-dsl2-0.3.2 jenkins.sh
conjur-asset-dsl2-0.3.1 jenkins.sh
conjur-asset-dsl2-0.3.0 jenkins.sh