Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HAProxy 2.8 #255

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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