Skip to content

Commit

Permalink
ci: rl9 test
Browse files Browse the repository at this point in the history
  • Loading branch information
MonolithProjects committed Jun 5, 2024
1 parent aaf2fae commit f1ea603
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: molecule test

on:
pull_request:
branches:
- main
types: [opened, synchronize, reopened]
paths:
- 'defaults/**'
- 'handlers/**'
- 'molecule/**'
- 'tasks/**'
- 'templates/**'
- 'vars/**'
schedule:
- cron: '0 1 1 * *'
workflow_dispatch:
push:
# pull_request:
# branches:
# - main
# types: [opened, synchronize, reopened]
# paths:
# - 'defaults/**'
# - 'handlers/**'
# - 'molecule/**'
# - 'tasks/**'
# - 'templates/**'
# - 'vars/**'
# schedule:
# - cron: '0 1 1 * *'
# workflow_dispatch:

jobs:
standalone:
Expand All @@ -24,7 +25,7 @@ jobs:
fail-fast: ${{ !contains(github.event_name, 'pull_request') }}
matrix:
config:
- image: "rockylinux8"
- image: "rockylinux9"
cgroup_mode: "host"
volumes: "rw"
- image: "ubuntu2204"
Expand Down
33 changes: 33 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# Based on ansible-lint config
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable

0 comments on commit f1ea603

Please sign in to comment.