mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-07 18:11:07 +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:
|
with:
|
||||||
path: "${{ github.repository }}"
|
path: "${{ github.repository }}"
|
||||||
- name: molecule
|
- name: molecule
|
||||||
uses: robertdebock/molecule-action@2.7.2
|
uses: robertdebock/molecule-action@master
|
||||||
with:
|
with:
|
||||||
command: lint
|
command: lint
|
||||||
test:
|
test:
|
||||||
|
@ -63,7 +63,7 @@ jobs:
|
||||||
- name: parse apparmor for mysql
|
- name: parse apparmor for mysql
|
||||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||||
- name: molecule
|
- name: molecule
|
||||||
uses: robertdebock/molecule-action@2.7.2
|
uses: robertdebock/molecule-action@master
|
||||||
with:
|
with:
|
||||||
image: ${{ matrix.config.image }}
|
image: ${{ matrix.config.image }}
|
||||||
tag: ${{ matrix.config.tag }}
|
tag: ${{ matrix.config.tag }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
image: "robertdebock/github-action-molecule:3.3.1"
|
image: "robertdebock/github-action-molecule"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
@ -10,6 +10,7 @@ variables:
|
||||||
|
|
||||||
molecule:
|
molecule:
|
||||||
script:
|
script:
|
||||||
|
- test -f requirements.yml && ansible-galaxy install -r requirements.yml
|
||||||
- image=${image} tag=${tag} molecule test
|
- image=${image} tag=${tag} molecule test
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == "master"
|
- if: $CI_COMMIT_REF_NAME == "master"
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
collections:
|
|
||||||
- name: community.docker
|
|
||||||
- name: community.general
|
|
|
@ -6,6 +6,7 @@ dependency:
|
||||||
name: galaxy
|
name: galaxy
|
||||||
options:
|
options:
|
||||||
role-file: requirements.yml
|
role-file: requirements.yml
|
||||||
|
requirements-file: requirements.yml
|
||||||
lint: |
|
lint: |
|
||||||
set -e
|
set -e
|
||||||
yamllint .
|
yamllint .
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -3,15 +3,15 @@
|
||||||
#
|
#
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 3.21.4
|
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
|
skipsdist = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
2.9: ansible == 2.9.*
|
|
||||||
2.10: ansible-base == 2.10.*
|
2.10: ansible-base == 2.10.*
|
||||||
2.11: ansible-core == 2.11.*
|
2.11: ansible-core == 2.11.*
|
||||||
|
2.12: ansible-core == 2.12.*
|
||||||
molecule[docker]
|
molecule[docker]
|
||||||
docker == 4.*
|
docker == 4.*
|
||||||
ansible-lint == 5.*
|
ansible-lint == 5.*
|
||||||
|
|
Loading…
Reference in a new issue