Skip to content

Commit

Permalink
(main) add ci workflow and provision
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Aug 26, 2023
1 parent 63d43f6 commit 66455b9
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 10 deletions.
12 changes: 9 additions & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
fixtures:
forge_modules:
facts:
ruby_task_helper:
repo: "puppetlabs/ruby_task_helper"
ref: "0.4.0"
ref: "0.6.1"
ruby_plugin_helper:
repo: "puppetlabs/ruby_plugin_helper"
ref: "0.1.0"
ref: "0.2.0"
repositories:
puppet_agent:
repo: https://github.com/puppetlabs/puppetlabs-puppet_agent.git
ref: v4.13.0
facts: https://github.com/puppetlabs/puppetlabs-facts.git
provision: https://github.com/puppetlabs/provision.git
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "ci"

on:
pull_request:
branches:
- 'main'
workflow_dispatch:

jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
38 changes: 31 additions & 7 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7"
"7",
"8"
]
},
{
Expand All @@ -31,7 +32,9 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"8"
"7",
"8",
"9"
]
},
{
Expand All @@ -40,23 +43,44 @@
"7"
]
},
{
"operatingsystem": "SLES",
"operatingsystemrelease": [
"12",
"15"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8"
]
},
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"9"
"10",
"11"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04"
"20.04",
"22.04"
]
},
{
"operatingsystem": "windows",
"operatingsystem": "Windows",
"operatingsystemrelease": [
"2019",
"10"
"10",
"2022"
]
}
],
Expand Down
29 changes: 29 additions & 0 deletions provision.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
default:
provisioner: docker
images:
- litmusimage/ubuntu:22.04
vagrant:
provisioner: vagrant
images:
- litmusimage/rockylinux:8
- litmusimage/ubuntu:22.04
- gusztavvargadr/windows-server
yum:
provisioner: docker
images:
- litmusimage/rockylinux:8
apt:
provisioner: docker
images:
- litmusimage/ubuntu:22.04
release_checks_7:
provisioner: abs
images:
- win-10-pro-x86_64
- ubuntu-2004-x86_64
release_checks_8:
provisioner: abs
images:
- win-10-pro-x86_64
- ubuntu-2004-x86_64

0 comments on commit 66455b9

Please sign in to comment.