beaker 6.7.0 → 6.8.1
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 +70 -180
- 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/host_prebuilt_steps.rb +3 -3
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/host_prebuilt_steps_spec.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: 569f6e836d92183b8d192a6865f0db91f711fe52235c37a4d3faaf0dbde2daec
|
4
|
+
data.tar.gz: 49dd48391cb708a5dd9eb17272c8a84df1658b1263664c185caa8da81592b213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f60c37aa1325936de181703c981bab351560035cb42b50b9c0789ce39463c655848c7856d4387dac64a4d7dbf1be6b16102447017aec25fb3befe0a7af3b78
|
7
|
+
data.tar.gz: b26dc87dbff51e7437594c17a0dfac7dd0287a7e91a5f03070dbb7783f2e32a26d832ce7048a32713aec9d04824aa4b2bc1780a0625b71c1d1dd9cd0ead43142
|
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,162 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [6.
|
3
|
+
## [6.8.1](https://github.com/voxpupuli/beaker/tree/6.8.1) (2025-06-16)
|
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)
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.8.0...6.8.1)
|
32
6
|
|
33
7
|
**Fixed bugs:**
|
34
8
|
|
35
|
-
-
|
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)
|
46
|
-
|
47
|
-
**Implemented enhancements:**
|
48
|
-
|
49
|
-
- build(deps): update minitar requirement from ~> 0.6 to ~> 0.12 [\#1895](https://github.com/voxpupuli/beaker/pull/1895)
|
50
|
-
|
51
|
-
**Fixed bugs:**
|
9
|
+
- Use systemd to reload ssh during host prebuilt on RHEL10 [\#1933](https://github.com/voxpupuli/beaker/pull/1933) ([matejzero](https://github.com/matejzero))
|
52
10
|
|
53
|
-
|
11
|
+
## [6.8.0](https://github.com/voxpupuli/beaker/tree/6.8.0) (2025-06-15)
|
54
12
|
|
55
|
-
|
13
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.7.0...6.8.0)
|
56
14
|
|
57
15
|
**Implemented enhancements:**
|
58
16
|
|
59
|
-
-
|
17
|
+
- base64: Allow \<1 [\#1931](https://github.com/voxpupuli/beaker/pull/1931) ([bastelfreak](https://github.com/bastelfreak))
|
60
18
|
|
61
19
|
**Fixed bugs:**
|
62
20
|
|
63
|
-
-
|
21
|
+
- \(\#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))
|
64
22
|
|
65
|
-
## [6.
|
66
|
-
|
67
|
-
**Implemented enhancements:**
|
68
|
-
|
69
|
-
- Add package logic for Amazon Linux 2 [\#1887](https://github.com/voxpupuli/beaker/pull/1884) ([mhashizume](https://github.com/joshcooper))
|
70
|
-
|
71
|
-
## [6.0.0](https://github.com/voxpupuli/beaker/tree/6.0.0) (2024-05-24)
|
72
|
-
|
73
|
-
**Breaking changes:**
|
23
|
+
## [6.7.0](https://github.com/voxpupuli/beaker/tree/6.7.0) (2025-05-28)
|
74
24
|
|
75
|
-
|
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))
|
25
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.6.0...6.7.0)
|
86
26
|
|
87
27
|
**Implemented enhancements:**
|
88
28
|
|
89
|
-
- Add
|
29
|
+
- Add `benchmark` dependency for Ruby 3.5 support [\#1920](https://github.com/voxpupuli/beaker/pull/1920) ([bastelfreak](https://github.com/bastelfreak))
|
30
|
+
- fakefs: Allow 3.x [\#1918](https://github.com/voxpupuli/beaker/pull/1918) ([bastelfreak](https://github.com/bastelfreak))
|
31
|
+
- Add Ruby 3.4 support [\#1917](https://github.com/voxpupuli/beaker/pull/1917) ([bastelfreak](https://github.com/bastelfreak))
|
32
|
+
- Fix some doc issues [\#1916](https://github.com/voxpupuli/beaker/pull/1916) ([lbetz](https://github.com/lbetz))
|
90
33
|
|
91
34
|
**Fixed bugs:**
|
92
35
|
|
93
|
-
-
|
94
|
-
|
95
|
-
## [5.8.1](https://github.com/voxpupuli/beaker/tree/5.8.1) (2024-05-06)
|
36
|
+
- Fix wrong parameter assignment in multiple places [\#1926](https://github.com/voxpupuli/beaker/pull/1926) ([bastelfreak](https://github.com/bastelfreak))
|
37
|
+
- Fix macOS package installation when DMG content differs from filename [\#1915](https://github.com/voxpupuli/beaker/pull/1915) ([gavindidrichsen](https://github.com/gavindidrichsen))
|
96
38
|
|
97
|
-
|
98
|
-
|
99
|
-
- Add extension parameter to parent tmpfile method signature [\#1863](https://github.com/voxpupuli/beaker/pull/1863) ([ekohl](https://github.com/ekohl))
|
39
|
+
## [6.6.0](https://github.com/voxpupuli/beaker/tree/6.6.0) (2025-03-27)
|
100
40
|
|
101
|
-
|
41
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.5.0...6.6.0)
|
102
42
|
|
103
43
|
**Implemented enhancements:**
|
104
44
|
|
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:**
|
45
|
+
- 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))
|
110
46
|
|
111
|
-
|
112
|
-
|
113
|
-
**Others:**
|
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)
|
47
|
+
## [6.5.0](https://github.com/voxpupuli/beaker/tree/6.5.0) (2025-03-18)
|
116
48
|
|
117
|
-
|
49
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.4.1...6.5.0)
|
118
50
|
|
119
51
|
**Implemented enhancements:**
|
120
52
|
|
121
|
-
-
|
53
|
+
- \(\#1896\) Allow minitar 1.x [\#1910](https://github.com/voxpupuli/beaker/pull/1910) ([bastelfreak](https://github.com/bastelfreak))
|
54
|
+
- \(PA-7210\) Add support for amazonfips [\#1908](https://github.com/voxpupuli/beaker/pull/1908) ([shubhamshinde360](https://github.com/shubhamshinde360))
|
122
55
|
|
123
|
-
## [
|
124
|
-
|
125
|
-
**Implemented enhancements:**
|
56
|
+
## [6.4.1](https://github.com/voxpupuli/beaker/tree/6.4.1) (2024-08-27)
|
126
57
|
|
127
|
-
|
128
|
-
- Use DNF for Fedora, newer Enterprise Linux [\#1835](https://github.com/voxpupuli/beaker/pull/1835) ([mhashizume](https://github.com/mhashizume))
|
58
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.4.0...6.4.1)
|
129
59
|
|
130
60
|
**Fixed bugs:**
|
131
61
|
|
132
|
-
-
|
62
|
+
- platform: don't install `curl-minimal` on EL family [\#1902](https://github.com/voxpupuli/beaker/pull/1902) ([kenyon](https://github.com/kenyon))
|
133
63
|
|
134
|
-
## [
|
64
|
+
## [6.4.0](https://github.com/voxpupuli/beaker/tree/6.4.0) (2024-08-27)
|
135
65
|
|
136
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
66
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.3.0...6.4.0)
|
137
67
|
|
138
68
|
**Implemented enhancements:**
|
139
69
|
|
140
|
-
-
|
141
|
-
|
142
|
-
## [5.4.0](https://github.com/voxpupuli/beaker/tree/5.4.0) (2023-09-12)
|
70
|
+
- Only install timesync packages if needed [\#1853](https://github.com/voxpupuli/beaker/pull/1853) ([ekohl](https://github.com/ekohl))
|
143
71
|
|
144
|
-
|
72
|
+
**Merged pull requests:**
|
145
73
|
|
146
|
-
|
74
|
+
- 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))
|
75
|
+
- Ensure platform is Beaker::Platform in tests [\#1855](https://github.com/voxpupuli/beaker/pull/1855) ([ekohl](https://github.com/ekohl))
|
147
76
|
|
148
|
-
|
77
|
+
## [6.3.0](https://github.com/voxpupuli/beaker/tree/6.3.0) (2024-08-13)
|
149
78
|
|
150
|
-
|
79
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.2.0...6.3.0)
|
151
80
|
|
152
81
|
**Fixed bugs:**
|
153
82
|
|
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))
|
83
|
+
- Arch Linux: Generate keyring before installing packages [\#1897](https://github.com/voxpupuli/beaker/pull/1897) ([bastelfreak](https://github.com/bastelfreak))
|
165
84
|
|
166
85
|
**Merged pull requests:**
|
167
86
|
|
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))
|
87
|
+
- 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
88
|
|
172
|
-
## [
|
89
|
+
## [6.2.0](https://github.com/voxpupuli/beaker/tree/6.2.0) (2024-08-03)
|
173
90
|
|
174
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
91
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.1.0...6.2.0)
|
175
92
|
|
176
93
|
**Implemented enhancements:**
|
177
94
|
|
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))
|
95
|
+
- Debian: Replace apt-get with apt for updates [\#1890](https://github.com/voxpupuli/beaker/pull/1890) ([bastelfreak](https://github.com/bastelfreak))
|
181
96
|
|
182
97
|
**Fixed bugs:**
|
183
98
|
|
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)
|
99
|
+
- EL8/9 & Fedora: Install iputils [\#1893](https://github.com/voxpupuli/beaker/pull/1893) ([bastelfreak](https://github.com/bastelfreak))
|
190
100
|
|
191
101
|
**Merged pull requests:**
|
192
102
|
|
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))
|
103
|
+
- CI: Update CentOS7-\>CentOS9 [\#1891](https://github.com/voxpupuli/beaker/pull/1891) ([bastelfreak](https://github.com/bastelfreak))
|
196
104
|
|
197
|
-
## [
|
105
|
+
## [6.1.0](https://github.com/voxpupuli/beaker/tree/6.1.0) (2024-06-04)
|
198
106
|
|
199
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
107
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/6.0.0...6.1.0)
|
200
108
|
|
201
109
|
**Implemented enhancements:**
|
202
110
|
|
203
|
-
-
|
111
|
+
- Add full Amazon 2 support [\#1887](https://github.com/voxpupuli/beaker/pull/1887) ([joshcooper](https://github.com/joshcooper))
|
204
112
|
|
205
|
-
## [
|
113
|
+
## [6.0.0](https://github.com/voxpupuli/beaker/tree/6.0.0) (2024-05-28)
|
206
114
|
|
207
|
-
[Full Changelog](https://github.com/voxpupuli/beaker/compare/
|
115
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.8.1...6.0.0)
|
208
116
|
|
209
117
|
**Breaking changes:**
|
210
118
|
|
211
|
-
-
|
212
|
-
-
|
213
|
-
- Drop
|
214
|
-
- Drop
|
215
|
-
-
|
216
|
-
-
|
119
|
+
- Drop EoL netscaler support [\#1876](https://github.com/voxpupuli/beaker/pull/1876) ([bastelfreak](https://github.com/bastelfreak))
|
120
|
+
- drop validate\_setup method [\#1875](https://github.com/voxpupuli/beaker/pull/1875) ([bastelfreak](https://github.com/bastelfreak))
|
121
|
+
- Drop EoL Arista EOS support [\#1874](https://github.com/voxpupuli/beaker/pull/1874) ([bastelfreak](https://github.com/bastelfreak))
|
122
|
+
- Drop Fedora \< 22 support [\#1873](https://github.com/voxpupuli/beaker/pull/1873) ([ekohl](https://github.com/ekohl))
|
123
|
+
- Drop EoL cisco support [\#1872](https://github.com/voxpupuli/beaker/pull/1872) ([bastelfreak](https://github.com/bastelfreak))
|
124
|
+
- Drop support for EoL Debian/Ubuntu versions [\#1871](https://github.com/voxpupuli/beaker/pull/1871) ([bastelfreak](https://github.com/bastelfreak))
|
125
|
+
- Drop EoL EL4 support [\#1870](https://github.com/voxpupuli/beaker/pull/1870) ([bastelfreak](https://github.com/bastelfreak))
|
126
|
+
- Drop EoL huaweios support [\#1869](https://github.com/voxpupuli/beaker/pull/1869) ([bastelfreak](https://github.com/bastelfreak))
|
127
|
+
- drop sys-v leftovers; assume systemctl is available for unknown platforms [\#1868](https://github.com/voxpupuli/beaker/pull/1868) ([bastelfreak](https://github.com/bastelfreak))
|
128
|
+
- Drop EoL cumulus support [\#1867](https://github.com/voxpupuli/beaker/pull/1867) ([bastelfreak](https://github.com/bastelfreak))
|
129
|
+
- Drop EoL F5 support [\#1866](https://github.com/voxpupuli/beaker/pull/1866) ([bastelfreak](https://github.com/bastelfreak))
|
217
130
|
|
218
131
|
**Implemented enhancements:**
|
219
132
|
|
220
|
-
-
|
221
|
-
- Add Ruby 3.2 support [\#1762](https://github.com/voxpupuli/beaker/pull/1762) ([ekohl](https://github.com/ekohl))
|
133
|
+
- Add package logic for Amazon Linux 2 [\#1884](https://github.com/voxpupuli/beaker/pull/1884) ([mhashizume](https://github.com/mhashizume))
|
222
134
|
|
223
135
|
**Fixed bugs:**
|
224
136
|
|
225
|
-
-
|
137
|
+
- Add ssh restart for Ubuntu [\#1885](https://github.com/voxpupuli/beaker/pull/1885) ([skyamgarp](https://github.com/skyamgarp))
|
226
138
|
|
227
|
-
|
139
|
+
## [5.8.1](https://github.com/voxpupuli/beaker/tree/5.8.1) (2024-05-06)
|
228
140
|
|
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)
|
141
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.8.0...5.8.1)
|
253
142
|
|
254
|
-
**
|
143
|
+
**Fixed bugs:**
|
255
144
|
|
256
|
-
-
|
257
|
-
- Add Rubocop [\#1761](https://github.com/voxpupuli/beaker/pull/1761) ([ekohl](https://github.com/ekohl))
|
145
|
+
- Add extension parameter to parent tmpfile method signature [\#1863](https://github.com/voxpupuli/beaker/pull/1863) ([ekohl](https://github.com/ekohl))
|
258
146
|
|
259
|
-
|
147
|
+
## [5.8.0](https://github.com/voxpupuli/beaker/tree/5.8.0) (2024-03-22)
|
260
148
|
|
261
|
-
|
149
|
+
[Full Changelog](https://github.com/voxpupuli/beaker/compare/5.7.0...5.8.0)
|
262
150
|
|
263
|
-
**
|
151
|
+
**Implemented enhancements:**
|
264
152
|
|
265
|
-
- Ruby 3.
|
153
|
+
- Add Ruby 3.3 support [\#1859](https://github.com/voxpupuli/beaker/pull/1859) ([bastelfreak](https://github.com/bastelfreak))
|
154
|
+
- PE-37978: Add 'amazon' to \#repo-filename method [\#1858](https://github.com/voxpupuli/beaker/pull/1858) ([span786](https://github.com/span786))
|
155
|
+
- Do not attempt to install curl on DNF-based distros [\#1854](https://github.com/voxpupuli/beaker/pull/1854) ([ekohl](https://github.com/ekohl))
|
266
156
|
|
267
|
-
**
|
157
|
+
**Fixed bugs:**
|
268
158
|
|
269
|
-
-
|
159
|
+
- CLI: Fix typo: opton-\>option [\#1849](https://github.com/voxpupuli/beaker/pull/1849) ([bastelfreak](https://github.com/bastelfreak))
|
270
160
|
|
271
161
|
## [4.38.1](https://github.com/voxpupuli/beaker/tree/4.38.1) (2022-09-21)
|
272
162
|
|
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"))
|
@@ -328,10 +328,10 @@ module Beaker
|
|
328
328
|
# restart sshd
|
329
329
|
if /debian|ubuntu/.match?(host['platform'])
|
330
330
|
host.exec(Command.new("sudo su -c \"service ssh restart\""), { :pty => true })
|
331
|
-
elsif /
|
332
|
-
host.exec(Command.new("sudo -E systemctl restart sshd.service"), { :pty => true })
|
333
|
-
elsif /centos|el-|redhat/.match?(host['platform'])
|
331
|
+
elsif /(el|centos|redhat|oracle|scientific)-[0-6]\b/.match?(host['platform'])
|
334
332
|
host.exec(Command.new("sudo -E /sbin/service sshd reload"), { :pty => true })
|
333
|
+
elsif /amazon|arch|centos|el|redhat|fedora/.match?(host['platform'])
|
334
|
+
host.exec(Command.new("sudo -E systemctl restart sshd.service"), { :pty => true })
|
335
335
|
elsif /(free|open)bsd/.match?(host['platform'])
|
336
336
|
host.exec(Command.new("sudo /etc/rc.d/sshd restart"))
|
337
337
|
elsif host['platform'].include?('solaris')
|
data/lib/beaker/version.rb
CHANGED
@@ -82,7 +82,7 @@ describe Beaker do
|
|
82
82
|
]
|
83
83
|
end
|
84
84
|
|
85
|
-
['centos-9-64', 'el-9-64', 'redhat-9-64', 'fedora-39-64'].each do |redhat_like|
|
85
|
+
['centos-9-64', 'el-9-64', 'el-10-64', 'redhat-9-64', 'redhat-10-64', 'fedora-39-64'].each do |redhat_like|
|
86
86
|
it_behaves_like 'enables_root_login', redhat_like, [
|
87
87
|
"sudo su -c \"sed -ri 's/^#?PermitRootLogin no|^#?PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config\"",
|
88
88
|
"sudo -E systemctl restart sshd.service",
|
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.1
|
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"
|