You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-19Lines changed: 4 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Deploy prometheus [node exporter](https://github.com/prometheus/node_exporter) u
17
17
18
18
## Requirements
19
19
20
-
- Ansible >= 2.9 (It might work on previous versions, but we cannot guarantee it)
20
+
- Ansible >= 2.7 (It might work on previous versions, but we cannot guarantee it)
21
21
- gnu-tar on Mac deployer host (`brew install gnu-tar`)
22
22
- Passlib is required when using the basic authentication feature (`pip install passlib[bcrypt]`)
23
23
@@ -85,26 +85,11 @@ We provide demo site for full monitoring solution based on prometheus and grafan
85
85
86
86
## Local Testing
87
87
88
-
The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/metacloud/molecule) (v2.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable for your system.
89
-
We are using tox to simplify the process of testing on multiple ansible versions. To install tox execute:
90
-
```sh
91
-
pip3 install tox
92
-
```
93
-
To run tests on all ansible versions (WARNING: this can take some time)
94
-
```sh
95
-
tox
96
-
```
97
-
To run a custom molecule command on a custom environment with only default test scenario:
98
-
```sh
99
-
tox -e py35-ansible28 -- molecule test -s default
100
-
```
101
-
For more information about molecule go to their [docs](http://molecule.readthedocs.io/en/latest/).
102
-
103
-
If you would like to run tests on a remote docker host just specify `DOCKER_HOST` variable before running tox tests.
88
+
The preferred way of locally testing the role is to use Docker and [molecule](https://github.com/ansible-community/molecule) (v3.x). You will have to install Docker on your system. See "Get started" for a Docker package suitable to for your system. Running your tests is as simple as executing `molecule test`.
104
89
105
-
## Travis CI
90
+
## Continuous Intergation
106
91
107
-
Combining molecule and travis CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows creating test scenarios for different role configurations. As a result, we have a quite large test matrix which will take more time than local testing, so please be patient.
92
+
Combining molecule and circle CI allows us to test how new PRs will behave when used with multiple ansible versions and multiple operating systems. This also allows use to create test scenarios for different role configurations. As a result we have a quite large test matrix which can take more time than local testing, so please be patient.
0 commit comments