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

Commit 9ff59f4

Browse files
authored
Merge pull request #6 from cloudalchemy/skeleton
Synchronize files from cloudalchemy/skeleton
2 parents 2759aa4 + f70b777 commit 9ff59f4

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
install:
1717
- pip3 install tox-travis git-semver
1818
script:
19-
- tox
19+
- ./.travis/test.sh
2020
deploy:
2121
provider: script
2222
skip_cleanup: true

.travis/test.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
if [ ! -d "./molecule/latest" ]; then
6+
tox
7+
exit 0
8+
fi
9+
10+
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
11+
tox -- molecule test --all --destroy never
12+
else
13+
tox -- molecule test -s default --destroy always
14+
if [ -d "./molecule/alternative" ]; then
15+
tox -- molecule test -s alternative --destroy never
16+
fi
17+
fi

CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,12 @@ Remember: Code is generally read much more often than written.
9090
### Use Markdown
9191

9292
Wherever possible, please refrain from any other formats and stick to simple markdown.
93+
94+
## Requirements regarding roles design
95+
96+
We are trying to create the best and most secure installation method for non-containerized prometheus stack components.
97+
To accomplish this all roles need to support:
98+
99+
- current and at least one previous ansible version (wherever possible we try to support 2 previous ansible versions)
100+
- systemd as the only available process manager
101+
- at least latest debian and CentOS distributions

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ galaxy_info:
1313
- xenial
1414
- name: Debian
1515
versions:
16-
- jessie
1716
- stretch
17+
- buster
1818
- name: EL
1919
versions:
2020
- 7

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ docker
33
ansible-lint>=3.4.0
44
testinfra>=1.7.0
55
jmespath
6+
selinux

0 commit comments

Comments
 (0)