From 3dd9a4af81bcfd054cca232ef92bc08a5786bd6f Mon Sep 17 00:00:00 2001 From: Michal Muransky Date: Fri, 13 Jan 2023 22:45:44 +0100 Subject: [PATCH] Small fixes --- .github/workflows/tests.yml | 1 + README.md | 2 +- molecule/default/molecule.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0f9a4d3..45563ab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,6 +24,7 @@ jobs: runs-on: ubuntu-20.04 strategy: fail-fast: false + max-parallel: 3 matrix: config: - os: "debian11" diff --git a/README.md b/README.md index 999d647..fa8dedf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Galaxy Quality](https://img.shields.io/ansible/quality/47375?style=flat&logo=ansible)](https://galaxy.ansible.com/monolithprojects/github_actions_runner) [![Role version](https://img.shields.io/github/v/release/MonolithProjects/ansible-github_actions_runner)](https://galaxy.ansible.com/monolithprojects/github_actions_runner) [![Role downloads](https://img.shields.io/ansible/role/d/47375)](https://galaxy.ansible.com/monolithprojects/github_actions_runner) -[![GitHub Actions](https://github.com/MonolithProjects/ansible-github_actions_runner/workflows/molecule%20test/badge.svg?branch=master)](https://github.com/MonolithProjects/ansible-github_actions_runner/actions) +[![Molecule test](https://github.com/MonolithProjects/ansible-github_actions_runner/actions/workflows/tests.yml/badge.svg)](https://github.com/MonolithProjects/ansible-github_actions_runner/actions/workflows/tests.yml) [![License](https://img.shields.io/github/license/MonolithProjects/ansible-github_actions_runner)](https://github.com/MonolithProjects/ansible-github_actions_runner/blob/main/LICENSE) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 7f4a547..5611c38 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -21,7 +21,7 @@ platforms: command: /sbin/init volumes: - "/sys/fs/cgroup:/sys/fs/cgroup:${MOLECULE_DOCKER_VOLUMES:-ro}" # Use "ro" for cgroup v1 and "rw" for cgroup v2 - cgroupns_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2 + cgroups_mode: ${MOLECULE_DOCKER_CGROUPS_MODE:-"private"} # Use "private" for cgroup v1 and "host" for cgroup v2 privileged: true pre_build_image: true verifier: