From 60e28d62b4eaa24bc4283c9041004345ccb92866 Mon Sep 17 00:00:00 2001 From: Michael Buluma Date: Mon, 25 Mar 2024 19:40:04 +0300 Subject: [PATCH] Ansible Generated Update. --- .github/workflows/molecule.yml | 50 ++++++++++++++++++++++------------ requirements.txt | 4 +-- 2 files changed, 35 insertions(+), 19 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 88bfa9b..6e6bcb8 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -46,33 +46,39 @@ jobs: fail-fast: false matrix: config: - - image: "alpine-openrc" - tag: "latest" + - image: "docker-molecule-images" + tag: "alpine-openrc" - image: "enterpriselinux" tag: "8" - image: "enterpriselinux" tag: "latest" - - image: "debian-systemd" - tag: "latest" - - image: "debian-systemd" + - image: "docker-molecule-images" + tag: "buster" + - image: "docker-molecule-images" tag: "bullseye" - - image: "fedora-systemd" + - image: "docker-molecule-images" + tag: "37" + - image: "docker-molecule-images" tag: "38" - - image: "fedora-systemd" - tag: "latest" - - image: "fedora-systemd" + - image: "docker-molecule-images" + tag: "39" + - image: "docker-molecule-images" + tag: "40" + - image: "docker-molecule-images" tag: "rawhide" - - image: "docker-opensuse-systemd" - tag: "latest" - - image: "docker-ubuntu-systemd" - tag: "latest" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" + tag: "opensuse" + - image: "docker-molecule-images" + tag: "ubuntu_latest" + - image: "docker-molecule-images" tag: "focal" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" tag: "bionic" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" + tag: "jammy" + - image: "docker-molecule-images" tag: "lunar" - - image: "docker-ubuntu-systemd" + - image: "docker-molecule-images" tag: "noble" steps: - name: Checkout Role @@ -108,3 +114,13 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + test_role: + needs: + - lint + - test + runs-on: ubuntu-20.04 + + steps: + - uses: "actions/checkout@master" + - name: Test Role + run: "ansible-galaxy role import --api-key {{ secrets.galaxy_api_key }} buluma ${{ github.repository }}" diff --git a/requirements.txt b/requirements.txt index 666d866..ed09075 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ ansible-compat == 4.* -molecule == 6.* +molecule == 24.* molecule-plugins[docker] == 23.* -ansible-lint == 6.* +ansible-lint == 24.* paramiko == 3.* # Pinning requests version due to [bug](https://github.com/docker/docker-py/issues/3113) # requests == 2.28.1