Skip to content

Commit df8a2dc

Browse files
authored
Merge pull request #473 from voxpupuli/modulesync
modulesync 10.6.0
2 parents bc2a4d8 + 7d7bc5c commit df8a2dc

File tree

10 files changed

+53
-12
lines changed

10 files changed

+53
-12
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
21
{
32
"name": "VoxBox",
43
"image": "ghcr.io/voxpupuli/voxbox:latest"

.github/workflows/create_tag.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
name: Create Git tag
6+
7+
on:
8+
workflow_dispatch:
9+
10+
permissions: {}
11+
12+
jobs:
13+
create_tag:
14+
uses: 'voxpupuli/gha-puppet/.github/workflows/create_tag.yml@v4'
15+
with:
16+
allowed_owner: 'voxpupuli'
17+
git_name: 'pccibot'
18+
git_email: '12855858+pccibot@users.noreply.github.com'
19+
secrets:
20+
# Configure secrets here:
21+
# https://docs.github.com/en/actions/security-guides/encrypted-secrets
22+
ssh_private_key: ${{ secrets.PCCI_SSH_PRIVATE_KEY }}

.github/workflows/prepare_release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ permissions:
1717

1818
jobs:
1919
release_prep:
20-
uses: 'voxpupuli/gha-puppet/.github/workflows/prepare_release.yml@v3'
20+
uses: 'voxpupuli/gha-puppet/.github/workflows/prepare_release.yml@v4'
2121
with:
2222
version: ${{ github.event.inputs.version }}
2323
allowed_owner: 'voxpupuli'
24+
git_name: 'pccibot'
25+
git_email: '12855858+pccibot@users.noreply.github.com'
2426
secrets:
2527
# Configure secrets here:
2628
# https://docs.github.com/en/actions/security-guides/encrypted-secrets
2729
github_pat: '${{ secrets.PCCI_PAT_RELEASE_PREP }}'
30+
ssh_private_key: '${{ secrets.PCCI_SSH_PRIVATE_KEY }}'

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ name: Release
88
on:
99
push:
1010
tags:
11-
- '*'
11+
# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushbranchestagsbranches-ignoretags-ignore
12+
# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#filter-pattern-cheat-sheet
13+
- 'v[0-9]+.[0-9]+.[0-9]+'
1214

1315
permissions:
1416
contents: write
1517

1618
jobs:
1719
release:
1820
name: Release
19-
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v3
21+
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v4
2022
with:
2123
allowed_owner: 'voxpupuli'
2224
secrets:

.msync.yml

Lines changed: 1 addition & 1 deletion
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: '10.5.0'
5+
modulesync_config_version: '10.7.0'

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
inherit_from: .rubocop_todo.yml
3+
24
# Managed by modulesync - DO NOT EDIT
35
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
46

.rubocop_todo.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
3+
# using RuboCop version 1.85.1.
4+
# The point is for the user to remove these configuration records
5+
# one by one as the offenses are removed from the code base.
6+
# Note that changes in the inspected code, or installation of new
7+
# versions of RuboCop, may require this file to be generated again.
8+
9+
# Offense count: 8
10+
RSpec/LeakyLocalVariable:
11+
Exclude:
12+
- 'spec/acceptance/define_configfile_spec.rb'
13+
- 'spec/acceptance/define_patternfile_spec.rb'

Gemfile

Lines changed: 2 additions & 2 deletions
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', '~> 13.0', :require => false
7+
gem 'voxpupuli-test', '~> 14.0', :require => false
88
gem 'puppet_metadata', '~> 6.0', :require => false
99
end
1010

@@ -18,7 +18,7 @@ group :system_tests do
1818
end
1919

2020
group :release do
21-
gem 'voxpupuli-release', '~> 5.0', :require => false
21+
gem 'voxpupuli-release', '~> 5.3', :require => false
2222
end
2323

2424
gem 'rake', :require => false

spec/acceptance/class_logstash_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
context 'when the option is changed' do
220220
it 'restarts logstash' do
221221
puppet_log = install_logstash_from_local_file(
222-
"jvm_options => [ '-Xms512m' ]"
222+
"jvm_options => [ '-Xms512m' ]",
223223
).stdout
224224
expect(puppet_log).to include(service_restart_message)
225225
end
@@ -228,7 +228,7 @@
228228
it 'does not restart logstash' do
229229
puppet_log = install_logstash_from_local_file(
230230
"jvm_options => [ '-Xms256m' ],
231-
restart_on_change => false"
231+
restart_on_change => false",
232232
).stdout
233233
expect(puppet_log).not_to include(service_restart_message)
234234
end

spec/acceptance/class_plugin_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def remove(plugin)
3636
remove('logstash-input-sqs')
3737
end
3838

39-
it 'will not remove it again' do
39+
it 'does not remove it again' do
4040
log = ensure_plugin('absent', 'logstash-input-sqs').stdout
4141
expect(log).not_to contain('remove-logstash-input-sqs')
4242
end
@@ -48,11 +48,11 @@ def remove(plugin)
4848
end
4949

5050
context 'when a plugin is installed' do
51-
it 'will contain the required plugin' do
51+
it 'contains the required plugin' do
5252
expect(installed_plugins).to contain('logstash-input-file')
5353
end
5454

55-
it 'will not install it again' do
55+
it 'does not install it again' do
5656
log = ensure_plugin('present', 'logstash-input-file').stdout
5757
expect(log).not_to contain('install-logstash-input-file')
5858
end

0 commit comments

Comments
 (0)