beaker 6.7.0 → 6.8.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 +88 -15
- data/.github/workflows/test.yml +0 -3
- data/CHANGELOG.md +67 -185
- data/Gemfile +5 -23
- data/Rakefile +3 -0
- data/beaker.gemspec +1 -1
- data/lib/beaker/host/unix/exec.rb +1 -1
- data/lib/beaker/version.rb +1 -1
- data/spec/helpers.rb +1 -0
- metadata +10 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a28ad824ad4e07560f270cface92f77a128b9312fedc0d667bbac78a81d9c175
|
4
|
+
data.tar.gz: 95c5f36c519f67217cc4e1b559253aa23a5eac9079cb7537f9983897967b5238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e35c0ff08482ad8003b1706360ac1a3699faacf196ace967352538c221621e9e53f08460131f464d8999695f84e7a86e8f2132df275282c56f7fb3d8533468
|
7
|
+
data.tar.gz: d0fa6e094a65b35868861d49a7ef658a31259a48803c4b08b057cccf4646ebad3bfbf7043ee89f25199f4e63eaa7606d4782eb20079a18be3d76e2807ca81a38
|
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,33 +1,106 @@
|
|
1
1
|
---
|
2
|
-
name: Release
|
2
|
+
name: Gem Release
|
3
3
|
|
4
4
|
on:
|
5
5
|
push:
|
6
6
|
tags:
|
7
7
|
- '*'
|
8
8
|
|
9
|
+
permissions: {}
|
10
|
+
|
9
11
|
jobs:
|
10
|
-
release:
|
11
|
-
|
12
|
+
build-release:
|
13
|
+
# Prevent releases from forked repositories
|
12
14
|
if: github.repository_owner == 'voxpupuli'
|
15
|
+
name: Build the gem
|
16
|
+
runs-on: ubuntu-24.04
|
13
17
|
steps:
|
14
18
|
- uses: actions/checkout@v4
|
15
19
|
- name: Install Ruby
|
16
20
|
uses: ruby/setup-ruby@v1
|
17
21
|
with:
|
18
|
-
ruby-version: '
|
19
|
-
env:
|
20
|
-
BUNDLE_WITHOUT: release:development:rubocop
|
22
|
+
ruby-version: 'ruby'
|
21
23
|
- name: Build gem
|
22
|
-
|
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
|
23
80
|
- name: Publish gem to rubygems.org
|
81
|
+
shell: bash
|
24
82
|
run: gem push *.gem
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
28
104
|
run: |
|
29
|
-
|
30
|
-
|
31
|
-
chmod 0600 ~/.gem/credentials
|
32
|
-
- name: Publish gem to GitHub packages
|
33
|
-
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
105
|
+
gem install rubygems-await
|
106
|
+
gem await *.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -9,8 +9,6 @@ on:
|
|
9
9
|
|
10
10
|
jobs:
|
11
11
|
rubocop_and_matrix:
|
12
|
-
env:
|
13
|
-
BUNDLE_WITHOUT: release
|
14
12
|
runs-on: ubuntu-24.04
|
15
13
|
outputs:
|
16
14
|
ruby: ${{ steps.ruby.outputs.versions }}
|
@@ -35,7 +33,6 @@ jobs:
|
|
35
33
|
matrix:
|
36
34
|
ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
|
37
35
|
env:
|
38
|
-
BUNDLE_WITHOUT: release:rubocop
|
39
36
|
BEAKER_HYPERVISOR: docker
|
40
37
|
steps:
|
41
38
|
- uses: actions/checkout@v4
|
data/CHANGELOG.md
CHANGED
@@ -1,272 +1,154 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [6.
|
3
|
+
## [6.8.0](https://github.com/voxpupuli/beaker/tree/6.8.0) (2025-06-14)
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
- Fix some doc issues [\#1916](https://github.com/voxpupuli/beaker/pull/1916)
|
8
|
-
- Add Ruby 3.4 support [\#1917](https://github.com/voxpupuli/beaker/pull/1917)
|
9
|
-
- Add benchmark dependency for Ruby 3.5 support [\#1920](https://github.com/voxpupuli/beaker/pull/1920)
|
10
|
-
- fakefs: Allow 3.x [\#1918](https://github.com/voxpupuli/beaker/pull/1918)
|
11
|
-
- voxpupuli-rubocop: Update 3.0.0->3.1.0 [\#1921](https://github.com/voxpupuli/beaker/pull/1921)
|
12
|
-
|
13
|
-
**Fixed bugs:**
|
14
|
-
|
15
|
-
- Fix macOS package installation when DMG content differs from filename [\#1915](https://github.com/voxpupuli/beaker/pull/1915)
|
16
|
-
- Fix wrong parameter assignment in multiple places [\#1926](https://github.com/voxpupuli/beaker/pull/1926)
|
17
|
-
|
18
|
-
## [6.6.0](https://github.com/voxpupuli/beaker/tree/6.6.0) (2025-03-27)
|
19
|
-
|
20
|
-
**Implemented enhancements:**
|
21
|
-
|
22
|
-
- Changes to add powershell commands as wmic is deprecated in windows [\#1907](https://github.com/voxpupuli/beaker/pull/1907)
|
23
|
-
|
24
|
-
## [6.5.0](https://github.com/voxpupuli/beaker/tree/6.5.0) (2025-03-18)
|
25
|
-
|
26
|
-
**Implemented enhancements:**
|
27
|
-
|
28
|
-
* Add support for amazonfips [\#1908](https://github.com/voxpupuli/beaker/pull/1908)
|
29
|
-
* Allow minitar 1.x [\#1910](https://github.com/voxpupuli/beaker/pull/1910)
|
30
|
-
|
31
|
-
## [6.4.1](https://github.com/voxpupuli/beaker/tree/6.4.1) (2024-08-27)
|
32
|
-
|
33
|
-
**Fixed bugs:**
|
34
|
-
|
35
|
-
- platform: don't install curl-minimal on EL family [\#1902](https://github.com/voxpupuli/beaker/pull/1902)
|
36
|
-
|
37
|
-
## [6.4.0](https://github.com/voxpupuli/beaker/tree/6.4.0) (2024-08-27)
|
38
|
-
|
39
|
-
**Implemented enhancements:**
|
40
|
-
|
41
|
-
- Only install timesync packages if needed [\#1853](https://github.com/voxpupuli/beaker/pull/1853)
|
42
|
-
- Ensure platform is Beaker::Platform in tests [\#1855](https://github.com/voxpupuli/beaker/pull/1855)
|
43
|
-
- Avoid mocking stdout on host and use explicit hosts in host_prebuilt_steps_spec.rb [\#1900](https://github.com/voxpupuli/beaker/pull/1900)
|
44
|
-
|
45
|
-
## [6.3.0](https://github.com/voxpupuli/beaker/tree/6.3.0) (2024-08-13)
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.7.0...6.8.0)
|
46
6
|
|
47
7
|
**Implemented enhancements:**
|
48
8
|
|
49
|
-
-
|
9
|
+
- base64: Allow \<1 [\#1931](https://github.com/voxpupuli/beaker/pull/1931) ([bastelfreak](https://github.com/bastelfreak))
|
50
10
|
|
51
11
|
**Fixed bugs:**
|
52
12
|
|
53
|
-
-
|
54
|
-
|
55
|
-
## [6.2.0](https://github.com/voxpupuli/beaker/tree/6.2.0) (2024-07-24)
|
56
|
-
|
57
|
-
**Implemented enhancements:**
|
58
|
-
|
59
|
-
- Debian: Replace apt-get with apt for updates [\#1890](https://github.com/voxpupuli/beaker/pull/1890) ([bastelfreak](https://github.com/bastelfreak))
|
60
|
-
|
61
|
-
**Fixed bugs:**
|
13
|
+
- \(\#1928\) Prevented regex meant for EOL OS flavors matching el-10 [\#1929](https://github.com/voxpupuli/beaker/pull/1929) ([michael-riddle](https://github.com/michael-riddle))
|
62
14
|
|
63
|
-
|
15
|
+
## [6.7.0](https://github.com/voxpupuli/beaker/tree/6.7.0) (2025-05-28)
|
64
16
|
|
65
|
-
|
17
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.6.0...6.7.0)
|
66
18
|
|
67
19
|
**Implemented enhancements:**
|
68
20
|
|
69
|
-
- Add
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
**Breaking changes:**
|
74
|
-
|
75
|
-
- Drop EoL F5 support [\#1866](https://github.com/voxpupuli/beaker/pull/1866) ([bastelfreak](https://github.com/bastelfreak))
|
76
|
-
- Drop EoL cumulus support [\#1867](https://github.com/voxpupuli/beaker/pull/1867) ([bastelfreak](https://github.com/bastelfreak))
|
77
|
-
- drop sys-v leftovers; assume systemctl is available for unknown platforms [\#1868](https://github.com/voxpupuli/beaker/pull/1868) ([bastelfreak](https://github.com/bastelfreak))
|
78
|
-
- Drop EoL huaweios support [\#1869](https://github.com/voxpupuli/beaker/pull/1869) ([bastelfreak](https://github.com/bastelfreak))
|
79
|
-
- Drop EoL EL4 support [\#1870](https://github.com/voxpupuli/beaker/pull/1870) ([bastelfreak](https://github.com/bastelfreak))
|
80
|
-
- Drop support for EoL Debian/Ubuntu versions [\#1871](https://github.com/voxpupuli/beaker/pull/1871) ([bastelfreak](https://github.com/bastelfreak))
|
81
|
-
- Drop EoL cisco support [\#1872](https://github.com/voxpupuli/beaker/pull/1872) ([bastelfreak](https://github.com/bastelfreak))
|
82
|
-
- Drop Fedora < 22 support [\#1873](https://github.com/voxpupuli/beaker/pull/1873) ([ekohl](https://github.com/ekohl))
|
83
|
-
- Drop EoL Arista EOS support [\#1874](https://github.com/voxpupuli/beaker/pull/1874) ([bastelfreak](https://github.com/bastelfreak))
|
84
|
-
- drop validate_setup method [\#1875](https://github.com/voxpupuli/beaker/pull/1875) ([bastelfreak](https://github.com/bastelfreak))
|
85
|
-
- Drop EoL netscaler support [\#1876](https://github.com/voxpupuli/beaker/pull/1876) ([bastelfreak](https://github.com/bastelfreak))
|
86
|
-
|
87
|
-
**Implemented enhancements:**
|
88
|
-
|
89
|
-
- Add package logic for Amazon Linux 2 [\#1884](https://github.com/voxpupuli/beaker/pull/1884) ([mhashizume](https://github.com/mhashizume))
|
21
|
+
- Add `benchmark` dependency for Ruby 3.5 support [\#1920](https://github.com/voxpupuli/beaker/pull/1920) ([bastelfreak](https://github.com/bastelfreak))
|
22
|
+
- fakefs: Allow 3.x [\#1918](https://github.com/voxpupuli/beaker/pull/1918) ([bastelfreak](https://github.com/bastelfreak))
|
23
|
+
- Add Ruby 3.4 support [\#1917](https://github.com/voxpupuli/beaker/pull/1917) ([bastelfreak](https://github.com/bastelfreak))
|
24
|
+
- Fix some doc issues [\#1916](https://github.com/voxpupuli/beaker/pull/1916) ([lbetz](https://github.com/lbetz))
|
90
25
|
|
91
26
|
**Fixed bugs:**
|
92
27
|
|
93
|
-
-
|
94
|
-
|
95
|
-
## [5.8.1](https://github.com/voxpupuli/beaker/tree/5.8.1) (2024-05-06)
|
96
|
-
|
97
|
-
**Fixed bugs:**
|
28
|
+
- Fix wrong parameter assignment in multiple places [\#1926](https://github.com/voxpupuli/beaker/pull/1926) ([bastelfreak](https://github.com/bastelfreak))
|
29
|
+
- Fix macOS package installation when DMG content differs from filename [\#1915](https://github.com/voxpupuli/beaker/pull/1915) ([gavindidrichsen](https://github.com/gavindidrichsen))
|
98
30
|
|
99
|
-
|
31
|
+
## [6.6.0](https://github.com/voxpupuli/beaker/tree/6.6.0) (2025-03-27)
|
100
32
|
|
101
|
-
|
33
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.5.0...6.6.0)
|
102
34
|
|
103
35
|
**Implemented enhancements:**
|
104
36
|
|
105
|
-
-
|
106
|
-
- Do not attempt to install curl on DNF-based distros [\#1854](https://github.com/voxpupuli/beaker/pull/1854) ([ekohl](https://github.com/ekohl))
|
107
|
-
- PE-37978: Add 'amazon' to #repo-filename method [\#1858](https://github.com/voxpupuli/beaker/pull/1858) ([span786](https://github.com/span786))
|
108
|
-
|
109
|
-
**Fixed bugs:**
|
110
|
-
|
111
|
-
- CLI: Fix typo: opton->option [\#1849](https://github.com/voxpupuli/beaker/pull/1849) ([bastelfreak](https://github.com/bastelfreak))
|
37
|
+
- Changes to add powershell commands as wmic is deprecated in windows 2025 [\#1907](https://github.com/voxpupuli/beaker/pull/1907) ([skyamgarp](https://github.com/skyamgarp))
|
112
38
|
|
113
|
-
|
114
|
-
|
115
|
-
- build(deps-dev): update voxpupuli-rubocop requirement from ~> 2.4.0 to ~> 2.6.0 [\#1850](https://github.com/voxpupuli/beaker/pull/1850) (dependabot)
|
39
|
+
## [6.5.0](https://github.com/voxpupuli/beaker/tree/6.5.0) (2025-03-18)
|
116
40
|
|
117
|
-
|
41
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.4.1...6.5.0)
|
118
42
|
|
119
43
|
**Implemented enhancements:**
|
120
44
|
|
121
|
-
-
|
122
|
-
|
123
|
-
## [5.6.0](https://github.com/voxpupuli/beaker/tree/5.6.0) (2023-11-23)
|
45
|
+
- \(\#1896\) Allow minitar 1.x [\#1910](https://github.com/voxpupuli/beaker/pull/1910) ([bastelfreak](https://github.com/bastelfreak))
|
46
|
+
- \(PA-7210\) Add support for amazonfips [\#1908](https://github.com/voxpupuli/beaker/pull/1908) ([shubhamshinde360](https://github.com/shubhamshinde360))
|
124
47
|
|
125
|
-
|
48
|
+
## [6.4.1](https://github.com/voxpupuli/beaker/tree/6.4.1) (2024-08-27)
|
126
49
|
|
127
|
-
|
128
|
-
- Use DNF for Fedora, newer Enterprise Linux [\#1835](https://github.com/voxpupuli/beaker/pull/1835) ([mhashizume](https://github.com/mhashizume))
|
50
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.4.0...6.4.1)
|
129
51
|
|
130
52
|
**Fixed bugs:**
|
131
53
|
|
132
|
-
-
|
54
|
+
- platform: don't install `curl-minimal` on EL family [\#1902](https://github.com/voxpupuli/beaker/pull/1902) ([kenyon](https://github.com/kenyon))
|
133
55
|
|
134
|
-
## [
|
56
|
+
## [6.4.0](https://github.com/voxpupuli/beaker/tree/6.4.0) (2024-08-27)
|
135
57
|
|
136
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
58
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.3.0...6.4.0)
|
137
59
|
|
138
60
|
**Implemented enhancements:**
|
139
61
|
|
140
|
-
-
|
141
|
-
|
142
|
-
## [5.4.0](https://github.com/voxpupuli/beaker/tree/5.4.0) (2023-09-12)
|
62
|
+
- Only install timesync packages if needed [\#1853](https://github.com/voxpupuli/beaker/pull/1853) ([ekohl](https://github.com/ekohl))
|
143
63
|
|
144
|
-
|
64
|
+
**Merged pull requests:**
|
145
65
|
|
146
|
-
|
66
|
+
- Avoid mocking stdout on host and use explicit hosts in host\_prebuilt\_steps\_spec.rb [\#1900](https://github.com/voxpupuli/beaker/pull/1900) ([ekohl](https://github.com/ekohl))
|
67
|
+
- Ensure platform is Beaker::Platform in tests [\#1855](https://github.com/voxpupuli/beaker/pull/1855) ([ekohl](https://github.com/ekohl))
|
147
68
|
|
148
|
-
|
69
|
+
## [6.3.0](https://github.com/voxpupuli/beaker/tree/6.3.0) (2024-08-13)
|
149
70
|
|
150
|
-
|
71
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.2.0...6.3.0)
|
151
72
|
|
152
73
|
**Fixed bugs:**
|
153
74
|
|
154
|
-
-
|
155
|
-
|
156
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.3.0...5.3.1)
|
157
|
-
|
158
|
-
## [5.3.0](https://github.com/voxpupuli/beaker/tree/5.3.0) (2023-06-06)
|
159
|
-
|
160
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.2.0...5.3.0)
|
161
|
-
|
162
|
-
**Implemented enhancements:**
|
163
|
-
|
164
|
-
- Add bcrypt\_pbkdf to fix ed25519 ssh keys support [\#1810](https://github.com/voxpupuli/beaker/pull/1810) ([jay7x](https://github.com/jay7x))
|
75
|
+
- Arch Linux: Generate keyring before installing packages [\#1897](https://github.com/voxpupuli/beaker/pull/1897) ([bastelfreak](https://github.com/bastelfreak))
|
165
76
|
|
166
77
|
**Merged pull requests:**
|
167
78
|
|
168
|
-
-
|
169
|
-
- GCG: Add missing faraday dependency [\#1815](https://github.com/voxpupuli/beaker/pull/1815) ([bastelfreak](https://github.com/bastelfreak))
|
170
|
-
- Build gems with verbosity and strictness [\#1811](https://github.com/voxpupuli/beaker/pull/1811) ([bastelfreak](https://github.com/bastelfreak))
|
79
|
+
- build\(deps\): update minitar requirement from ~\> 0.6 to ~\> 0.12 [\#1895](https://github.com/voxpupuli/beaker/pull/1895) ([dependabot[bot]](https://github.com/apps/dependabot))
|
171
80
|
|
172
|
-
## [
|
81
|
+
## [6.2.0](https://github.com/voxpupuli/beaker/tree/6.2.0) (2024-08-03)
|
173
82
|
|
174
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
83
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.1.0...6.2.0)
|
175
84
|
|
176
85
|
**Implemented enhancements:**
|
177
86
|
|
178
|
-
-
|
179
|
-
- Switch to voxpupuli-rubocop [\#1804](https://github.com/voxpupuli/beaker/pull/1804) ([bastelfreak](https://github.com/bastelfreak))
|
180
|
-
- Support an extension to tmpfile [\#1735](https://github.com/voxpupuli/beaker/pull/1735) ([ekohl](https://github.com/ekohl))
|
87
|
+
- Debian: Replace apt-get with apt for updates [\#1890](https://github.com/voxpupuli/beaker/pull/1890) ([bastelfreak](https://github.com/bastelfreak))
|
181
88
|
|
182
89
|
**Fixed bugs:**
|
183
90
|
|
184
|
-
-
|
185
|
-
|
186
|
-
**Closed issues:**
|
187
|
-
|
188
|
-
- Failed to exec 'vagrant up' \(rbenv, ruby 2.7.6, bundler 2.3.19, virtualbox\) [\#1752](https://github.com/voxpupuli/beaker/issues/1752)
|
189
|
-
- EL 9 error - /sbin/service: No such file or directory [\#1751](https://github.com/voxpupuli/beaker/issues/1751)
|
91
|
+
- EL8/9 & Fedora: Install iputils [\#1893](https://github.com/voxpupuli/beaker/pull/1893) ([bastelfreak](https://github.com/bastelfreak))
|
190
92
|
|
191
93
|
**Merged pull requests:**
|
192
94
|
|
193
|
-
-
|
194
|
-
- Drop legacy yard tasks [\#1805](https://github.com/voxpupuli/beaker/pull/1805) ([bastelfreak](https://github.com/bastelfreak))
|
195
|
-
- Enhance documentation about roles [\#1800](https://github.com/voxpupuli/beaker/pull/1800) ([rwaffen](https://github.com/rwaffen))
|
95
|
+
- CI: Update CentOS7-\>CentOS9 [\#1891](https://github.com/voxpupuli/beaker/pull/1891) ([bastelfreak](https://github.com/bastelfreak))
|
196
96
|
|
197
|
-
## [
|
97
|
+
## [6.1.0](https://github.com/voxpupuli/beaker/tree/6.1.0) (2024-06-04)
|
198
98
|
|
199
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
99
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.0.0...6.1.0)
|
200
100
|
|
201
101
|
**Implemented enhancements:**
|
202
102
|
|
203
|
-
-
|
103
|
+
- Add full Amazon 2 support [\#1887](https://github.com/voxpupuli/beaker/pull/1887) ([joshcooper](https://github.com/joshcooper))
|
204
104
|
|
205
|
-
## [
|
105
|
+
## [6.0.0](https://github.com/voxpupuli/beaker/tree/6.0.0) (2024-05-28)
|
206
106
|
|
207
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
107
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.8.1...6.0.0)
|
208
108
|
|
209
109
|
**Breaking changes:**
|
210
110
|
|
211
|
-
-
|
212
|
-
-
|
213
|
-
- Drop
|
214
|
-
- Drop
|
215
|
-
-
|
216
|
-
-
|
111
|
+
- Drop EoL netscaler support [\#1876](https://github.com/voxpupuli/beaker/pull/1876) ([bastelfreak](https://github.com/bastelfreak))
|
112
|
+
- drop validate\_setup method [\#1875](https://github.com/voxpupuli/beaker/pull/1875) ([bastelfreak](https://github.com/bastelfreak))
|
113
|
+
- Drop EoL Arista EOS support [\#1874](https://github.com/voxpupuli/beaker/pull/1874) ([bastelfreak](https://github.com/bastelfreak))
|
114
|
+
- Drop Fedora \< 22 support [\#1873](https://github.com/voxpupuli/beaker/pull/1873) ([ekohl](https://github.com/ekohl))
|
115
|
+
- Drop EoL cisco support [\#1872](https://github.com/voxpupuli/beaker/pull/1872) ([bastelfreak](https://github.com/bastelfreak))
|
116
|
+
- Drop support for EoL Debian/Ubuntu versions [\#1871](https://github.com/voxpupuli/beaker/pull/1871) ([bastelfreak](https://github.com/bastelfreak))
|
117
|
+
- Drop EoL EL4 support [\#1870](https://github.com/voxpupuli/beaker/pull/1870) ([bastelfreak](https://github.com/bastelfreak))
|
118
|
+
- Drop EoL huaweios support [\#1869](https://github.com/voxpupuli/beaker/pull/1869) ([bastelfreak](https://github.com/bastelfreak))
|
119
|
+
- drop sys-v leftovers; assume systemctl is available for unknown platforms [\#1868](https://github.com/voxpupuli/beaker/pull/1868) ([bastelfreak](https://github.com/bastelfreak))
|
120
|
+
- Drop EoL cumulus support [\#1867](https://github.com/voxpupuli/beaker/pull/1867) ([bastelfreak](https://github.com/bastelfreak))
|
121
|
+
- Drop EoL F5 support [\#1866](https://github.com/voxpupuli/beaker/pull/1866) ([bastelfreak](https://github.com/bastelfreak))
|
217
122
|
|
218
123
|
**Implemented enhancements:**
|
219
124
|
|
220
|
-
-
|
221
|
-
- Add Ruby 3.2 support [\#1762](https://github.com/voxpupuli/beaker/pull/1762) ([ekohl](https://github.com/ekohl))
|
125
|
+
- Add package logic for Amazon Linux 2 [\#1884](https://github.com/voxpupuli/beaker/pull/1884) ([mhashizume](https://github.com/mhashizume))
|
222
126
|
|
223
127
|
**Fixed bugs:**
|
224
128
|
|
225
|
-
-
|
129
|
+
- Add ssh restart for Ubuntu [\#1885](https://github.com/voxpupuli/beaker/pull/1885) ([skyamgarp](https://github.com/skyamgarp))
|
226
130
|
|
227
|
-
|
131
|
+
## [5.8.1](https://github.com/voxpupuli/beaker/tree/5.8.1) (2024-05-06)
|
228
132
|
|
229
|
-
|
230
|
-
- rubocop: Fix more Style cops [\#1792](https://github.com/voxpupuli/beaker/pull/1792) ([bastelfreak](https://github.com/bastelfreak))
|
231
|
-
- Rubocop: Fix more Style cops [\#1791](https://github.com/voxpupuli/beaker/pull/1791) ([bastelfreak](https://github.com/bastelfreak))
|
232
|
-
- Rubocop: Fix multiple Layout cops [\#1790](https://github.com/voxpupuli/beaker/pull/1790) ([bastelfreak](https://github.com/bastelfreak))
|
233
|
-
- Add a CI job we can enforce in branch protection [\#1789](https://github.com/voxpupuli/beaker/pull/1789) ([bastelfreak](https://github.com/bastelfreak))
|
234
|
-
- rubocop: disable Gemspec/DevelopmentDependencies [\#1787](https://github.com/voxpupuli/beaker/pull/1787) ([bastelfreak](https://github.com/bastelfreak))
|
235
|
-
- Release pipeline: Dont install optional gems [\#1786](https://github.com/voxpupuli/beaker/pull/1786) ([bastelfreak](https://github.com/bastelfreak))
|
236
|
-
- CI: Run on merges to master [\#1785](https://github.com/voxpupuli/beaker/pull/1785) ([bastelfreak](https://github.com/bastelfreak))
|
237
|
-
- Run acceptance tests in CI [\#1784](https://github.com/voxpupuli/beaker/pull/1784) ([ekohl](https://github.com/ekohl))
|
238
|
-
- Update in-parallel requirement from ~\> 0.1 to \>= 0.1, \< 2.0 [\#1783](https://github.com/voxpupuli/beaker/pull/1783) ([dependabot[bot]](https://github.com/apps/dependabot))
|
239
|
-
- Update rubocop-rspec requirement from ~\> 2.18.1 to ~\> 2.19.0 [\#1781](https://github.com/voxpupuli/beaker/pull/1781) ([dependabot[bot]](https://github.com/apps/dependabot))
|
240
|
-
- Update rubocop requirement from ~\> 1.47.0 to ~\> 1.48.0 [\#1780](https://github.com/voxpupuli/beaker/pull/1780) ([dependabot[bot]](https://github.com/apps/dependabot))
|
241
|
-
- dependabot: check for github actions as well [\#1779](https://github.com/voxpupuli/beaker/pull/1779) ([bastelfreak](https://github.com/bastelfreak))
|
242
|
-
- RuboCop: Fix Layout cops [\#1778](https://github.com/voxpupuli/beaker/pull/1778) ([bastelfreak](https://github.com/bastelfreak))
|
243
|
-
- Fix more rubocop violations [\#1777](https://github.com/voxpupuli/beaker/pull/1777) ([bastelfreak](https://github.com/bastelfreak))
|
244
|
-
- Use Enumerable\#all? [\#1776](https://github.com/voxpupuli/beaker/pull/1776) ([ekohl](https://github.com/ekohl))
|
245
|
-
- Do not include Unix::Exec on Windows::Exec tests [\#1774](https://github.com/voxpupuli/beaker/pull/1774) ([ekohl](https://github.com/ekohl))
|
246
|
-
- Update rubocop requirement from ~\> 1.45.0 to ~\> 1.47.0 [\#1773](https://github.com/voxpupuli/beaker/pull/1773) ([dependabot[bot]](https://github.com/apps/dependabot))
|
247
|
-
- rubocop: Fix commas and whitespace and newlines [\#1768](https://github.com/voxpupuli/beaker/pull/1768) ([bastelfreak](https://github.com/bastelfreak))
|
248
|
-
- CI: Use latest actions/checkout version [\#1766](https://github.com/voxpupuli/beaker/pull/1766) ([bastelfreak](https://github.com/bastelfreak))
|
249
|
-
|
250
|
-
## [4.39.0](https://github.com/voxpupuli/beaker/tree/4.39.0) (2023-02-18)
|
251
|
-
|
252
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/4.38.1...4.39.0)
|
133
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.8.0...5.8.1)
|
253
134
|
|
254
|
-
**
|
135
|
+
**Fixed bugs:**
|
255
136
|
|
256
|
-
-
|
257
|
-
- Add Rubocop [\#1761](https://github.com/voxpupuli/beaker/pull/1761) ([ekohl](https://github.com/ekohl))
|
137
|
+
- Add extension parameter to parent tmpfile method signature [\#1863](https://github.com/voxpupuli/beaker/pull/1863) ([ekohl](https://github.com/ekohl))
|
258
138
|
|
259
|
-
|
139
|
+
## [5.8.0](https://github.com/voxpupuli/beaker/tree/5.8.0) (2024-03-22)
|
260
140
|
|
261
|
-
|
141
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.7.0...5.8.0)
|
262
142
|
|
263
|
-
**
|
143
|
+
**Implemented enhancements:**
|
264
144
|
|
265
|
-
- Ruby 3.
|
145
|
+
- Add Ruby 3.3 support [\#1859](https://github.com/voxpupuli/beaker/pull/1859) ([bastelfreak](https://github.com/bastelfreak))
|
146
|
+
- PE-37978: Add 'amazon' to \#repo-filename method [\#1858](https://github.com/voxpupuli/beaker/pull/1858) ([span786](https://github.com/span786))
|
147
|
+
- Do not attempt to install curl on DNF-based distros [\#1854](https://github.com/voxpupuli/beaker/pull/1854) ([ekohl](https://github.com/ekohl))
|
266
148
|
|
267
|
-
**
|
149
|
+
**Fixed bugs:**
|
268
150
|
|
269
|
-
-
|
151
|
+
- CLI: Fix typo: opton-\>option [\#1849](https://github.com/voxpupuli/beaker/pull/1849) ([bastelfreak](https://github.com/bastelfreak))
|
270
152
|
|
271
153
|
## [4.38.1](https://github.com/voxpupuli/beaker/tree/4.38.1) (2022-09-21)
|
272
154
|
|
data/Gemfile
CHANGED
@@ -1,33 +1,15 @@
|
|
1
1
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
|
-
gem 'stringio'
|
5
|
-
# This section of the gemspec is for Puppet CI; it will pull in
|
6
|
-
# a supported beaker library for testing to overwrite the gemspec if
|
7
|
-
# a corresponding ENV var is found. Currently, the only supported lib
|
8
|
-
# is beaker-pe, which can be injected into the dependencies when the
|
9
|
-
# following ENV vars are defined: BEAKER_PE_PR_AUTHOR,
|
10
|
-
# BEAKER_PE_PR_COMMIT, BEAKER_PE_PR_REPO_URL. These correspond to the
|
11
|
-
# ghprb variables ghprbPullAuthorLogin, ghprbActualCommit,
|
12
|
-
# and ghprbAuthorRepoGitUrl respectively. In the "future", we should
|
13
|
-
# make this a standard format so we can pull in more than predefined
|
14
|
-
# variables.
|
15
|
-
|
16
|
-
if ENV['BEAKER_PE_PR_REPO_URL']
|
17
|
-
lib = ENV['BEAKER_PE_PR_REPO_URL'].match(/\/([^\/]+)\.git$/)[1]
|
18
|
-
author = ENV.fetch('BEAKER_PE_PR_AUTHOR', nil)
|
19
|
-
ref = ENV.fetch('BEAKER_PE_PR_COMMIT', nil)
|
20
|
-
gem lib, :git => "git@github.com:#{author}/#{lib}.git", :branch => ref
|
21
|
-
end
|
22
4
|
|
23
5
|
if ENV['BEAKER_HYPERVISOR']
|
24
6
|
# vagrant_libvirt -> vagrant
|
25
7
|
gem "beaker-#{ENV['BEAKER_HYPERVISOR'].split('_').first}"
|
26
8
|
end
|
27
9
|
|
28
|
-
group :release do
|
29
|
-
gem 'faraday-retry', require: false
|
30
|
-
|
10
|
+
group :release, optional: true do
|
11
|
+
gem 'faraday-retry', '~> 2.1', require: false
|
12
|
+
# fix from smortex to properly process commits that exist in multiple branches
|
13
|
+
# gem 'github_changelog_generator', github: 'smortex/github-changelog-generator', branch: 'avoid-processing-a-single-commit-multiple-time', require: false
|
14
|
+
gem 'github_changelog_generator', '~> 1.16.4', require: false
|
31
15
|
end
|
32
|
-
|
33
|
-
gem 'rdoc' if RUBY_VERSION >= '3.1'
|
data/Rakefile
CHANGED
@@ -191,6 +191,9 @@ begin
|
|
191
191
|
config.project = 'beaker'
|
192
192
|
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
|
193
193
|
config.future_release = gem_version
|
194
|
+
config.release_branch = 'master'
|
195
|
+
config.exclude_tags_regex = /\A4\./
|
196
|
+
config.since_tag = '5.7.0'
|
194
197
|
end
|
195
198
|
rescue LoadError
|
196
199
|
# Optional group in bundler
|
data/beaker.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
|
27
27
|
# Run time dependencies
|
28
28
|
# Required for Ruby 3.3+ support
|
29
|
-
s.add_dependency 'base64', '
|
29
|
+
s.add_dependency 'base64', '>= 0.2.0', '< 1'
|
30
30
|
s.add_dependency 'benchmark', '>= 0.3', '< 0.5'
|
31
31
|
# we cannot require 1.0.2 because that requires Ruby 3.1
|
32
32
|
s.add_dependency 'minitar', '>= 0.12', '< 2'
|
@@ -280,7 +280,7 @@ module Unix::Exec
|
|
280
280
|
case self['platform']
|
281
281
|
when /debian|ubuntu/
|
282
282
|
exec(Beaker::Command.new("systemctl restart ssh"))
|
283
|
-
when /(el|centos|redhat|oracle|scientific)-[0-6]/
|
283
|
+
when /(el|centos|redhat|oracle|scientific)-[0-6]\b/
|
284
284
|
exec(Beaker::Command.new("/sbin/service sshd restart"))
|
285
285
|
when /solaris/
|
286
286
|
exec(Beaker::Command.new("svcadm restart svc:/network/ssh:default"))
|
data/lib/beaker/version.rb
CHANGED
data/spec/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
@@ -75,16 +75,22 @@ dependencies:
|
|
75
75
|
name: base64
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 0.2.0
|
81
|
+
- - "<"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1'
|
81
84
|
type: :runtime
|
82
85
|
prerelease: false
|
83
86
|
version_requirements: !ruby/object:Gem::Requirement
|
84
87
|
requirements:
|
85
|
-
- - "
|
88
|
+
- - ">="
|
86
89
|
- !ruby/object:Gem::Version
|
87
90
|
version: 0.2.0
|
91
|
+
- - "<"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '1'
|
88
94
|
- !ruby/object:Gem::Dependency
|
89
95
|
name: benchmark
|
90
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -352,6 +358,7 @@ extensions: []
|
|
352
358
|
extra_rdoc_files: []
|
353
359
|
files:
|
354
360
|
- ".github/dependabot.yml"
|
361
|
+
- ".github/release.yml"
|
355
362
|
- ".github/workflows/release.yml"
|
356
363
|
- ".github/workflows/test.yml"
|
357
364
|
- ".gitignore"
|