Skip to content

Commit

Permalink
remove python2.7 releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsysmin committed Jan 16, 2024
1 parent 8673dfe commit 5a71f95
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 77 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/chrony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.chrony"
on:
push:
paths:
- 'roles/chrony/**'
- 'molecule/chrony/**'
- '.github/workflows/chrony.yml'
- "roles/chrony/**"
- "molecule/chrony/**"
- ".github/workflows/chrony.yml"
pull_request:
paths:
- 'roles/chrony/**'
- 'molecule/chrony/**'
- '.github/workflows/chrony.yml'
- "roles/chrony/**"
- "molecule/chrony/**"
- ".github/workflows/chrony.yml"
jobs:
molecule:
runs-on: ubuntu-latest
Expand All @@ -20,16 +20,14 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { "distro":"debian-10", "command":"/lib/systemd/systemd" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "centos-8", "command": "/usr/sbin/init" }
- { "distro": "fedora-32", "command": "/usr/sbin/init" }
- { "distro": "fedora-31", "command": "/usr/sbin/init" }
- { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" }
- { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" }
- { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" }
- { "distro": "debian-10", "command": "/lib/systemd/systemd" }
collection_role:
- chrony
steps:
Expand All @@ -42,15 +40,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
molecule --version &&
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/epel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.epel"
on:
push:
paths:
- 'roles/epel/**'
- 'molecule/epel/**'
- '.github/workflows/epel.yml'
- "roles/epel/**"
- "molecule/epel/**"
- ".github/workflows/epel.yml"
pull_request:
paths:
- 'roles/epel/**'
- 'molecule/epel/**'
- '.github/workflows/epel.yml'
- "roles/epel/**"
- "molecule/epel/**"
- ".github/workflows/epel.yml"
jobs:
molecule:
runs-on: ubuntu-latest
Expand All @@ -20,8 +20,8 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "centos-8", "command": "/usr/sbin/init" }
collection_role:
- epel
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
32 changes: 15 additions & 17 deletions .github/workflows/logrotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.logrotate"
on:
push:
paths:
- 'roles/logrotate/**'
- 'molecule/logrotate/**'
- '.github/workflows/logrotate.yml'
- "roles/logrotate/**"
- "molecule/logrotate/**"
- ".github/workflows/logrotate.yml"
pull_request:
paths:
- 'roles/logrotate/**'
- 'molecule/logrotate/**'
- '.github/workflows/logrotate.yml'
- "roles/logrotate/**"
- "molecule/logrotate/**"
- ".github/workflows/logrotate.yml"
jobs:
logrotate:
runs-on: ubuntu-latest
Expand All @@ -20,16 +20,14 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { "distro":"debian-10", "command":"/lib/systemd/systemd" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "centos-8", "command": "/usr/sbin/init" }
- { "distro": "fedora-32", "command": "/usr/sbin/init" }
- { "distro": "fedora-31", "command": "/usr/sbin/init" }
- { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" }
- { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" }
- { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" }
- { "distro": "debian-10", "command": "/lib/systemd/systemd" }
collection_role:
- logrotate
steps:
Expand All @@ -42,7 +40,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/ntp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.ntp"
on:
push:
paths:
- 'roles/ntp/**'
- 'molecule/ntp/**'
- '.github/workflows/ntp.yml'
- "roles/ntp/**"
- "molecule/ntp/**"
- ".github/workflows/ntp.yml"
pull_request:
paths:
- 'roles/ntp/**'
- 'molecule/ntp/**'
- '.github/workflows/ntp.yml'
- "roles/ntp/**"
- "molecule/ntp/**"
- ".github/workflows/ntp.yml"
jobs:
molecule:
runs-on: ubuntu-latest
Expand All @@ -20,11 +20,9 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"ubuntu-16.04", "command":"/sbin/init" }
- { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" }
- { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" }
- { "distro":"debian-9", "command":"/lib/systemd/systemd" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" }
- { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" }
collection_role:
- ntp
steps:
Expand All @@ -37,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/remi_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.remi_repo"
on:
push:
paths:
- 'roles/remi_repo/**'
- 'molecule/remi_repo/**'
- '.github/workflows/remi_repo.yml'
- "roles/remi_repo/**"
- "molecule/remi_repo/**"
- ".github/workflows/remi_repo.yml"
pull_request:
paths:
- 'roles/remi_repo/**'
- 'molecule/remi_repo/**'
- '.github/workflows/remi_repo.yml'
- "roles/remi_repo/**"
- "molecule/remi_repo/**"
- ".github/workflows/remi_repo.yml"
jobs:
molecule:
runs-on: ubuntu-latest
Expand All @@ -20,11 +20,11 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro":"fedora-32", "command":"/usr/sbin/init" }
- { "distro":"fedora-31", "command":"/usr/sbin/init" }
- { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "centos-8", "command": "/usr/sbin/init" }
- { "distro": "fedora-32", "command": "/usr/sbin/init" }
- { "distro": "fedora-31", "command": "/usr/sbin/init" }
- { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" }
collection_role:
- remi_repo
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "ericsysmin.system.selinux"
on:
push:
paths:
- 'roles/selinux/**'
- 'molecule/selinux/**'
- '.github/workflows/selinux.yml'
- "roles/selinux/**"
- "molecule/selinux/**"
- ".github/workflows/selinux.yml"
pull_request:
paths:
- 'roles/selinux/**'
- 'molecule/selinux/**'
- '.github/workflows/selinux.yml'
- "roles/selinux/**"
- "molecule/selinux/**"
- ".github/workflows/selinux.yml"
jobs:
molecule:
runs-on: ubuntu-latest
Expand All @@ -20,8 +20,8 @@ jobs:
fail-fast: true
matrix:
molecule_distro:
- { "distro":"centos-7", "command":"/usr/sbin/init" }
- { "distro":"centos-8", "command":"/usr/sbin/init" }
- { "distro": "centos-7", "command": "/usr/sbin/init" }
- { "distro": "centos-8", "command": "/usr/sbin/init" }
collection_role:
- selinux
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down

0 comments on commit 5a71f95

Please sign in to comment.