Sha256: 88afbca2d3afb6e801dbe37cf8f37ed9264da521247e59a6dfca56a04d6ef2db
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
.PHONY: build-run-docker test build-run-docker: gem build ./fakes3.gemspec | tee gem-build.txt gem push $$(grep '^ File: ' gem-build.txt | sed 's@^ File: @@') echo "Waiting for gem to appear in the repo" && \ v=$$(grep '^ File: ' gem-build.txt | sed -e 's@^ File: plntr-fakes3-@@' -e 's@\.gem$$@@') && \ until gem list plntr-fakes3 -r --prerelease | grep -w $${v}; do \ echo -n '.'; \ sleep 3; \ done && \ sleep 10s && echo v=$$(grep '^ File: ' gem-build.txt | sed -e 's@^ File: plntr-fakes3-@@' -e 's@\.gem$$@@') && \ sed -i "s/^PLNTR_FAKES3_VERSION=.*/PLNTR_FAKES3_VERSION=$${v}/" \ ~/dev/docker-image-fakes3/Makefile make -C ~/dev/docker-image-fakes3/ docker rm -f fakes3 || true docker run -ti --rm \ -e HOSTNAME=b2d \ -p 4567:4567 \ -v /tmp/s3:/s3 \ planitar/fakes3 run-docker: make -C ~/dev/docker-image-fakes3/ docker rm -f fakes3 || true docker run -ti --rm \ -e HOSTNAME=b2d \ -p 4567:4567 \ -v /tmp/s3:/s3 \ planitar/fakes3 build-test-container: docker build -t fake-s3 . test: build-test-container docker run --rm --add-host="posttest.localhost:127.0.0.1" -e "RUBYOPT=-W0" fake-s3 sh -c "rake test_server & rake test"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plntr-fakes3-1.0.0.pre.10alpha16 | Makefile |