Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Feb 17, 2024
0 parents commit 8dd0083
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Build images

on:
pull_request: {}
push:
branches:
- master

jobs:
rubocop:
env:
BUNDLE_WITHOUT: release
BEAKER_HYPERVISOR: docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Run beaker
run: bundle exec beaker --provision --dry-run --hosts ubuntu2204-64
- name: List images
run: docker images
- name: List container
run: docker ps
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.vendor/
.bundle/
Gemfile.lock
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org'

gem 'beaker-hostgenerator'
gem 'puppet_metadata'
gem 'json'
gem 'beaker'
Empty file added Rakefile
Empty file.
53 changes: 53 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"author": "Vox Pupuli",
"license": "MIT",
"name": "puppet-example",
"version": "0.2.1",
"summary": " An example Puppet repository to test out automation and coding styles",
"source": "https://github.com/voxpupuli/puppet-example",
"dependencies": [
{
"name": "puppetlabs-stdlib",
"version_requirement": ">= 4.25.0 < 9.0.0"
}
],
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 7.0.0 < 9.0.0"
}
],
"operatingsystem_support": [
{
"operatingsystem": "ArchLinux"
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04",
"20.04"
]
}
]
}

0 comments on commit 8dd0083

Please sign in to comment.