modulesync 3.4.1 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/release.yml +41 -0
- data/.github/workflows/release.yml +90 -16
- data/CHANGELOG.md +17 -0
- data/README.md +3 -4
- data/modulesync.gemspec +2 -4
- metadata +5 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96b3469fe88cd9a94f134b56d7b45f16daa52ebac3a132f5314d09afe6776e8e
|
4
|
+
data.tar.gz: f8ebae9fe9ca9f71d4cdca4cf9afdb38e24115ea2f23467900eeeb4ac0e0151e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 994a5ad6429d50add848d5879c493411dd98b8856ca6ef8bcd4efd506d82171394f593b78e513083c306b48d7a290630288f6338341c3a7714d14fb67e1a4fa2
|
7
|
+
data.tar.gz: c1c120709f9347f913e3fae34c0b2fb8c27028df0340910455609e4634b10ea09373c8068bec01e74f1166c88da734197b4dba98d738cdda4593fc2c76102ea8
|
data/.github/release.yml
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
3
|
+
|
4
|
+
changelog:
|
5
|
+
exclude:
|
6
|
+
labels:
|
7
|
+
- duplicate
|
8
|
+
- invalid
|
9
|
+
- modulesync
|
10
|
+
- question
|
11
|
+
- skip-changelog
|
12
|
+
- wont-fix
|
13
|
+
- wontfix
|
14
|
+
- github_actions
|
15
|
+
|
16
|
+
categories:
|
17
|
+
- title: Breaking Changes 🛠
|
18
|
+
labels:
|
19
|
+
- backwards-incompatible
|
20
|
+
|
21
|
+
- title: New Features 🎉
|
22
|
+
labels:
|
23
|
+
- enhancement
|
24
|
+
|
25
|
+
- title: Bug Fixes 🐛
|
26
|
+
labels:
|
27
|
+
- bug
|
28
|
+
- bugfix
|
29
|
+
|
30
|
+
- title: Documentation Updates 📚
|
31
|
+
labels:
|
32
|
+
- documentation
|
33
|
+
- docs
|
34
|
+
|
35
|
+
- title: Dependency Updates ⬆️
|
36
|
+
labels:
|
37
|
+
- dependencies
|
38
|
+
|
39
|
+
- title: Other Changes
|
40
|
+
labels:
|
41
|
+
- "*"
|
@@ -1,32 +1,106 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
name: Gem Release
|
2
3
|
|
3
4
|
on:
|
4
5
|
push:
|
5
6
|
tags:
|
6
7
|
- '*'
|
7
8
|
|
9
|
+
permissions: {}
|
10
|
+
|
8
11
|
jobs:
|
9
|
-
release:
|
10
|
-
|
12
|
+
build-release:
|
13
|
+
# Prevent releases from forked repositories
|
11
14
|
if: github.repository_owner == 'voxpupuli'
|
15
|
+
name: Build the gem
|
16
|
+
runs-on: ubuntu-24.04
|
12
17
|
steps:
|
13
18
|
- uses: actions/checkout@v4
|
14
|
-
- name: Install Ruby
|
19
|
+
- name: Install Ruby
|
15
20
|
uses: ruby/setup-ruby@v1
|
16
21
|
with:
|
17
|
-
ruby-version:
|
18
|
-
env:
|
19
|
-
BUNDLE_WITHOUT: release
|
22
|
+
ruby-version: 'ruby'
|
20
23
|
- name: Build gem
|
21
|
-
|
24
|
+
shell: bash
|
25
|
+
run: gem build --verbose *.gemspec
|
26
|
+
- name: Upload gem to GitHub cache
|
27
|
+
uses: actions/upload-artifact@v4
|
28
|
+
with:
|
29
|
+
name: gem-artifact
|
30
|
+
path: '*.gem'
|
31
|
+
retention-days: 1
|
32
|
+
compression-level: 0
|
33
|
+
|
34
|
+
create-github-release:
|
35
|
+
needs: build-release
|
36
|
+
name: Create GitHub release
|
37
|
+
runs-on: ubuntu-24.04
|
38
|
+
permissions:
|
39
|
+
contents: write # clone repo and create release
|
40
|
+
steps:
|
41
|
+
- name: Download gem from GitHub cache
|
42
|
+
uses: actions/download-artifact@v4
|
43
|
+
with:
|
44
|
+
name: gem-artifact
|
45
|
+
- name: Create Release
|
46
|
+
shell: bash
|
47
|
+
env:
|
48
|
+
GH_TOKEN: ${{ github.token }}
|
49
|
+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
|
50
|
+
|
51
|
+
release-to-github:
|
52
|
+
needs: build-release
|
53
|
+
name: Release to GitHub
|
54
|
+
runs-on: ubuntu-24.04
|
55
|
+
permissions:
|
56
|
+
packages: write # publish to rubygems.pkg.github.com
|
57
|
+
steps:
|
58
|
+
- name: Download gem from GitHub cache
|
59
|
+
uses: actions/download-artifact@v4
|
60
|
+
with:
|
61
|
+
name: gem-artifact
|
62
|
+
- name: Publish gem to GitHub packages
|
63
|
+
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
64
|
+
env:
|
65
|
+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
66
|
+
|
67
|
+
release-to-rubygems:
|
68
|
+
needs: build-release
|
69
|
+
name: Release gem to rubygems.org
|
70
|
+
runs-on: ubuntu-24.04
|
71
|
+
environment: release # recommended by rubygems.org
|
72
|
+
permissions:
|
73
|
+
id-token: write # rubygems.org authentication
|
74
|
+
steps:
|
75
|
+
- name: Download gem from GitHub cache
|
76
|
+
uses: actions/download-artifact@v4
|
77
|
+
with:
|
78
|
+
name: gem-artifact
|
79
|
+
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
22
80
|
- name: Publish gem to rubygems.org
|
81
|
+
shell: bash
|
23
82
|
run: gem push *.gem
|
24
|
-
|
25
|
-
|
26
|
-
|
83
|
+
|
84
|
+
release-verification:
|
85
|
+
name: Check that all releases are done
|
86
|
+
runs-on: ubuntu-24.04
|
87
|
+
permissions:
|
88
|
+
contents: read # minimal permissions that we have to grant
|
89
|
+
needs:
|
90
|
+
- create-github-release
|
91
|
+
- release-to-github
|
92
|
+
- release-to-rubygems
|
93
|
+
steps:
|
94
|
+
- name: Download gem from GitHub cache
|
95
|
+
uses: actions/download-artifact@v4
|
96
|
+
with:
|
97
|
+
name: gem-artifact
|
98
|
+
- name: Install Ruby
|
99
|
+
uses: ruby/setup-ruby@v1
|
100
|
+
with:
|
101
|
+
ruby-version: 'ruby'
|
102
|
+
- name: Wait for release to propagate
|
103
|
+
shell: bash
|
27
104
|
run: |
|
28
|
-
|
29
|
-
|
30
|
-
chmod 0600 ~/.gem/credentials
|
31
|
-
- name: Publish gem to GitHub packages
|
32
|
-
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
105
|
+
gem install rubygems-await
|
106
|
+
gem await *.gem
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,23 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [3.5.0](https://github.com/voxpupuli/modulesync/tree/3.5.0) (2025-07-23)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.4.2...3.5.0)
|
8
|
+
|
9
|
+
**Merged pull requests:**
|
10
|
+
|
11
|
+
- thor: require 1.4 or newer [\#309](https://github.com/voxpupuli/modulesync/pull/309) ([kenyon](https://github.com/kenyon))
|
12
|
+
- README: change example config to voxpupuli [\#308](https://github.com/voxpupuli/modulesync/pull/308) ([trefzer](https://github.com/trefzer))
|
13
|
+
|
14
|
+
## [3.4.2](https://github.com/voxpupuli/modulesync/tree/3.4.2) (2025-06-27)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.4.1...3.4.2)
|
17
|
+
|
18
|
+
**Merged pull requests:**
|
19
|
+
|
20
|
+
- cleanup github release action; switch to rubygems trusted publishers [\#306](https://github.com/voxpupuli/modulesync/pull/306) ([bastelfreak](https://github.com/bastelfreak))
|
21
|
+
|
5
22
|
## [3.4.1](https://github.com/voxpupuli/modulesync/tree/3.4.1) (2025-05-21)
|
6
23
|
|
7
24
|
[Full Changelog](https://github.com/voxpupuli/modulesync/compare/3.4.0...3.4.1)
|
data/README.md
CHANGED
@@ -64,8 +64,8 @@ How It Works
|
|
64
64
|
ModuleSync is a gem that uses the GitHub workflow to clone, update, and push module
|
65
65
|
repositories. It expects to be activated from a directory containing
|
66
66
|
configuration for modulesync and the modules, or you can pass it the location
|
67
|
-
of this configuration directory. [The configuration for the
|
68
|
-
modules](https://github.com/
|
67
|
+
of this configuration directory. [The configuration for the Vox Pupuli
|
68
|
+
modules](https://github.com/voxpupuli/modulesync_config), can be used as an
|
69
69
|
example for your own configuration. The configuration directory contains a
|
70
70
|
directory called moduleroot which mirrors the structure of a module. The files
|
71
71
|
in the moduleroot are ERB templates, and MUST be named after the target file,
|
@@ -442,8 +442,7 @@ workdir: modules/github-org/puppet-test
|
|
442
442
|
The Templates
|
443
443
|
-------------
|
444
444
|
|
445
|
-
See [
|
446
|
-
repositories for different templates currently in use.
|
445
|
+
See [Vox Pupuli's modulesync\_config](https://github.com/voxpupuli/modulesync_config) and [Puppet's modulesync\_configs (Archived)](https://github.com/puppetlabs/modulesync_configs) repositories for different templates currently in use.
|
447
446
|
|
448
447
|
## Transfer Notice
|
449
448
|
|
data/modulesync.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'modulesync'
|
8
|
-
spec.version = '3.
|
8
|
+
spec.version = '3.5.0'
|
9
9
|
spec.authors = ['Vox Pupuli']
|
10
10
|
spec.email = ['voxpupuli@groups.io']
|
11
11
|
spec.summary = 'Puppet Module Synchronizer'
|
@@ -28,7 +28,5 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency 'gitlab', '>=4', '<6'
|
29
29
|
spec.add_dependency 'octokit', '>=4', '<10'
|
30
30
|
spec.add_dependency 'puppet-blacksmith', '>= 3.0', '< 9'
|
31
|
-
|
32
|
-
# Allow 1.2 and newer, because Perforce facter 4.10.0 only allows < 1.3....
|
33
|
-
spec.add_dependency 'thor', '~> 1.2', '!= 1.3.1'
|
31
|
+
spec.add_dependency 'thor', '~> 1.4'
|
34
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modulesync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
@@ -165,20 +165,14 @@ dependencies:
|
|
165
165
|
requirements:
|
166
166
|
- - "~>"
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: '1.
|
169
|
-
- - "!="
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: 1.3.1
|
168
|
+
version: '1.4'
|
172
169
|
type: :runtime
|
173
170
|
prerelease: false
|
174
171
|
version_requirements: !ruby/object:Gem::Requirement
|
175
172
|
requirements:
|
176
173
|
- - "~>"
|
177
174
|
- !ruby/object:Gem::Version
|
178
|
-
version: '1.
|
179
|
-
- - "!="
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: 1.3.1
|
175
|
+
version: '1.4'
|
182
176
|
description: Utility to synchronize common files across puppet modules in Github.
|
183
177
|
email:
|
184
178
|
- voxpupuli@groups.io
|
@@ -189,6 +183,7 @@ extra_rdoc_files: []
|
|
189
183
|
files:
|
190
184
|
- ".config/cucumber.yml"
|
191
185
|
- ".github/dependabot.yml"
|
186
|
+
- ".github/release.yml"
|
192
187
|
- ".github/workflows/ci.yml"
|
193
188
|
- ".github/workflows/release.yml"
|
194
189
|
- ".gitignore"
|
@@ -261,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
256
|
- !ruby/object:Gem::Version
|
262
257
|
version: '0'
|
263
258
|
requirements: []
|
264
|
-
rubygems_version: 3.6.
|
259
|
+
rubygems_version: 3.6.9
|
265
260
|
specification_version: 4
|
266
261
|
summary: Puppet Module Synchronizer
|
267
262
|
test_files: []
|