Skip to content

Commit

Permalink
Merge pull request #22 from armab/7-initial-ci
Browse files Browse the repository at this point in the history
Closes #7: Minimal CI tests
  • Loading branch information
armab committed Aug 26, 2015
2 parents 717f946 + a673e88 commit 2d0f3f1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
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

0 comments on commit 2d0f3f1

Please sign in to comment.