Skip to content

Commit ff74b7f

Browse files
committed
adjust ansible and travis configuration to new docker containers
1 parent 3faa596 commit ff74b7f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ script:
3535
- isort --check --settings-file mapswipe_workers/setup.cfg mapswipe_workers
3636
- docker-compose up --build --detach firebase_deploy
3737
- docker-compose up --build --detach postgres
38-
- docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/unittests/
39-
- docker-compose run mapswipe_workers python -m unittest discover --verbose --start-directory tests/integration/
38+
- docker-compose run mapswipe_workers_creation python -m unittest discover --verbose --start-directory tests/unittests/
39+
- docker-compose run mapswipe_workers_creation python -m unittest discover --verbose --start-directory tests/integration/
4040

4141
after_success:
4242
# SSH setup to deploy to server after build.

ansible/playbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
dest: $HOME/python-mapswipe-workers
1010
version: dev
1111
- name: Rebuild Docker container.
12-
command: docker-compose build postgres firebase_deploy mapswipe_workers manager_dashboard nginx api
12+
command: docker-compose build postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_stats manager_dashboard nginx api
1313
args:
1414
chdir: $HOME/python-mapswipe-workers
1515
- name: Restart Docker container.
16-
command: docker-compose up -d --force-recreate postgres firebase_deploy mapswipe_workers manager_dashboard nginx api
16+
command: docker-compose up -d --force-recreate postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_stats manager_dashboard nginx api
1717
args:
1818
chdir: $HOME/python-mapswipe-workers

recreate_container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# This script builds and starts all Docker container for running the Mapswipe ecosystem.
33
# It is run either manually or by an Ansible Playbook after a successful Travis build.
44

5-
docker-compose build --no-cache postgres firebase_deploy mapswipe_workers manager_dashboard nginx api
5+
docker-compose build --no-cache postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_stats manager_dashboard nginx api
66
if [[ $? = 0 ]]; then
77
echo "success"
88
else
99
echo "failure: $?"
1010
exit
1111
fi
1212

13-
docker-compose up -d --force-recreate postgres firebase_deploy mapswipe_workers manager_dashboard nginx api
13+
docker-compose up -d --force-recreate postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_stats manager_dashboard nginx api
1414
if [[ $? = 0 ]]; then
1515
echo "success"
1616
else

0 commit comments

Comments
 (0)