Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Docker Based Tests #8

Merged
merged 1 commit into from
May 22, 2017
Merged

Docker Based Tests #8

merged 1 commit into from
May 22, 2017

Conversation

seanson
Copy link
Contributor

@seanson seanson commented May 20, 2017

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

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
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link
Contributor

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]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@mattrasband mattrasband merged commit b1048ec into master May 22, 2017
@mattrasband mattrasband deleted the test-deploy branch May 22, 2017 04:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants