mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-11-23 19:07:00 +01:00
#86 Change debian supported version stretch to bulleye
This commit is contained in:
parent
2406ba62c1
commit
b33689d3b5
@ -9,7 +9,7 @@ install:
|
|||||||
- pip3 install cookiecutter
|
- pip3 install cookiecutter
|
||||||
env:
|
env:
|
||||||
jobs:
|
jobs:
|
||||||
- MOLECULE_DISTRO=debian:stretch-slim
|
- MOLECULE_DISTRO=debian:bullseye-slim
|
||||||
- MOLECULE_DISTRO=debian:buster-slim
|
- MOLECULE_DISTRO=debian:buster-slim
|
||||||
script:
|
script:
|
||||||
- ./test.sh
|
- ./test.sh
|
||||||
|
@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
|
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
## [2.9.0](https://github.com/idealista/cookiecutter-ansible-role/tree/2.9.0)
|
||||||
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.8.1...2.9.0)
|
||||||
|
### Changed
|
||||||
|
- *[#86](https://github.com/idealista/cookiecutter-ansible-role/issues/86) Upgrade molecule config to test under debian bullseye #86* @sperez
|
||||||
## [2.8.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.8.1)
|
## [2.8.1](https://github.com/idealista/cookiecutter-ansible-role/tree/2.8.1)
|
||||||
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.8.0...2.8.1)
|
### [Full Changelog](https://github.com/idealista/cookiecutter-ansible-role/compare/2.8.0...2.8.1)
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -54,7 +54,7 @@ license [Apache 2.0]:
|
|||||||
galaxy_tag_1 [example_tag1]: github_cli
|
galaxy_tag_1 [example_tag1]: github_cli
|
||||||
galaxy_tag_2 [example_tag2]: github
|
galaxy_tag_2 [example_tag2]: github
|
||||||
galaxy_tag_3 [example_tag3]: cli
|
galaxy_tag_3 [example_tag3]: cli
|
||||||
Select debian_stretch_support:
|
Select debian_bullseye_support:
|
||||||
1 - True
|
1 - True
|
||||||
2 - False
|
2 - False
|
||||||
Choose from 1, 2 [1]:
|
Choose from 1, 2 [1]:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"galaxy_tag_1":"example_tag1",
|
"galaxy_tag_1":"example_tag1",
|
||||||
"galaxy_tag_2":"example_tag2",
|
"galaxy_tag_2":"example_tag2",
|
||||||
"galaxy_tag_3":"example_tag3",
|
"galaxy_tag_3":"example_tag3",
|
||||||
"debian_stretch_support":["True", "False"],
|
"debian_bullseye_support":["True", "False"],
|
||||||
"debian_buster_support":["True", "False"],
|
"debian_buster_support":["True", "False"],
|
||||||
"has_service":["True", "False"],
|
"has_service":["True", "False"],
|
||||||
"has_files":["True", "False"],
|
"has_files":["True", "False"],
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
This ansible role installs {% if cookiecutter.documentation_URL != "" %}[{% endif %}{{ cookiecutter.app_name | replace('_',' ') | title }}{% if cookiecutter.documentation_URL != "" %}]({{ cookiecutter.documentation_URL }}){% endif %} in a Debian environment. It has been tested for the following Debian versions:
|
This ansible role installs {% if cookiecutter.documentation_URL != "" %}[{% endif %}{{ cookiecutter.app_name | replace('_',' ') | title }}{% if cookiecutter.documentation_URL != "" %}]({{ cookiecutter.documentation_URL }}){% endif %} in a Debian environment. It has been tested for the following Debian versions:
|
||||||
{% if cookiecutter.debian_stretch_support == 'True' %}* Stretch{% endif %}
|
{% if cookiecutter.debian_bullseye_support == 'True' %}* Bulleye{% endif %}
|
||||||
{% if cookiecutter.debian_buster_support == 'True' %}* Buster{% endif %}
|
{% if cookiecutter.debian_buster_support == 'True' %}* Buster{% endif %}
|
||||||
|
|
||||||
This role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).
|
This role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).
|
||||||
|
@ -13,5 +13,5 @@ galaxy_info:
|
|||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
{% if cookiecutter.debian_stretch_support == 'True' %}- stretch{% endif %}
|
{% if cookiecutter.debian_bullseye_support == 'True' %}- bullseye{% endif %}
|
||||||
{% if cookiecutter.debian_buster_support == 'True' %}- buster{% endif %}
|
{% if cookiecutter.debian_buster_support == 'True' %}- buster{% endif %}
|
||||||
|
@ -8,5 +8,5 @@ FROM {{ item.image }}
|
|||||||
|
|
||||||
# install minimal packages for debian slim images
|
# install minimal packages for debian slim images
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python-pip && \
|
apt-get install -y python sudo bash ca-certificates iproute2 systemd systemd-sysv python3-pip && \
|
||||||
apt-get clean{% endraw %}
|
apt-get clean{% endraw %}
|
||||||
|
@ -10,7 +10,7 @@ platforms:
|
|||||||
- name: {{ cookiecutter.app_name }}
|
- name: {{ cookiecutter.app_name }}
|
||||||
groups:
|
groups:
|
||||||
- {{ cookiecutter.app_name }}_group
|
- {{ cookiecutter.app_name }}_group
|
||||||
image: ${MOLECULE_DISTRO:-debian:buster-slim}
|
image: ${MOLECULE_DISTRO:-debian:bullseye-slim}
|
||||||
privileged: false
|
privileged: false
|
||||||
capabilities:
|
capabilities:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
|
@ -10,8 +10,8 @@ install:
|
|||||||
- pipenv sync
|
- pipenv sync
|
||||||
env:
|
env:
|
||||||
jobs:
|
jobs:
|
||||||
{% if cookiecutter.debian_stretch_support == 'True' %}- MOLECULE_DISTRO=debian:stretch-slim{% endif %}
|
|
||||||
{% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
|
{% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
|
||||||
|
{% if cookiecutter.debian_bullseye_support == 'True' %}- MOLECULE_DISTRO=debian:bullseye-slim{% endif %}
|
||||||
script:
|
script:
|
||||||
- pipenv run molecule test --all
|
- pipenv run molecule test --all
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user