Try integration with Docker executor and the 'user' fix
@@ -26,17 +26,22 @@ jobs:
# Run Integration tests
integration:
- machine: true
+ docker:
+ - image: circleci/python:2.7
+ - image: mongo:3.4
+ - image: rabbitmq:3
working_directory: ~/st2
steps:
- checkout
- run:
- name: Prepare the environment
+ # Download the mongo shell, needed to connect to Docker container + delete the DB
+ name: Install Mongo Shell
command: |
set -x
- sudo .circle/install-mongo.sh
- sudo .circle/configure-rabbitmq.sh
- sudo apt-get -qq -y install python-virtualenv python-dev
+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
+ echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
+ sudo apt-get -qq -y update
+ sudo apt-get -qq -y install mongodb-org-shell
- run:
name: Create stanley user
command: sudo .circle/add-itest-user.sh
