-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 2.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: python
python: '2.7'
sudo: required
services:
- docker
dist: trusty
before_install:
- pip install --upgrade setuptools
- docker pull alpine
- docker create -v /cvmfs --name ansible_CODE-RADE-cvmfs_1 alpine /bin/true
- docker create -v /data/modules --name ansible_CODE-RADE-modules_1 alpine /bin/true
- docker create -v /data/artefacts --name ansible_CODE-RADE-repo_1 alpine /bin/true
- docker create -v /data/ci-build --name ansible_CODE-RADE-soft_1 alpine /bin/true
- docker create -v /data/src --name ansible_CODE-RADE-src_1 alpine /bin/true
install:
- mkdir $HOME/roles
- sudo git clone https://github.com/AAROC/CODE-RADE-container $HOME/roles/AAROC.CODE-RADE-container
# - git clone https://github.com/ansible/ansible-container
# - cd ansible-container
# - git checkout develop
# - virtualenv code-rade
# - source code-rade/bin/activate
- pip install ansible-container[docker]
before_script:
- docker pull quay.io/aaroc/ansible-ready-ubuntu14.04
- docker pull quay.io/aaroc/ansible-ready-ubuntu16.10
- docker pull quay.io/aaroc/ansible-ready-centos6
- docker pull quay.io/aaroc/ansible-ready-centos7
script:
- cd $HOME
- mkdir container
- cd container
- ansible-container init AAROC.CODE-RADE-build-containers
- ansible-container build --roles-path $HOME/roles --use-local-python
- ansible-container push --push-to quay
notifications:
slack:
secure: QCCWCP6qIE8Zb8gyFuyWChN7hhTLe5AyZN84ZEhpwIr0KIeYle2GgY9bLkn1l/9dO5wB9X+XSILXuN873mr+9ZYVaZ3fabnsPIdBEhBBOxUIGCKhqPnlaGaD5EH9D2id9iSgMOieszh0cwALImYLdjlj+5soLkpflE6UedwgmprxRegxxnurcsRHI7JZgW2KuZWWspCF09CBj/AMKbqeectlKy5+3Ii5N/GuQF34d/nXVUEuqCjCDBU0YHX44mIj2JPa2oO3zuG+MmVHQ0430H/BYwLFlWM8IIEWIRlMfk312w/PKgDTwfwI595f/XB9Y6AATvHm8lPhjnp/jtLx83nv5fz80EXfLa4q4C92FQ6vDuHU6C0Eo7GtP4nKqEvSrK9IIRLpYhGU22LbXp2iKds22PI4V5aYojiSKOMSl9QHN0rNR7jJNJS4hFKF+BNpLujm8gjlWs+e084dGyTyP26rMD7wmSeJHHtOD2aB4O8TEwcvgzuMBhKJahYcpYAfJOYhHDCSS+jaUTcq5u/C2bOZR7wFYv3exMpg7T0k1OgONEX2NLbHXKygqn7Mgt62Kp49Y0aH0tdYcvwyc/nKAdXEBv3ZZcL99PU0a9brAKuhhoceHv+rwyJe19pKHBRMZ4RUK7Bejz6tVoX7gpM731W7JssVuIh6wJ8Jd9tl1l0=