Skip to content

Commit

Permalink
🔥 Drop Ubuntu 18.04 support and hack CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HanXHX committed May 31, 2023
1 parent c61fb86 commit a5325d7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 30 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ name: Molecule
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allowed-to-fail }}
strategy:
fail-fast: false
matrix:
scenario:
- debian-10
- debian-11
- debian-12
- ubuntu-18.04
- ubuntu-22.04
allowed-to-fail:
- false
Expand All @@ -39,3 +37,7 @@ jobs:
molecule_options: --base-config molecule/_shared/base.yml
molecule_args: --scenario-name ${{ matrix.scenario }}
molecule_working_dir: "HanXHX/ansible-nginx"
continue-on-error: ${{ matrix.allowed-to-fail }}

- name: Fake command
run: echo "End of job"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Supported OS:
| Debian Bookworm (12) | Yes | Not yet :) |
| FreeBSD 11 | NA | No |
| FreeBSD 12 | NA | No |
| Ubuntu 18.04 | Yes | Yes |
| Ubuntu 20.04 | Yes | Yes |
| Ubuntu 22.04 | Yes | Yes |

Expand Down
1 change: 0 additions & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ galaxy_info:
- bookworm
- name: Ubuntu
versions:
- bionic
- focal
- jammy
- name: FreeBSD
Expand Down
13 changes: 0 additions & 13 deletions molecule/ubuntu-18.04/molecule.yml

This file was deleted.

23 changes: 10 additions & 13 deletions tests/includes/post_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,20 +240,17 @@
# --------------------------------
# Check Proxy protocol
# --------------------------------
- name: BLOCK - Check proxy protocol
when: not (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int == 18)
block:
- name: SHELL | Check HTTP proxy protocol
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
args:
executable: /bin/bash
changed_when: false
- name: SHELL | Check HTTP proxy protocol
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol http://test-ssl-proxy-protocol.local:20080 | grep -qi 'X-Proxy-Protocol'
args:
executable: /bin/bash
changed_when: false

- name: SHELL | Check HTTPS proxy protocol
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol -k https://test-ssl-proxy-protocol.local:20443 | grep -qi 'X-Proxy-Protocol'
args:
executable: /bin/bash
changed_when: false
- name: SHELL | Check HTTPS proxy protocol
ansible.builtin.shell: set -o pipefail && curl -I --haproxy-protocol -k https://test-ssl-proxy-protocol.local:20443 | grep -qi 'X-Proxy-Protocol'
args:
executable: /bin/bash
changed_when: false

# --------------------------------
# Check HTTP2
Expand Down

0 comments on commit a5325d7

Please sign in to comment.