Skip to content

Commit 341c0ef

Browse files
authored
Update from modulesync_config (#173)
1 parent f7c8cb2 commit 341c0ef

12 files changed

+90
-14
lines changed

.rspec .github/labeler.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
---
12
# Managed by modulesync - DO NOT EDIT
23
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
34

4-
--format documentation
5-
--color
5+
skip-changelog:
6+
- head-branch: ['^release-*', 'release']

.github/release.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
6+
7+
changelog:
8+
exclude:
9+
labels:
10+
- duplicate
11+
- invalid
12+
- modulesync
13+
- question
14+
- skip-changelog
15+
- wont-fix
16+
- wontfix
17+
18+
categories:
19+
- title: Breaking Changes 🛠
20+
labels:
21+
- backwards-incompatible
22+
23+
- title: New Features 🎉
24+
labels:
25+
- enhancement
26+
27+
- title: Bug Fixes 🐛
28+
labels:
29+
- bug
30+
31+
- title: Documentation Updates 📚
32+
labels:
33+
- documentation
34+
- docs
35+
36+
- title: Dependency Updates ⬆️
37+
labels:
38+
- dependencies
39+
40+
- title: Other Changes
41+
labels:
42+
- "*"

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
name: CI
66

7+
# yamllint disable-line rule:truthy
78
on:
89
pull_request: {}
910
push:
@@ -18,4 +19,4 @@ concurrency:
1819
jobs:
1920
puppet:
2021
name: Puppet
21-
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
22+
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3

.github/workflows/labeler.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
name: "Pull Request Labeler"
6+
7+
# yamllint disable-line rule:truthy
8+
on:
9+
pull_request_target: {}
10+
11+
jobs:
12+
labeler:
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/labeler@v5

.github/workflows/release.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
name: Release
66

7+
# yamllint disable-line rule:truthy
78
on:
89
push:
910
tags:
@@ -12,11 +13,18 @@ on:
1213
jobs:
1314
release:
1415
name: Release
15-
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v2
16+
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v3
1617
with:
1718
allowed_owner: 'saz'
1819
secrets:
1920
# Configure secrets here:
2021
# https://docs.github.com/en/actions/security-guides/encrypted-secrets
2122
username: ${{ secrets.PUPPET_FORGE_USERNAME }}
2223
api_key: ${{ secrets.PUPPET_FORGE_API_KEY }}
24+
25+
create-github-release:
26+
name: Create GitHub Release
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Create GitHub release
30+
uses: voxpupuli/gha-create-a-github-release@v1

.msync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Managed by modulesync - DO NOT EDIT
33
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
44

5-
modulesync_config_version: '7.5.0'
5+
modulesync_config_version: '9.3.0'

.overcommit.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ PreCommit:
4343
enabled: true
4444
description: 'Runs rubocop on modified files only'
4545
command: ['bundle', 'exec', 'rubocop']
46-
PuppetLint:
46+
RakeTarget:
4747
enabled: true
48-
description: 'Runs puppet-lint on modified files only'
49-
command: ['bundle', 'exec', 'puppet-lint']
48+
description: 'Runs lint on modified files only'
49+
targets:
50+
- 'lint'
51+
command: ['bundle', 'exec', 'rake']
5052
YamlSyntax:
5153
enabled: true
5254
JsonSyntax:

.pmtignore

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/.github/
2121
/.librarian/
2222
/Puppetfile.lock
23+
/Puppetfile
2324
*.iml
2425
/.editorconfig
2526
/.fixtures.yml

.puppet-lint.rc

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Managed by modulesync - DO NOT EDIT
2+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
3+
14
--fail-on-warnings
25
--no-parameter_documentation-check
36
--no-parameter_types-check

.rspec_parallel

-4
This file was deleted.

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
55

66
group :test do
7-
gem 'voxpupuli-test', '~> 7.0', :require => false
7+
gem 'voxpupuli-test', '~> 9.0', :require => false
88
gem 'coveralls', :require => false
99
gem 'simplecov-console', :require => false
1010
gem 'puppet_metadata', '~> 4.0', :require => false
@@ -26,7 +26,7 @@ end
2626
gem 'rake', :require => false
2727
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
2828

29-
puppetversion = ENV['PUPPET_GEM_VERSION'] || '~> 7.24'
29+
puppetversion = ENV['PUPPET_GEM_VERSION'] || [">= 7.24", "< 9"]
3030
gem 'puppet', puppetversion, :require => false, :groups => [:test]
3131

3232
# vim: syntax=ruby

spec/spec_helper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
require 'voxpupuli/test/spec_helper'
1111

12+
RSpec.configure do |c|
13+
c.facterdb_string_keys = false
14+
end
15+
1216
add_mocked_facts!
1317

1418
if File.exist?(File.join(__dir__, 'default_module_facts.yml'))

0 commit comments

Comments
 (0)