mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-07 05:09:56 +02:00
Both collections are required for now.
This commit is contained in:
parent
2f48d692ee
commit
9b24b14981
4
.github/workflows/molecule.yml
vendored
4
.github/workflows/molecule.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
path: "${{ github.repository }}"
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@2.7.2
|
||||
uses: robertdebock/molecule-action@master
|
||||
with:
|
||||
command: lint
|
||||
test:
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@2.7.2
|
||||
uses: robertdebock/molecule-action@master
|
||||
with:
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule:3.3.1"
|
||||
image: "robertdebock/github-action-molecule"
|
||||
|
||||
services:
|
||||
- docker:dind
|
||||
|
@ -10,6 +10,7 @@ variables:
|
|||
|
||||
molecule:
|
||||
script:
|
||||
- test -f requirements.yml && ansible-galaxy install -r requirements.yml
|
||||
- image=${image} tag=${tag} molecule test
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "master"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
collections:
|
||||
- name: community.docker
|
||||
- name: community.general
|
|
@ -6,6 +6,7 @@ dependency:
|
|||
name: galaxy
|
||||
options:
|
||||
role-file: requirements.yml
|
||||
requirements-file: requirements.yml
|
||||
lint: |
|
||||
set -e
|
||||
yamllint .
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -3,15 +3,15 @@
|
|||
#
|
||||
[tox]
|
||||
minversion = 3.21.4
|
||||
envlist = py{39}-ansible-{2.9,2.10,2.11}
|
||||
envlist = py{310}-ansible-{2.10,2.11,2.12}
|
||||
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
2.9: ansible == 2.9.*
|
||||
2.10: ansible-base == 2.10.*
|
||||
2.11: ansible-core == 2.11.*
|
||||
2.12: ansible-core == 2.12.*
|
||||
molecule[docker]
|
||||
docker == 4.*
|
||||
ansible-lint == 5.*
|
||||
|
|
Loading…
Reference in a new issue