Skip to content

Commit

Permalink
Merge pull request #26 from mrlesmithjr/mrlesmithjr/issue25_Fix-Ansib…
Browse files Browse the repository at this point in the history
…le-Galaxy-releases
  • Loading branch information
mrlesmithjr authored Dec 6, 2021
2 parents bfc06da + a59ac43 commit c027465
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 29 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
---
name: Molecule Test
on: ["push", "pull_request"]
on:
push:
branches-ignore:
- main
- master
pull_request:
branches:
- develop
- main
- master
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -9,11 +18,18 @@ jobs:
max-parallel: 4
matrix:
molecule_distro:
- centos7
- centos8
# - alpine313
# - alpine314
# - centos7
# - centos8
# - debian8
- debian9
- debian10
- fedora
# - debian11
# - fedora
# - fedora34
# - fedora35
# - rocky8
- ubuntu1604
- ubuntu1804
- ubuntu2004
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/release-galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ name: Ansible Galaxy
on:
push:
branches:
- main
- master
- 'releases/**'
tags:
- '*'
pull_request:
branches:
- main
- master
- 'releases/**'
- main
- master
release:
types:
- published

jobs:
galaxy:
Expand Down
10 changes: 5 additions & 5 deletions molecule/centos7/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ lint: |
flake8
platforms:
- name: centos7
image: jrei/systemd-centos:7
image: mrlesmithjr/centos:7
privileged: true
command: /usr/sbin/init
tmpfs:
- /run
- /tmp
- /var/run
# tmpfs:
# - /run
# - /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
provisioner:
Expand Down
10 changes: 5 additions & 5 deletions molecule/centos8/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ lint: |
flake8
platforms:
- name: centos8
image: jrei/systemd-centos:8
image: mrlesmithjr/centos:8
privileged: true
command: /usr/sbin/init
tmpfs:
- /run
- /tmp
- /var/run
# tmpfs:
# - /run
# - /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
provisioner:
Expand Down
2 changes: 1 addition & 1 deletion molecule/debian10/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint: |
flake8
platforms:
- name: debian10
image: jrei/systemd-debian:10
image: mrlesmithjr/debian:10
privileged: true
command: /lib/systemd/systemd
# tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion molecule/debian9/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint: |
flake8
platforms:
- name: debian9
image: jrei/systemd-debian:9
image: mrlesmithjr/debian:9
privileged: true
command: /lib/systemd/systemd
# tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion molecule/ubuntu1604/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint: |
flake8
platforms:
- name: ubuntu1604
image: jrei/systemd-ubuntu:16.04
image: mrlesmithjr/ubuntu:16.04
privileged: true
command: /lib/systemd/systemd
# tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion molecule/ubuntu1804/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint: |
flake8
platforms:
- name: ubuntu1804
image: jrei/systemd-ubuntu:18.04
image: mrlesmithjr/ubuntu:18.04
privileged: true
command: /lib/systemd/systemd
# tmpfs:
Expand Down
2 changes: 1 addition & 1 deletion molecule/ubuntu2004/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint: |
flake8
platforms:
- name: ubuntu2004
image: jrei/systemd-ubuntu:20.04
image: mrlesmithjr/ubuntu:20.04
privileged: true
command: /lib/systemd/systemd
# tmpfs:
Expand Down

0 comments on commit c027465

Please sign in to comment.