Switching docs generation over to kubos-docs container. Playing with making the tests run in parallel...
@@ -5,17 +5,21 @@ machine:
dependencies:
override:
- docker pull kubos/kubos-dev:latest
+ - if [ $CIRCLE_BRANCH = 'master' ]; then docker pull kubos/kubos-docs:latest; fi
test:
override:
- docker run -t --env CIRCLE_BRANCH=$CIRCLE_BRANCH -v $PWD:$PWD kubos/kubos-dev:latest python $PWD/test/integration/integration_test.py
+ parallel: true
- docker run -t --env CIRCLE_BRANCH=$CIRCLE_BRANCH --env CIRCLE_ARTIFACTS=$CIRCLE_ARTIFACTS -v $PWD:$PWD -v $CIRCLE_ARTIFACTS:$CIRCLE_ARTIFACTS --workdir $PWD kubos/kubos-dev:latest python -m tools.ci.lint
+ parallel: true
- docker run -t --env CIRCLE_BRANCH=$CIRCLE_BRANCH -v $PWD:$PWD kubos/kubos-dev:latest /sbin/my_init -- python $PWD/tools/build.py --all-tests
+ parallel: true
deployment:
production:
branch: master
commands:
- ./deploy.sh
- - docker run -t -v $PWD:$PWD --workdir $PWD kubos/kubos-dev:latest sh prep_docs.sh
+ - docker run -t -v $PWD:$PWD --workdir $PWD kubos/kubos-docs:latest sh prep_docs.sh
- ./deploy_docs.sh
