Skip to content

Commit 2d0f3f1

Browse files
committed
Merge pull request #22 from armab/7-initial-ci
Closes #7: Minimal CI tests
2 parents 717f946 + a673e88 commit 2d0f3f1

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Ansible playbooks to deploy [StackStorm](https://github.com/stackstorm/st2).
44
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.
55
Aka IFTTT orchestration for Ops.
66

7+
[![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)
8+
79
## Supported platforms
810
* Ubuntu 12.04
911
* Ubuntu 14.04

circle.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
machine:
2+
environment:
3+
ANSIBLE_FORCE_COLOR: 1
4+
PYTHONUNBUFFERED: 1
5+
pre:
6+
# use aptitude to remove dependencies
7+
- sudo aptitude remove -y postgresql
8+
- sudo aptitude remove -y ~nrabbitmq
9+
- sudo aptitude remove -y ~nmongo
10+
- sudo aptitude remove -y ~nmysql-
11+
12+
dependencies:
13+
pre:
14+
- sudo pip install ansible
15+
- ansible --version
16+
17+
test:
18+
pre:
19+
- echo localhost > inventory
20+
override:
21+
- ansible-playbook -i inventory --syntax-check playbooks/st2express.yaml
22+
- ansible-playbook -i inventory --connection=local -vv playbooks/st2express.yaml
23+
- st2 --version

roles/mistral/tasks/install_deps.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@
1212
- libxslt1-dev
1313
- python-dev
1414
- python-pip
15-
- python-virtualenv
1615
- libmysqlclient-dev

roles/st2/tasks/4.dependencies.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@
99
- git
1010
- python-dev
1111
- python-pip
12-
- python-virtualenv
1312
- realpath
1413
tags: [st2, dependencies]
1514

15+
- name: dependencies | Install pip virtualenv
16+
sudo: true
17+
pip:
18+
name: virtualenv
19+
tags: [st2, dependencies]
20+
1621
- name: dependencies | Install st2 pip dependencies
1722
sudo: true
1823
pip:

0 commit comments

Comments
 (0)