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:
|
||||
ANSIBLE_ROLES_PATH: '/workspace/seasharp/ansible-role_podman-host'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: almalinux:9
|
||||
steps:
|
||||
- name: Check /etc/os-release
|
||||
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
|
||||
- name: Project Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: 'podman-host'
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
- name: Set up molecule
|
||||
run: pip install molecule
|
||||
- name: Molecule test
|
||||
run: |
|
||||
cd podman-host/extensions
|
||||
|
||||
@ -1,8 +1,20 @@
|
||||
---
|
||||
dependency:
|
||||
name: galaxy
|
||||
driver:
|
||||
name: default
|
||||
name: docker
|
||||
platforms:
|
||||
- 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 are doing like:
|
||||
# image: quay.io/centos/centos:stream8
|
||||
|
||||
Loading…
Reference in New Issue
Block a user