Skip to content

Commit

Permalink
Support HAProxy 2.8
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Ziegner <[email protected]>
  • Loading branch information
Normo committed May 26, 2024
1 parent 455b369 commit 2587ad7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
23 changes: 17 additions & 6 deletions molecule/haproxy/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,21 @@ dependency:
driver:
name: "podman"
platforms:
- name: "instancehaproxy1"
- name: "haproxy_v2.8"
image: "${MOLECULE_IMAGE:-ghcr.io/hifis-net/ubuntu-systemd:22.04}"
pre_build_image: true
privileged: true
override_command: false
systemd: true
tty: true
- name: "instancehaproxy2"
- name: "haproxy_v2.6"
image: "${MOLECULE_IMAGE:-ghcr.io/hifis-net/ubuntu-systemd:22.04}"
pre_build_image: true
privileged: true
override_command: false
systemd: true
tty: true
- name: "haproxy_v2.4"
image: "${MOLECULE_IMAGE:-ghcr.io/hifis-net/ubuntu-systemd:22.04}"
pre_build_image: true
privileged: true
Expand All @@ -31,15 +38,19 @@ provisioner:
vars:
haproxy_ssl_dhparam_size: 512
host_vars:
instancehaproxy1:
haproxy_v2.8:
haproxy_create_self_signed_cert: true
haproxy_ppa_version: "ppa:vbernat/haproxy-2.4"
haproxy_version: "2.4.*"
instancehaproxy2:
haproxy_ppa_version: "ppa:vbernat/haproxy-2.8"
haproxy_version: "2.8.*"
haproxy_v2.6:
haproxy_create_self_signed_cert: false
haproxy_ssl_cert_chain_src_file_path: "{{ (lookup('env', 'MOLECULE_SCENARIO_DIRECTORY'), 'test.pem') | path_join }}"
haproxy_ppa_version: "ppa:vbernat/haproxy-2.6"
haproxy_version: "2.6.*"
haproxy_v2.4:
haproxy_create_self_signed_cert: true
haproxy_ppa_version: "ppa:vbernat/haproxy-2.4"
haproxy_version: "2.4.*"
playbooks:
prepare: "prepare.yml"
check: "converge.yml"
Expand Down
1 change: 1 addition & 0 deletions roles/haproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Currently [supported platforms](meta/main.yml) are:
This role is tested against the two latest LTS versions of HAProxy.
Currently, this results in official support for the HAProxy release series:

- `2.8`
- `2.6`
- `2.4`

Expand Down

0 comments on commit 2587ad7

Please sign in to comment.