-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maintainability: fixed CI, bumped dependencies to support latest vers…
…ions of OSes & Puppet - Added support for latest versions of Debian & Ubuntu - Support Puppet >= 7 - Replaced Travis which has now shutdown with GH actions - Fixed missing dependency over puppetlabs/yumrepo_core` module
- Loading branch information
1 parent
27b5fb0
commit 0bdc737
Showing
21 changed files
with
170 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
fixtures: | ||
repositories: | ||
apt: "git://github.com/puppetlabs/puppetlabs-apt.git" | ||
cron_core: | ||
repo: "https://github.com/puppetlabs/puppetlabs-cron_core" | ||
puppet_version: '>= 6.0.0' | ||
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
yumrepo_core: | ||
repo: "git://github.com/puppetlabs/puppetlabs-yumrepo_core.git" | ||
puppet_version: '>= 6.0.0' | ||
forge_modules: | ||
apt: puppetlabs/apt | ||
cron: puppet/cron | ||
stdlib: puppetlabs/stdlib | ||
yumrepo_core: puppetlabs/yumrepo_core | ||
symlinks: | ||
curator: "#{source_dir}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Release new version of the module to the Puppet Forge | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build and publish module | ||
uses: barnumbirr/[email protected] | ||
env: | ||
FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }} | ||
REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
check: [syntax, lint, check, spec, metadata_lint, build] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.5 | ||
|
||
- run: bundle -v; gem update --system; gem update bundler; gem --version; bundle -v; bundle install | ||
- run: bundle exec rake ${{ matrix.check }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Gemfile.lock | ||
spec/fixtures | ||
pkg |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.