.circleci/config.yml in lazylead-0.1.1 vs .circleci/config.yml in lazylead-0.1.2
- old
+ new
@@ -9,23 +9,25 @@
steps:
- checkout
- run: |
apk add libc-dev gcc make git sqlite sqlite-dev sqlite-libs
bundler install
- - run: rake test rubocop xcop
+ - run: bundle exec rake test rubocop sqlint xcop
deploy:
machine: true
steps:
- checkout
# build the application image
- run:
name: "Build docker image"
command: |
set -e
- COMMIT_URL="https://github.com/dgroup/rll/commit/${CIRCLE_SHA1}"
- docker build --build-arg release_tags="${CIRCLE_SHA1}, ${CIRCLE_BRANCH}, ${COMMIT_URL}" \
+ COMMIT_URL="https://github.com/dgroup/lazylead/commit/${CIRCLE_SHA1}"
+ docker build --build-arg release_tags="${CIRCLE_SHA1}, ${CIRCLE_BRANCH}, ${COMMIT_URL}" --build-arg version="${DOCKER_RELEASE_TAGS:7}" \
-t dgroup/lazylead:$CIRCLE_BRANCH . \
-f .docker/Dockerfile
+ echo "Available LL images:"
+ docker images | grep lazylead
docker run --rm dgroup/lazylead:${CIRCLE_BRANCH} bin/lazylead --verbose > trace.log
cat trace.log
expected="No tasks found"
echo "Ensure that app prints the line '${expected}'."
grep --color "${expected}" trace.log