-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
Issue #6 This commit changes the Travic CI pipeline to run ansible in a docker container and additionally tests the deployment tasks. Updated README.md to contain new test script
@@ -3,7 +3,7 @@ | |||
hosts: testserver | |||
roles: | |||
- role: setup-server | |||
tags: setup-server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that you removed these, since currently they don't really add any value
@@ -0,0 +1,11 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should add a bin
directory, since my guess is over time we will have a number of scripts assembled like this. Though not an issue for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely a good idea, or migrating the test execution to a custom setup.py
command
@@ -8,7 +8,7 @@ | |||
- Restart pythondev | |||
when: systemd_enabled == true | |||
|
|||
- name: Restart pythondev | |||
- name: Restart pythondev-site |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you may have missed other references to this name, such as on line 8 of this same file. Either that or we just have two redundant tasks here (which is probably the case)
@@ -1,2 +1,5 @@ | |||
[sirbot] | |||
pythondev-01 | |||
|
|||
[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Issue #6
This commit changes the Travic CI pipeline to run ansible in a docker container and additionally tests the deployment tasks.
Updated README.md to contain new test script