Skip to content

Commit

Permalink
Merge pull request #15 from idealista/develop
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
adrian-arapiles authored Feb 3, 2022
2 parents 770af53 + 0cad9ee commit 6d12e50
Show file tree
Hide file tree
Showing 34 changed files with 998 additions and 589 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
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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ tests/__pycache__
.vagrant
venv/
*.pyc
Pipfile
Pipfile.lock
.idea
28 changes: 15 additions & 13 deletions .travis.yml
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]
30 changes: 22 additions & 8 deletions .yamllint
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
35 changes: 26 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,46 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

## [Unreleased]

[Full Changelog](https://github.com/idealista/consul_keystore-role/compare/master...develop)
[Full Changelog](https://github.com/idealista/consul_keystore_role/compare/master...develop)

## [2.0.0] 2022-02-03

### Added
- *[#13](https://github.com/idealista/consul_keystore_role/issues/13) Support for put entire yml files to consul keystore* @adrian-arapiles
- *Added tests for entire yml put on consul keystore* @adrian-arapiles
- *Add ansible-lint and improve yamllint* @adrian-arapiles
- *Add migrate guide from 1.x.x to 2.0.0* @adrian-arapiles

### Changed
- *Improve task to avoid unnecessary skipped or loops* @adrian-arapiles
- *Update test-requirements and deleted 2.7 python* @adrian-arapiles
- *Add test for debian buster environment* @adrian-arapiles
- *Update molecule tests and test files* @adrian-arapiles
- *Rename from `consul_keystore-role` to `consul_keystore_role` as ansible recommendations* @adrian-arapiles
- *Replace module `consul_keystore` committed in repo in favour of `consul_kv` official module* @adrian-arapiles

## [1.0.2] - 2018-12-18

### Fixed

- *[#10](https://github.com/idealista/consul-keystore_role/issues/10) Fix problem removing properties in python 3* @jmonterrubio
- *[#10](https://github.com/idealista/consul_keystore_role/issues/10) Fix problem removing properties in python 3* @jmonterrubio

## [1.0.1] - 2018-11-13

### Fixed

- *[#8](https://github.com/idealista/consul-keystore_role/issues/8) Fix problem with empty lines and comments in .properties file* @jmonterrubio
- *[#3](https://github.com/idealista/consul-keystore_role/issues/3) Fix property is ansible changed if no value is setted* @jmonterrubio
- *[#4](https://github.com/idealista/consul-keystore_role/issues/4) Fix boolean values converted with capital letter* @jmonterrubio
- *[#8](https://github.com/idealista/consul_keystore_role/issues/8) Fix problem with empty lines and comments in .properties file* @jmonterrubio
- *[#3](https://github.com/idealista/consul_keystore_role/issues/3) Fix property is ansible changed if no value is setted* @jmonterrubio
- *[#4](https://github.com/idealista/consul_keystore_role/issues/4) Fix boolean values converted with capital letter* @jmonterrubio

## [1.0.0] - 2018-10-10

### Added

*Initial version* @jmonterrubio

[1.0.2]: https://github.com/idealista/consul_keystore-role/tree/1.0.2
[1.0.1]: https://github.com/idealista/consul_keystore-role/tree/1.0.1
[1.0.0]: https://github.com/idealista/consul_keystore-role/tree/1.0.0
[Unreleased]: https://github.com/idealista/consul_keystore-role/tree/develop
[2.0.0]: https://github.com/idealista/consul_keystore_role/tree/2.0.0
[1.0.2]: https://github.com/idealista/consul_keystore_role/tree/1.0.2
[1.0.1]: https://github.com/idealista/consul_keystore_role/tree/1.0.1
[1.0.0]: https://github.com/idealista/consul_keystore_role/tree/1.0.0
[Unreleased]: https://github.com/idealista/consul_keystore_role/tree/develop
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 = "==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"
Loading

0 comments on commit 6d12e50

Please sign in to comment.