-
Notifications
You must be signed in to change notification settings - Fork 11
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 #64 from idealista/develop
Develop
- Loading branch information
Showing
15 changed files
with
613 additions
and
352 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,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,20 +1,18 @@ | ||
--- | ||
dist: bionic | ||
language: python | ||
python: "3.7" | ||
os: linux | ||
python: "3.9" | ||
sudo: required | ||
services: | ||
- docker | ||
install: | ||
- pip install pipenv | ||
- pipenv sync | ||
env: | ||
jobs: | ||
- MOLECULE_DISTRO=debian:bullseye-slim | ||
- MOLECULE_DISTRO=debian:buster-slim | ||
- MOLECULE_DISTRO=debian:stretch-slim | ||
- MOLECULE_DISTRO=debian:jessie-slim | ||
script: | ||
- pipenv run molecule test --all | ||
- pipenv run molecule test --all --destroy always | ||
|
||
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
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,15 +1,17 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
name = "pypi" | ||
|
||
[packages] | ||
ansible = "==2.9.9" | ||
molecule = "==3.0.4" | ||
docker = "==4.1.0" | ||
ansible = "==5.0.1" | ||
molecule = "==3.5.2" | ||
molecule-docker = "==1.1.0" | ||
docker = "==4.4.4" | ||
ansible-lint = "==4.2.0" | ||
yamllint = "==1.29.0" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,7 @@ galaxy_info: | |
platforms: | ||
- name: Debian | ||
versions: | ||
- jessie | ||
- stretch | ||
- buster | ||
- bullseye | ||
galaxy_tags: | ||
- monitoring |
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,13 +1,22 @@ | ||
# Molecule managed | ||
|
||
{% if item.registry is defined %} | ||
FROM {{ item.registry.url }}/{{ item.image }} | ||
FROM --platform=linux/amd64 {{ item.registry.url }}/{{ item.image }} | ||
{% else %} | ||
FROM {{ item.image }} | ||
FROM --platform=linux/amd64 {{ item.image }} | ||
{% endif %} | ||
|
||
# install minimal packages for debian slim images | ||
{% if 'bullseye' in item.image %} | ||
RUN apt-get update && \ | ||
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python-pip && \ | ||
DEBIAN_FRONTEND="noninteractive" apt-get install -y python3 sudo bash ca-certificates iproute2 systemd systemd-sysv python3-pip python3-lxml && \ | ||
update-alternatives --install /usr/bin/python python /usr/bin/python3 0 &&\ | ||
apt-get clean | ||
RUN mkdir -p /usr/share/man/man1 | ||
{% else %} | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt-get install -y -q python3 sudo bash ca-certificates iproute2 systemd systemd-sysv python3-lxml && \ | ||
apt-get clean | ||
{% endif %} | ||
|
||
STOPSIGNAL SIGRTMIN+3 | ||
RUN systemctl set-default multi-user.target |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
- src: idealista.java_role | ||
version: 5.1.0 | ||
version: 8.0.0 | ||
name: java_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
# Molecule managed | ||
|
||
{% if item.registry is defined %} | ||
FROM {{ item.registry.url }}/{{ item.image }} | ||
FROM --platform=linux/amd64 {{ item.registry.url }}/{{ item.image }} | ||
{% else %} | ||
FROM {{ item.image }} | ||
FROM --platform=linux/amd64 {{ item.image }} | ||
{% endif %} | ||
|
||
# install minimal packages for debian slim images | ||
{% if 'bullseye' in item.image %} | ||
RUN apt-get update && \ | ||
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python-pip && \ | ||
DEBIAN_FRONTEND="noninteractive" apt-get install -y python3 sudo bash ca-certificates iproute2 systemd systemd-sysv python3-pip python3-lxml && \ | ||
update-alternatives --install /usr/bin/python python /usr/bin/python3 0 &&\ | ||
apt-get clean | ||
RUN mkdir -p /usr/share/man/man1 | ||
{% else %} | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND="noninteractive" apt-get install -y -q python3 sudo bash ca-certificates iproute2 systemd systemd-sysv python3-lxml && \ | ||
apt-get clean | ||
{% endif %} | ||
|
||
STOPSIGNAL SIGRTMIN+3 | ||
RUN systemctl set-default multi-user.target |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
- src: idealista.java_role | ||
version: 5.1.0 | ||
version: 8.0.0 | ||
name: java_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
ansible==2.9.9 | ||
ansible==5.0.1 | ||
molecule==3.5.2 | ||
molecule-docker==1.1.0 | ||
docker==4.4.4 | ||
ansible-lint==4.2.0 | ||
molecule==3.0.4 | ||
docker==4.1.0 | ||
yamllint==1.29.0 |
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,7 +1,7 @@ | ||
--- | ||
|
||
jmx_exporter_bin_name: "jmx_prometheus_httpserver-{{ jmx_exporter_version }}-jar-with-dependencies.jar" | ||
jmx_exporter_url: "https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/{{ jmx_exporter_version }}/{{ jmx_exporter_bin_name }}" | ||
jmx_exporter_default_url: "https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/{{ jmx_exporter_version }}/{{ jmx_exporter_bin_name }}" | ||
|
||
jmx_exporter_jar_file: "jmx_exporter.jar" | ||
jmx_exporter_main_class: "io.prometheus.jmx.WebServer" |