From a1aaf385eb8bfc6349264fabf55b3eb2329c4a3a Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 16:50:02 +0200 Subject: [PATCH 1/8] Update molecule.yml --- .github/workflows/molecule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index cc7dd9b..369dbc3 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -73,3 +73,4 @@ jobs: uses: robertdebock/galaxy-action@1.2.1 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: main From 337eeaa0999d81f0c2a8f71d40bfbc594bdded0f Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 16:58:43 +0200 Subject: [PATCH 2/8] checkout v4 --- .github/workflows/molecule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 369dbc3..e3165fc 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -49,7 +49,7 @@ jobs: - "" steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "${{ github.repository }}" - name: Workaround Git Security Warning From 101d29b17c59f4ba9ac1855bf38d8d80346ae0ff Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:08:30 +0200 Subject: [PATCH 3/8] use latest molecule action A huge step, maybe it is needed ... --- .github/workflows/molecule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index e3165fc..375fb40 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -57,7 +57,7 @@ jobs: # Workaround a bug in github actions: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: molecule - uses: robertdebock/molecule-action@4.0.9 + uses: robertdebock/molecule-action@6.0.1 env: MOLECULE_DISTRO: "${{ matrix.distros }}" TEST_RELEASE: "${{ matrix.releases }}" From a3d8deed1d81e2d6bbe8ca48a5a9d382cdd8774a Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:13:50 +0200 Subject: [PATCH 4/8] Update molecule.yml --- .github/workflows/molecule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 375fb40..d70c3db 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -57,7 +57,7 @@ jobs: # Workaround a bug in github actions: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: molecule - uses: robertdebock/molecule-action@6.0.1 + uses: robertdebock/molecule-action@5.0.2 env: MOLECULE_DISTRO: "${{ matrix.distros }}" TEST_RELEASE: "${{ matrix.releases }}" From ae2ef5f6fd74adde263f8e085a53302227fd9a1b Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:22:24 +0200 Subject: [PATCH 5/8] Delete tox.ini --- tox.ini | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 tox.ini diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 708d5bc..0000000 --- a/tox.ini +++ /dev/null @@ -1,27 +0,0 @@ -# -# Ansible managed -# -[tox] -minversion = 4.2.4 -envlist = py{310}-ansible{6,7,8} - -skipsdist = true - -[testenv] -deps = - -rrequirements.txt - ansible6: ansible == 6.* - ansible7: ansible == 7.* - ansible8: ansible == 8.* -commands = molecule test -setenv = - TOX_ENVNAME={envname} - PY_COLORS=1 - ANSIBLE_FORCE_COLOR=1 - ANSIBLE_ROLES_PATH=../ - -passenv = - namespace - image - tag - DOCKER_HOST From 6c27d4ca6d25a6df686c04918de0cbf535ad8da0 Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:30:58 +0200 Subject: [PATCH 6/8] Update molecule.yml - remove old distros - use newer action - test with latest rclone-release --- .github/workflows/molecule.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index d70c3db..457c792 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -32,20 +32,17 @@ jobs: scenario: - default distros: - - debian10 - debian11 - debian12 - - fedora34 - fedora35 - fedora36 - - ubuntu1804 - ubuntu2004 - ubuntu2204 releases: - stable - beta versions: - - "1.60.0" + - "1.67.0" - "" steps: - name: checkout @@ -57,7 +54,7 @@ jobs: # Workaround a bug in github actions: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: molecule - uses: robertdebock/molecule-action@5.0.2 + uses: robertdebock/molecule-action@5.0.3 env: MOLECULE_DISTRO: "${{ matrix.distros }}" TEST_RELEASE: "${{ matrix.releases }}" From f4eeb960df0a4bfb37ddd5c3d5cc2148b6fa3ae4 Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:42:38 +0200 Subject: [PATCH 7/8] Update molecule.yml --- .github/workflows/molecule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 457c792..b630698 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -54,7 +54,7 @@ jobs: # Workaround a bug in github actions: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: molecule - uses: robertdebock/molecule-action@5.0.3 + uses: robertdebock/molecule-action@6.0.1 env: MOLECULE_DISTRO: "${{ matrix.distros }}" TEST_RELEASE: "${{ matrix.releases }}" From 9763bf05293a929d55cfeab6a5d79dc2b28756aa Mon Sep 17 00:00:00 2001 From: "Stefan G. Weichinger" Date: Mon, 8 Jul 2024 17:48:54 +0200 Subject: [PATCH 8/8] fixing the permissions for /tmp --- molecule/default/molecule.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 2fedf41..882ab88 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -12,7 +12,8 @@ platforms: image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest" command: ${MOLECULE_DOCKER_COMMAND:-""} volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host privileged: true pre_build_image: true provisioner: