Skip to content

Commit

Permalink
Merge pull request #11 from buluma/testing
Browse files Browse the repository at this point in the history
Simpler; remove Rocky references, it's RedHat now
  • Loading branch information
buluma authored Feb 12, 2022
2 parents fa4a8ab + a49a016 commit 738f5d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- '*'
pull_request:
schedule:
- cron: '19 10 10 * *'
- cron: '19 10 * * *'
workflow_dispatch:

jobs:
Expand All @@ -25,7 +25,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: buluma/molecule-action@v4.0.5
uses: buluma/molecule-action@v4.0.6
with:
command: lint
test:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: parse apparmor for mysql
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: buluma/molecule-action@v4.0.5
uses: buluma/molecule-action@v4.0.6
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
image: "buluma/github-action-molecule:4.0.5"
image: "buluma/github-action-molecule:4.0.6"

services:
- docker:dind
Expand All @@ -12,7 +12,7 @@ molecule:
script:
- image=${image} tag=${tag} molecule test
rules:
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME == "main"
retry: 1
parallel:
matrix:
Expand Down
6 changes: 2 additions & 4 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

_jenkins_requirements:
default: []
RedHat: &redhat_requirements
RedHat:
- initscripts
- chkconfig
Rocky: *redhat_requirements
Suse:
- insserv-compat

Expand All @@ -15,8 +14,7 @@ jenkins_requirements: "{{ _jenkins_requirements[ansible_os_family] | default(_je
_jenkins_configuration_directory:
default: /etc/default
Alpine: /etc/conf.d
RedHat: &redhat_configuration_directory /etc/sysconfig
Rocky: *redhat_configuration_directory
RedHat: /etc/sysconfig
Suse: /etc/sysconfig

jenkins_configuration_directory: "{{ _jenkins_configuration_directory[ansible_os_family] | default(_jenkins_configuration_directory['default'] ) }}"
Expand Down

0 comments on commit 738f5d1

Please sign in to comment.