Molecule test work - geerlingguy way (yt CYghlf-6Opc)
Some checks failed
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 2s
Some checks failed
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 2s
This commit is contained in:
parent
dc5847fcce
commit
57c7b4934c
@ -7,24 +7,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ANSIBLE_ROLES_PATH: '/workspace/seasharp/ansible-role_podman-host'
|
ANSIBLE_ROLES_PATH: '/workspace/seasharp/ansible-role_podman-host'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: almalinux:9
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check /etc/os-release
|
- name: Project Checkout
|
||||||
run: 'cat /etc/os-release'
|
|
||||||
- name: Check environment variables
|
|
||||||
run: |
|
|
||||||
dnf install -y nodejs git ansible-core python3-pip
|
|
||||||
ansible-galaxy collection install community.general
|
|
||||||
# env
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: 'podman-host'
|
path: 'podman-host'
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
- name: Set up molecule
|
|
||||||
run: pip install molecule
|
|
||||||
- name: Molecule test
|
- name: Molecule test
|
||||||
run: |
|
run: |
|
||||||
cd podman-host/extensions
|
cd podman-host/extensions
|
||||||
|
|||||||
@ -1,8 +1,20 @@
|
|||||||
---
|
---
|
||||||
|
dependency:
|
||||||
|
name: galaxy
|
||||||
driver:
|
driver:
|
||||||
name: default
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: instance
|
- name: instance
|
||||||
|
image: geerlingguy/docker-rockylinux9-ansible:latest
|
||||||
|
command: ""
|
||||||
|
volumes:
|
||||||
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
|
privileged: true
|
||||||
|
pre_build_image: true
|
||||||
|
provisioner:
|
||||||
|
name: ansible
|
||||||
|
verifier:
|
||||||
|
name: ansible
|
||||||
# you might want to add your own variables here based on what provisioning
|
# you might want to add your own variables here based on what provisioning
|
||||||
# you are doing like:
|
# you are doing like:
|
||||||
# image: quay.io/centos/centos:stream8
|
# image: quay.io/centos/centos:stream8
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user