-
Notifications
You must be signed in to change notification settings - Fork 9
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 #28 from idealista/develop
Develop
- Loading branch information
Showing
26 changed files
with
826 additions
and
199 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 | ||
parseable: true | ||
skip_list: | ||
- '204' | ||
- '503' | ||
- '303' | ||
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
.molecule | ||
.vagrant | ||
.cache/ | ||
tests/__pycache__/ | ||
tests/playbook.retry | ||
.python-version | ||
tests/.cache | ||
__pycache__ | ||
.pytest_cache | ||
.molecule | ||
.cache | ||
|
||
*.iml | ||
.idea | ||
.project | ||
|
||
*.pyc | ||
**/.vscode |
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 @@ | ||
--- | ||
language: python | ||
python: "3.7" | ||
os: linux | ||
services: | ||
- docker | ||
install: | ||
- pip install pipenv | ||
- pipenv sync | ||
env: | ||
jobs: | ||
- MOLECULE_DISTRO=idealista/jdk:8u252-stretch-openjdk-headless | ||
script: | ||
- pipenv run molecule test | ||
|
||
notifications: | ||
webhooks: https://galaxy.ansible.com/api/v1/notifications/ |
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,30 @@ | ||
--- | ||
# Based on ansible-lint config | ||
extends: default | ||
|
||
ignore: | | ||
molecule/**/tests/ | ||
|
||
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 | ||
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,15 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
|
||
[packages] | ||
ansible = "==2.9.14" | ||
ansible-lint = "==4.2.0" | ||
molecule = "==3.0.4" | ||
docker = "==4.2.2" | ||
|
||
[requires] | ||
python_version = "3.7" |
Large diffs are not rendered by default.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
# Molecule managed | ||
|
||
{% if item.registry is defined %} | ||
FROM {{ item.registry.url }}/{{ item.image }} | ||
{% else %} | ||
FROM {{ item.image }} | ||
{% endif %} | ||
|
||
# install minimal packages for debian slim images | ||
RUN apt-get update && \ | ||
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python-pip curl && \ | ||
apt-get clean |
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,7 @@ | ||
--- | ||
|
||
- name: Converge | ||
hosts: all | ||
roles: | ||
- role: java | ||
- role: wildfly-role |
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,33 @@ | ||
--- | ||
|
||
dependency: | ||
name: galaxy | ||
driver: | ||
name: docker | ||
lint: | | ||
yamllint . | ||
ansible-lint . | ||
platforms: | ||
- name: wildfly | ||
groups: | ||
- wildfly | ||
image: ${MOLECULE_DISTRO:-idealista/jdk:8u252-stretch-openjdk-headless} | ||
privileged: false | ||
command: '/lib/systemd/systemd' | ||
capabilities: | ||
- SYS_ADMIN | ||
volumes: | ||
- '/sys/fs/cgroup:/sys/fs/cgroup:ro' | ||
tmpfs: | ||
- '/run' | ||
- '/run/lock' | ||
- '/tmp' | ||
|
||
provisioner: | ||
name: ansible | ||
lint: | ||
name: ansible-lint | ||
verifier: | ||
name: ansible | ||
directory: ./tests |
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,4 @@ | ||
--- | ||
- src: idealista.java_role | ||
version: 5.1.0 | ||
name: java |
File renamed without changes.
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 @@ | ||
--- | ||
|
||
group: | ||
wildfly: | ||
exists: true | ||
|
||
user: | ||
wildfly: | ||
exists: true | ||
groups: | ||
- wildfly | ||
|
||
port: | ||
tcp:8080: | ||
listening: true | ||
ip: | ||
- 0.0.0.0 |
Oops, something went wrong.