Skip to content

Commit a8a9640

Browse files
author
Fran Tsao
committed
#153 updated readme and changelog for release
1 parent 127d68a commit a8a9640

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
44

55
## [Unreleased](https://github.com/idealista/java_role/tree/develop)
6+
7+
## [7.0.0](https://github.com/idealista/java_role/tree/7.0.0) (2021-08-18)
68
### Fixed
79
- *[#153](https://github.com/idealista/java_role/issues/153) Prepare version updates in order to fix Debian 11 release issues.* @frantsao
810
- *[#153](https://github.com/idealista/java_role/issues/153) Update test dependencies (Ansible 4, Molecule 3.4.* @frantsao

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ These instructions will get you a copy of the role for your Ansible playbook.
2424

2525
Once launched, it will install Java using Debian or RHEL packages.
2626

27-
**DISCLAIMER:** Because a [issue in Debian Jessie/backport repositories](https://www.lucas-nussbaum.net/blog/?p=947) we decided to follow the workaround of adding **Acquire::Check-Valid-Until no** to Debian Jessie configuration while the issue is not solved, with concerns about security it implies. The other option was removing Debian 8 support. Proceed with caution.
28-
2927
### Prerequisities
3028

3129
To use this role as dependency in your playbook, prerequisites below:
3230

33-
Ansible 2.9.x.x version installed.
31+
Ansible >=2.9.0 version installed.
3432
Inventory destination should be a Debian/Ubuntu or CentOS environment.
3533

3634
For testing purposes you will need [Python 3.7+](https://www.python.org/downloads/release/python-377/), [Pipenv](https://github.com/pypa/pipenv).
@@ -42,15 +40,15 @@ Create or add to your roles dependency file (e.g requirements.yml):
4240
```yml
4341
- src: http://github.com/idealista/java_role.git
4442
scm: git
45-
version: 6.0.0
43+
version: 7.0.0
4644
name: java
4745
```
4846
4947
or using [Ansible Galaxy](https://galaxy.ansible.com/idealista/java_role/) as origin if you prefer:
5048
5149
```yml
5250
- src: idealista.java_role
53-
version: 6.0.0
51+
version: 7.0.0
5452
name: java
5553
```
5654
@@ -84,7 +82,7 @@ docker pull idealista/jdk:${JDK_VERSION}-${DOCKER_IMAGE_BASE}-${JDK_VENDOR}headl
8482
```
8583

8684
`JDK_VERSION:` Preferred JDK version.
87-
`DOCKER_IMAGE`: Currently supporting: `stretch`/`buster` to select between Debian versions, `xenial`/`bionic`/`focal` to select between Ubuntu versions, and `7`/`8` to select a CentOS version.
85+
`DOCKER_IMAGE`: Currently supporting: `stretch`/`buster/bullseye` to select between Debian versions, `xenial`/`bionic`/`focal` to select between Ubuntu versions, and `7`/`8` to select a CentOS version.
8886
`JDK_VENDOR`: Currently supporting `openjdk`/ `adoptopenjdk`/`corretto`
8987

9088
For instance:
@@ -108,6 +106,8 @@ Operative System | OpenJDK major release
108106
Debian Stretch | `8` (default)
109107
Debian Stretch | `11`
110108
Debian Buster | `11` (default)
109+
Debian Bullseye | `17`
110+
Debian Bullseye | `11` (default)
111111
Ubuntu Xenial | `8`
112112
Ubuntu Xenial | `9` (default)
113113
Ubuntu Bionic | `8`
@@ -128,7 +128,7 @@ Other OpenJDK implementations out of GNU/Linux distributions streams are not off
128128

129129
```sh
130130
$ pipenv sync
131-
$ DOCKER_IMAGE_BASE=(debian:stretch-slim|debian:buster-slim|amd64/ubuntu:xenial|amd64/ubuntu:bionic|amd64/ubuntu:focal|centos:7|centos:8) JDK_VENDOR=(`java_jdk_version` openjdk|adoptopenjdk|corretto) JDK_MAJOR=(`java_open_jdk_version_major` see [.travis.yml](.travis.yml) file to check supported versions) JDK_VERSION=(`java_open_jdk_version` see [.travis.yml](.travis.yml) file to check supported versions) pipenv run molecule test
131+
$ DOCKER_IMAGE_BASE=(debian:stretch-slim|debian:buster-slim|debian_bullseye-slim|amd64/ubuntu:xenial|amd64/ubuntu:bionic|amd64/ubuntu:focal|centos:7|centos:8) JDK_VENDOR=(`java_jdk_version` openjdk|adoptopenjdk|corretto) JDK_MAJOR=(`java_open_jdk_version_major` see [.travis.yml](.travis.yml) file to check supported versions) JDK_VERSION=(`java_open_jdk_version` see [.travis.yml](.travis.yml) file to check supported versions) pipenv run molecule test
132132
```
133133
**Note:** JDK_VENDOR is an optional parameter, if not defined this role will use openjdk.
134134
**Note:** JDK_VERSION is an optional parameter, if not defined this role will install the latest available package for the selected Java major release.
@@ -138,7 +138,8 @@ See [molecule directory](https://github.com/idealista/java_role/tree/master/mole
138138

139139
## Built With
140140

141-
![Ansible](https://img.shields.io/badge/ansible-2.9.7-green.svg)
141+
![Ansible](https://img.shields.io/badge/ansible-4.4.0-green.svg)
142+
![Molecule](https://img.shields.io/badge/molecule-3.4.0-green.svg)
142143
![Packer](https://img.shields.io/badge/packer-1.3.4.0-green.svg)
143144

144145
## Versioning

0 commit comments

Comments
 (0)