6 Commits

Author SHA1 Message Date
e5e3f88413 fix(ci): Let go-semantic-release get latest drivers from web 🐛 💚
All checks were successful
CI / lint (push) Successful in 52s
CI / Molecule Test (almalinux8) (push) Successful in 1m15s
CI / Molecule Test (almalinux9) (push) Successful in 1m54s
CI / release (push) Successful in 23s
CI / notify (push) Successful in 24s
Regular test / Molecule Test (almalinux8) (push) Successful in 1m19s
Regular test / Molecule Test (almalinux9) (push) Successful in 5m51s
Regular test / notify (push) Successful in 7s
2025-04-14 11:26:55 +12:00
1fedea38e3 fix(ci): try add host /tmp
Some checks failed
CI / lint (push) Successful in 40s
CI / Molecule Test (almalinux9) (push) Successful in 1m15s
CI / Molecule Test (almalinux8) (push) Successful in 1m37s
CI / release (push) Failing after 45s
CI / notify (push) Has been skipped
2025-04-14 11:21:06 +12:00
797824ad76 fix(ci): Added remote_tmp path
Some checks failed
CI / lint (push) Successful in 35s
CI / Molecule Test (almalinux9) (push) Failing after 1m5s
CI / Molecule Test (almalinux8) (push) Successful in 1m25s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
2025-04-14 11:17:32 +12:00
f80471ad66 fix(ci): See if not reinstall epel allows it to work 🐛
Some checks failed
CI / lint (push) Successful in 35s
CI / Molecule Test (almalinux9) (push) Failing after 1m15s
CI / Molecule Test (almalinux8) (push) Successful in 2m37s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
2025-04-14 10:48:12 +12:00
f732c1dd54 fix: Don't tweak permissions on resolv.conf etc
Some checks failed
CI / lint (push) Successful in 34s
CI / Molecule Test (almalinux8) (push) Successful in 1m57s
CI / Molecule Test (almalinux9) (push) Failing after 5m6s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
2025-04-13 22:58:40 +12:00
909e25687d fix(ci): more volume mounts 🐛 💚
Some checks failed
Regular test / Molecule Test (almalinux8) (push) Failing after 4m51s
Regular test / Molecule Test (almalinux9) (push) Failing after 2m38s
Regular test / notify (push) Has been skipped
CI / lint (push) Successful in 1m39s
CI / Molecule Test (almalinux8) (push) Failing after 1m0s
CI / Molecule Test (almalinux9) (push) Successful in 1m51s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
2025-04-12 11:59:49 +12:00
5 changed files with 16 additions and 23 deletions

View File

@@ -5,7 +5,6 @@ on:
- "**" - "**"
tags: tags:
- "!**" - "!**"
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -61,20 +60,6 @@ jobs:
- molecule - molecule
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install gitea provider for Go Semantic Release
run: |
mkdir -p .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/ && \
wget https://github.com/cybercinch/go-semantic-release-provider-gitea/releases/download/v${GITEA_PROVIDER_VER}/go-semantic-release-provider-gitea_v${GITEA_PROVIDER_VER}_linux_amd64 \
-O .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/gitea && \
chmod a+x .semrel/$(go env GOOS)_$(go env GOARCH)/provider-gitea/${GITEA_PROVIDER_VER}/gitea
env:
GITEA_PROVIDER_VER: 1.0.11
- run: |
echo "github repo: ${GITHUB_REPOSITORY}"
echo "env vars: $(env)"
- uses: go-semantic-release/action@v1 - uses: go-semantic-release/action@v1
with: with:
custom-arguments: --provider=gitea custom-arguments: --provider=gitea

View File

@@ -1,6 +1,8 @@
--- ---
- name: Converge - name: Converge
hosts: all hosts: all
vars:
ansible_remote_tmp: /tmp/.ansible/tmp
tasks: tasks:
- name: "Include common" - name: "Include common"
include_role: include_role:

View File

@@ -8,7 +8,10 @@ platforms:
image: "cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest" image: "cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""} command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw - /sys/fs/cgroup:/sys/fs/cgroup:rw
- /run
- /run/lock
- /tmp
cgroupns_mode: host cgroupns_mode: host
privileged: true privileged: true
pre_build_image: true pre_build_image: true

View File

@@ -2,13 +2,13 @@
# tasks file for common role # tasks file for common role
- include_tasks: networking.yml - include_tasks: networking.yml
- name: Ensure common packages (RHEL) # - name: Ensure common packages (RHEL)
yum: # yum:
name: "{{ common_packages }}" # name: "{{ common_packages }}"
state: present # state: present
enablerepo: epel # enablerepo: epel
when: ansible_distribution != 'OracleLinux' # when: ansible_distribution != 'OracleLinux'
tags: packages # tags: packages
- name: Ensure common packages (OracleLinux) - name: Ensure common packages (OracleLinux)
yum: yum:

View File

@@ -97,5 +97,8 @@
- /etc/hosts - /etc/hosts
loop_control: loop_control:
loop_var: perm_config loop_var: perm_config
when: >
ansible_virtualization_type != "docker"
and ansible_virtualization_type != "container"
changed_when: false changed_when: false
tags: dns tags: dns