Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit 7a4ec82

Browse files
authored
Merge pull request #376 from sdarwin/molecule
Fix CircleCI
2 parents aa95978 + 4d2c8d7 commit 7a4ec82

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

.circleci/config.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,25 @@ jobs:
3131
- run: ln -s ~/project ~/${CIRCLE_PROJECT_REPONAME}
3232
- run: pip install "ansible~=<<parameters.ansible >>.0"
3333
- run: pip install -r test-requirements.txt
34-
- run: molecule test -s default --destroy always
35-
- run: |
36-
if [[ -d 'molecule/alternative' ]]; then
37-
molecule test -s alternative --destroy always
38-
else
39-
echo 'No alternative test'
40-
fi
41-
- run: |
42-
if [[ -z "${CIRCLE_PULL_REQUEST}" ]] && [[ -d 'molecule/latest' ]]; then
43-
molecule test -s latest --destroy always
44-
else
45-
echo 'Not running latest on PR'
46-
fi
34+
- run:
35+
no_output_timeout: 60m
36+
command: molecule test -s default --destroy always
37+
- run:
38+
no_output_timeout: 60m
39+
command: |
40+
if [[ -d 'molecule/alternative' ]]; then
41+
molecule test -s alternative --destroy always
42+
else
43+
echo 'No alternative test'
44+
fi
45+
- run:
46+
no_output_timeout: 60m
47+
command: |
48+
if [[ -z "${CIRCLE_PULL_REQUEST}" ]] && [[ -d 'molecule/latest' ]]; then
49+
molecule test -s latest --destroy always
50+
else
51+
echo 'Not running latest on PR'
52+
fi
4753
release:
4854
executor: publisher
4955
steps:

molecule/alternative/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
hosts: all
44
any_errors_fatal: true
55
roles:
6-
- ansible-prometheus
6+
- cloudalchemy.prometheus
77
vars:
88
prometheus_binary_local_dir: '/tmp/prometheus-linux-amd64'
99
prometheus_config_dir: /opt/prom/etc

molecule/default/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
hosts: all
44
any_errors_fatal: true
55
roles:
6-
- ansible-prometheus
6+
- cloudalchemy.prometheus

molecule/latest/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
hosts: all
44
any_errors_fatal: true
55
roles:
6-
- ansible-prometheus
6+
- cloudalchemy.prometheus
77
vars:
88
prometheus_version: latest

0 commit comments

Comments
 (0)