Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal CI tests #22

Merged
merged 8 commits into from
Aug 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Ansible playbooks to deploy [StackStorm](https://github.com/stackstorm/st2).
With over [50+ integrations](https://github.com/StackStorm/st2contrib/tree/master/packs) like GitHub, Docker, Nagios, NewRelic, AWS, Ansible it allows you to wire together your existing infrastructure into complex Workflows with auto-remediation and many more.
Aka IFTTT orchestration for Ops.

[![Circle CI Build Status](https://circleci.com/gh/StackStorm/ansible-st2/tree/master.svg?style=shield)](https://circleci.com/gh/StackStorm/ansible-st2/tree/master)

## Supported platforms
* Ubuntu 12.04
* Ubuntu 14.04
Expand Down
23 changes: 23 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
machine:
environment:
ANSIBLE_FORCE_COLOR: 1
PYTHONUNBUFFERED: 1
pre:
# use aptitude to remove dependencies
- sudo aptitude remove -y postgresql
- sudo aptitude remove -y ~nrabbitmq
- sudo aptitude remove -y ~nmongo
- sudo aptitude remove -y ~nmysql-

dependencies:
pre:
- sudo pip install ansible
- ansible --version

test:
pre:
- echo localhost > inventory
override:
- ansible-playbook -i inventory --syntax-check playbooks/st2express.yaml
- ansible-playbook -i inventory --connection=local -vv playbooks/st2express.yaml
- st2 --version
1 change: 0 additions & 1 deletion roles/mistral/tasks/install_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@
- libxslt1-dev
- python-dev
- python-pip
- python-virtualenv
- libmysqlclient-dev
7 changes: 6 additions & 1 deletion roles/st2/tasks/4.dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@
- git
- python-dev
- python-pip
- python-virtualenv
- realpath
tags: [st2, dependencies]

- name: dependencies | Install pip virtualenv
sudo: true
pip:
name: virtualenv
tags: [st2, dependencies]

- name: dependencies | Install st2 pip dependencies
sudo: true
pip:
Expand Down