Skip to content

Commit

Permalink
Merge pull request #27 from idealista/develop
Browse files Browse the repository at this point in the history
Release 1.3.0
  • Loading branch information
Francisco Javier Tsao Santín authored May 24, 2021
2 parents 6784c0b + 36ab52b commit 8f0f59c
Show file tree
Hide file tree
Showing 23 changed files with 743 additions and 183 deletions.
10 changes: 10 additions & 0 deletions .ansible-lint
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
19 changes: 0 additions & 19 deletions .circleci/config.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
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
20 changes: 12 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Retry files after playbook failures
*.retry

tests/playbook.retry
tests/.cache
__pycache__
.pytest_cache
.molecule
.cache

# Tests folders
*.molecule
*.cache
*.vagrant
*.iml
.idea
.project

# Pipenv
Pipfile*
*.pyc
**/.vscode
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
dist: xenial
language: python
python: "3.9"
os: linux
services:
- docker
install:
- pip install pipenv
- pipenv sync
env:
global:
- PY_COLOR=1
- ANSIBLE_FORCE_COLOR=1
script:
- 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]
28 changes: 22 additions & 6 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,16 +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: |
tests/
new-lines:
type: unix
truthy: disable
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

## [Unreleased](https://github.com/idealista/jira_role/tree/develop)

## [1.3.0](https://github.com/idealista/jira_role/tree/1.3.0)
[Full Changelog](https://github.com/idealista/jira_role/compare/1.2.0...1.3.0)
# Added
- Updated tests
- *[#25](https://github.com/idealista/jira_role/issues/25) Added template path variables
- *[#25](https://github.com/idealista/jira_role/issues/25) Improved systemd config template

## [1.2.0](https://github.com/idealista/jira_role/tree/1.2.0)
[Full Changelog](https://github.com/idealista/jira_role/compare/1.1.0...1.2.0)

Expand Down
17 changes: 17 additions & 0 deletions Pipfile
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 = "==4.0.0"
molecule = "==3.3.2"
docker = "==5.0.0"
ansible-lint = "==5.0.9"
molecule-docker = "==0.2.4"
yamllint = "==1.26.1"

[dev-packages]

[requires]
python_version = "3.9"
Loading

0 comments on commit 8f0f59c

Please sign in to comment.