Skip to content

Bump jenkins version to 2.452.4 #79

Bump jenkins version to 2.452.4

Bump jenkins version to 2.452.4 #79

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for progressive mode to work
- name: Run ansible-lint
uses: ansible/ansible-lint-action@v6
molecule-cgroup-v2:
name: Molecule
runs-on: ubuntu-22.04
strategy:
matrix:
distro:
- rockylinux9
- ubuntu2204
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install test dependencies.
run: pip3 install ansible molecule-plugins[docker]
- name: Run Molecule tests.
run: molecule test
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
MOLECULE_PLATFORM_NAME: ${{ matrix.distro }}
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# RHEL7/Centos7 systemd containers can not run on a cgroup V2 machine.
# The systemd is too old.
# https://github.com/containers/podman/issues/5153#issuecomment-584649533
molecule-cgroup-v1:
name: Molecule
runs-on: ubuntu-20.04
strategy:
matrix:
distro:
- centos7
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
# If ansible>=10, then ansible-core>=2.17
# https://github.com/ansible/ansible/issues/82068
- name: Install test dependencies.
run: pip3 install ansible==9.9.0 molecule-plugins[docker]
- name: Run Molecule tests.
run: molecule test
env:
MOLECULE_PLATFORM_NAME: ${{ matrix.distro }}