-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from idealista/develop
Release 2.0.0
- Loading branch information
Showing
34 changed files
with
998 additions
and
589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
exclude_paths: | ||
- ./molecule | ||
- ./.travis.yml | ||
- ./.github | ||
parseable: true | ||
skip_list: | ||
- '204' | ||
use_default_rules: true | ||
verbosity: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.yml linguist-detectable=true | ||
*.yaml linguist-detectable=true | ||
*.html linguist-detectable=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,4 @@ tests/__pycache__ | |
.vagrant | ||
venv/ | ||
*.pyc | ||
Pipfile | ||
Pipfile.lock | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
--- | ||
dist: xenial | ||
language: python | ||
sudo: required | ||
|
||
python: "3.7" | ||
os: linux | ||
services: | ||
- docker | ||
|
||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: REQUIREMENTS=test-requirements-27.txt | ||
- python: 3.6 | ||
env: REQUIREMENTS=test-requirements-36.txt | ||
fast_finish: true | ||
|
||
install: | ||
- pip install pipenv | ||
- pipenv install -r $REQUIREMENTS | ||
- pipenv sync | ||
env: | ||
jobs: | ||
- MOLECULE_DISTRO=debian:stretch-slim | ||
- MOLECULE_DISTRO=debian:buster-slim | ||
script: | ||
- pipenv run molecule test | ||
- pipenv run molecule test --all | ||
|
||
notifications: | ||
webhooks: https://galaxy.ansible.com/api/v1/notifications/ | ||
email: | ||
if: branch = main | ||
on_success: change | ||
on_failure: always | ||
recipients: | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,32 @@ | ||
|
||
--- | ||
# Based on ansible-lint config | ||
extends: default | ||
|
||
ignore: | | ||
molecule/**/tests/ | ||
.github | ||
.travis.yml | ||
|
||
rules: | ||
braces: | ||
max-spaces-inside: 1 | ||
level: error | ||
brackets: | ||
max-spaces-inside: 1 | ||
level: error | ||
colons: | ||
max-spaces-after: -1 | ||
level: error | ||
commas: | ||
max-spaces-after: -1 | ||
level: error | ||
empty-lines: | ||
max: 3 | ||
level: error | ||
hyphens: | ||
level: error | ||
key-duplicates: enable | ||
line-length: disable | ||
# NOTE(retr0h): Templates no longer fail this lint rule. | ||
# Uncomment if running old Molecule templates. | ||
# truthy: disable | ||
|
||
ignore: | | ||
.molecule/ | ||
molecule/ | ||
new-lines: | ||
type: unix | ||
truthy: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
ansible = "==2.10.7" | ||
molecule = "==3.1.5" | ||
molecule-docker = "==0.2.4" | ||
docker = "==4.4.4" | ||
ansible-lint = "==5.1.2" | ||
yamllint = "==1.26.2" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.7" |
Oops, something went wrong.