Sha256: a7bed36facc08e13c3add5d3eba67c5764e80553f78475c915303b65778fec16

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

#!/bin/bash -xe

iid=slosilo-test-$(date +%s)

docker build -t $iid -f - . << EOF
  FROM ruby
  WORKDIR /app
  COPY Gemfile slosilo.gemspec ./
  RUN bundle
  COPY . ./
  RUN bundle
EOF

cidfile=$(mktemp -u)
docker run --cidfile $cidfile -v /app/spec/reports $iid bundle exec rake jenkins || :

cid=$(cat $cidfile)

docker cp $cid:/app/spec/reports spec/
docker rm $cid

# untag, will use cache next time if available but no junk will be left
docker rmi $iid

rm $cidfile

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slosilo-2.2.1 test.sh
slosilo-2.1.1 test.sh