beaker-qa-i18n 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d5feca2a44e0daa821991db26ad45b704dbcdfa9c333a7938ee2b4f84be31fd5
4
+ data.tar.gz: bd4dcc906176ebf8e5ffff1ecf66e9d6a48998e9103e37073827b96eac570f22
5
+ SHA512:
6
+ metadata.gz: d0991810f72580fc399c6e91607c3fbce5059652600f042580edb06e88f2126f4823dd9033647d8723181bfbb6523445f5b12ceea3c66c79dcf5bbf3c540304b
7
+ data.tar.gz: c852beba3ebf9a822513bd4f39442aa66da5fb7bebcffb76985bc7d69231756964c1e6d479e61b759ceaac35a698ead63b63dc7e46d0cdd3d7564c7ae98f038e
@@ -0,0 +1,13 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
7
+ open-pull-requests-limit: 10
8
+
9
+ - package-ecosystem: bundler
10
+ directory: "/"
11
+ schedule:
12
+ interval: "weekly"
13
+ open-pull-requests-limit: 10
@@ -0,0 +1,88 @@
1
+ name: Release Gem
2
+
3
+ on: workflow_dispatch
4
+
5
+ jobs:
6
+ release:
7
+ runs-on: ubuntu-latest
8
+ if: github.repository == 'puppetlabs/beaker-qa-i18n'
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+
12
+ - name: Get Current Version
13
+ uses: actions/github-script@v6
14
+ id: cv
15
+ with:
16
+ script: |
17
+ const { data: response } = await github.rest.repos.getLatestRelease({
18
+ owner: context.repo.owner,
19
+ repo: context.repo.repo,
20
+ })
21
+ console.log(`The latest release is ${response.tag_name}`)
22
+ return response.tag_name
23
+ result-encoding: string
24
+
25
+ - name: Get Next Version
26
+ id: nv
27
+ run: |
28
+ version=$(grep STRING lib/beaker-qa-i18n/version.rb |rev |cut -d "'" -f2 |rev)
29
+ echo "version=$version" >> $GITHUB_OUTPUT
30
+ echo "Found version $version from lib/beaker-qa-i18n/version.rb"
31
+
32
+ - name: Generate Changelog
33
+ uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
34
+ with:
35
+ args: >-
36
+ --future-release ${{ steps.nv.outputs.version }}
37
+ env:
38
+ CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
+
40
+ - name: Validate Changelog
41
+ run : |
42
+ set -e
43
+ if [[ -n $(git status --porcelain) ]]; then
44
+ echo "Here is the current git status:"
45
+ git status
46
+ echo
47
+ echo "The following changes were detected:"
48
+ git --no-pager diff
49
+ echo "Uncommitted PRs found in the changelog. Please submit a release prep PR of changes after running `./update-changelog`"
50
+ exit 1
51
+ fi
52
+
53
+ - name: Generate Release Notes
54
+ uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
55
+ with:
56
+ args: >-
57
+ --since-tag ${{ steps.cv.outputs.result }}
58
+ --future-release ${{ steps.nv.outputs.version }}
59
+ --output release-notes.md
60
+ env:
61
+ CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62
+
63
+ - name: Tag Release
64
+ uses: ncipollo/release-action@v1
65
+ with:
66
+ tag: ${{ steps.nv.outputs.version }}
67
+ token: ${{ secrets.GITHUB_TOKEN }}
68
+ bodyfile: release-notes.md
69
+ draft: false
70
+ prerelease: false
71
+
72
+ - name: Install Ruby 3.2
73
+ uses: ruby/setup-ruby@v1
74
+ with:
75
+ ruby-version: '3.2'
76
+
77
+ - name: Build gem
78
+ run: gem build *.gemspec
79
+
80
+ - name: Publish gem
81
+ run: |
82
+ mkdir -p $HOME/.gem
83
+ touch $HOME/.gem/credentials
84
+ chmod 0600 $HOME/.gem/credentials
85
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
86
+ gem push *.gem
87
+ env:
88
+ GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
@@ -0,0 +1,39 @@
1
+ name: Security
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ scan:
10
+ name: Mend Scanning
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: checkout repo content
14
+ uses: actions/checkout@v3
15
+ with:
16
+ fetch-depth: 1
17
+ - name: setup ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: 2.7
21
+ # setup a package lock if one doesn't exist, otherwise do nothing
22
+ - name: check lock
23
+ run: '[ -f "Gemfile.lock" ] && echo "package lock file exists, skipping" || bundle lock'
24
+ # install java
25
+ - uses: actions/setup-java@v3
26
+ with:
27
+ distribution: 'temurin' # See 'Supported distributions' for available options
28
+ java-version: '17'
29
+ # download mend
30
+ - name: download_mend
31
+ run: curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
32
+ - name: run mend
33
+ run: java -jar wss-unified-agent.jar
34
+ env:
35
+ WS_APIKEY: ${{ secrets.MEND_API_KEY }}
36
+ WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent
37
+ WS_USERKEY: ${{ secrets.MEND_TOKEN }}
38
+ WS_PRODUCTNAME: RE
39
+ WS_PROJECTNAME: ${{ github.event.repository.name }}
@@ -0,0 +1,3 @@
1
+ project=beaker-qa-i18n
2
+ user=puppetlabs
3
+ exclude_labels=maintenance
data/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ ## [1.0.0](https://github.com/puppetlabs/beaker-qa-i18n/tree/1.0.0) (2023-06-28)
4
+
5
+ [Full Changelog](https://github.com/puppetlabs/beaker-qa-i18n/compare/0.0.5...1.0.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - \(RE-15616\) Add standard release workflow [\#21](https://github.com/puppetlabs/beaker-qa-i18n/pull/21) ([yachub](https://github.com/yachub))
10
+ - \(RE-15111\) Add Mend Scanning [\#15](https://github.com/puppetlabs/beaker-qa-i18n/pull/15) ([yachub](https://github.com/yachub))
11
+ - \(RE-14811\) Add RE as codeowners [\#12](https://github.com/puppetlabs/beaker-qa-i18n/pull/12) ([yachub](https://github.com/yachub))
12
+ - Update rake requirement from ~\> 10.1 to ~\> 13.0 [\#6](https://github.com/puppetlabs/beaker-qa-i18n/pull/6) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+ - Add Dependabot to keep thins up to date [\#4](https://github.com/puppetlabs/beaker-qa-i18n/pull/4) ([genebean](https://github.com/genebean))
14
+
15
+ ## [0.0.5](https://github.com/puppetlabs/beaker-qa-i18n/tree/0.0.5) (2016-09-13)
16
+
17
+ [Full Changelog](https://github.com/puppetlabs/beaker-qa-i18n/compare/0.0.4...0.0.5)
18
+
19
+ **Merged pull requests:**
20
+
21
+ - \(maint\) Fix get\_i18n\_string to return string [\#2](https://github.com/puppetlabs/beaker-qa-i18n/pull/2) ([samwoods1](https://github.com/samwoods1))
22
+
23
+ ## [0.0.4](https://github.com/puppetlabs/beaker-qa-i18n/tree/0.0.4) (2016-08-30)
24
+
25
+ [Full Changelog](https://github.com/puppetlabs/beaker-qa-i18n/compare/0dae0788ef864004f1df8c4687a3befce0affba4...0.0.4)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - \(QA-2617\) Prep for generating gem [\#1](https://github.com/puppetlabs/beaker-qa-i18n/pull/1) ([samwoods1](https://github.com/samwoods1))
30
+
31
+
32
+
33
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/CODEOWNERS ADDED
@@ -0,0 +1,2 @@
1
+ * @puppetlabs/release-engineering
2
+
data/Gemfile ADDED
@@ -0,0 +1,26 @@
1
+ source ENV['GEM_SOURCE'] || "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+
6
+ def location_for(place, fake_version = nil)
7
+ if place =~ /^(git:[^#]*)#(.*)/
8
+ [fake_version, { :git => $1, :branch => $2, :require => false }].compact
9
+ elsif place =~ /^file:\/\/(.*)/
10
+ ['>= 0', { :path => File.expand_path($1), :require => false }]
11
+ else
12
+ [place, { :require => false }]
13
+ end
14
+ end
15
+
16
+
17
+ # We don't put beaker in as a test dependency because we
18
+ # don't want to create a transitive dependency
19
+ group :acceptance_testing do
20
+ gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 2.0')
21
+ end
22
+
23
+
24
+ if File.exists? "#{__FILE__}.local"
25
+ eval(File.read("#{__FILE__}.local"), binding)
26
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,324 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ beaker-qa-i18n (1.0.0)
5
+ stringify-hash (~> 0.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ CFPropertyList (2.3.6)
11
+ activesupport (7.0.5.1)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 1.6, < 2)
14
+ minitest (>= 5.1)
15
+ tzinfo (~> 2.0)
16
+ addressable (2.4.0)
17
+ aws-sdk-v1 (1.67.0)
18
+ json (~> 1.4)
19
+ nokogiri (~> 1)
20
+ beaker (2.52.0)
21
+ aws-sdk-v1 (~> 1.57)
22
+ beaker-answers (~> 0.0)
23
+ beaker-hiera (~> 0.0)
24
+ beaker-hostgenerator
25
+ beaker-pe (~> 0.0)
26
+ docker-api
27
+ fission (~> 0.4)
28
+ fog (~> 1.25, < 1.35.0)
29
+ fog-google (~> 0.0.9)
30
+ google-api-client (~> 0.8, < 0.9.5)
31
+ hocon (~> 1.0)
32
+ in-parallel (~> 0.1)
33
+ inifile (~> 2.0)
34
+ json (~> 1.8)
35
+ mime-types (~> 2.99)
36
+ minitest (~> 5.4)
37
+ net-scp (~> 1.2)
38
+ net-ssh (~> 2.9)
39
+ open_uri_redirections (~> 0.2.1)
40
+ public_suffix (< 1.5.0)
41
+ rbvmomi (~> 1.8, < 1.9.0)
42
+ rsync (~> 1.0.9)
43
+ stringify-hash (~> 0.0)
44
+ unf (~> 0.1)
45
+ beaker-answers (0.29.0)
46
+ hocon (~> 1.0)
47
+ require_all (>= 1.3.2, < 3.1.0)
48
+ stringify-hash (~> 0.0.0)
49
+ beaker-hiera (0.2.0)
50
+ stringify-hash (~> 0.0.0)
51
+ beaker-hostgenerator (2.2.0)
52
+ deep_merge (~> 1.0)
53
+ beaker-pe (0.12.2)
54
+ stringify-hash (~> 0.0.0)
55
+ builder (3.2.4)
56
+ coderay (1.1.3)
57
+ concurrent-ruby (1.2.2)
58
+ daemons (1.4.1)
59
+ deep_merge (1.2.2)
60
+ diff-lcs (1.5.0)
61
+ docile (1.4.0)
62
+ docker-api (2.2.0)
63
+ excon (>= 0.47.0)
64
+ multi_json
65
+ dry-inflector (1.0.0)
66
+ eventmachine (1.2.7)
67
+ excon (0.100.0)
68
+ fakefs (0.20.1)
69
+ faraday (1.10.3)
70
+ faraday-em_http (~> 1.0)
71
+ faraday-em_synchrony (~> 1.0)
72
+ faraday-excon (~> 1.1)
73
+ faraday-httpclient (~> 1.0)
74
+ faraday-multipart (~> 1.0)
75
+ faraday-net_http (~> 1.0)
76
+ faraday-net_http_persistent (~> 1.0)
77
+ faraday-patron (~> 1.0)
78
+ faraday-rack (~> 1.0)
79
+ faraday-retry (~> 1.0)
80
+ ruby2_keywords (>= 0.0.4)
81
+ faraday-em_http (1.0.0)
82
+ faraday-em_synchrony (1.0.0)
83
+ faraday-excon (1.1.0)
84
+ faraday-httpclient (1.0.1)
85
+ faraday-multipart (1.0.4)
86
+ multipart-post (~> 2)
87
+ faraday-net_http (1.0.1)
88
+ faraday-net_http_persistent (1.2.0)
89
+ faraday-patron (1.0.0)
90
+ faraday-rack (1.0.0)
91
+ faraday-retry (1.0.3)
92
+ fission (0.5.0)
93
+ CFPropertyList (~> 2.2)
94
+ fog (1.34.0)
95
+ fog-atmos
96
+ fog-aws (>= 0.6.0)
97
+ fog-brightbox (~> 0.4)
98
+ fog-core (~> 1.32)
99
+ fog-dynect (~> 0.0.2)
100
+ fog-ecloud (~> 0.1)
101
+ fog-google (>= 0.0.2)
102
+ fog-json
103
+ fog-local
104
+ fog-powerdns (>= 0.1.1)
105
+ fog-profitbricks
106
+ fog-radosgw (>= 0.0.2)
107
+ fog-riakcs
108
+ fog-sakuracloud (>= 0.0.4)
109
+ fog-serverlove
110
+ fog-softlayer
111
+ fog-storm_on_demand
112
+ fog-terremark
113
+ fog-vmfusion
114
+ fog-voxel
115
+ fog-xml (~> 0.1.1)
116
+ ipaddress (~> 0.5)
117
+ nokogiri (~> 1.5, >= 1.5.11)
118
+ fog-atmos (0.1.0)
119
+ fog-core
120
+ fog-xml
121
+ fog-aws (2.0.1)
122
+ fog-core (~> 1.38)
123
+ fog-json (~> 1.0)
124
+ fog-xml (~> 0.1)
125
+ ipaddress (~> 0.8)
126
+ fog-brightbox (0.16.1)
127
+ dry-inflector
128
+ fog-core
129
+ fog-json
130
+ mime-types
131
+ fog-core (1.45.0)
132
+ builder
133
+ excon (~> 0.58)
134
+ formatador (~> 0.2)
135
+ fog-dynect (0.0.3)
136
+ fog-core
137
+ fog-json
138
+ fog-xml
139
+ fog-ecloud (0.3.0)
140
+ fog-core
141
+ fog-xml
142
+ fog-google (0.0.9)
143
+ fog-core
144
+ fog-json
145
+ fog-xml
146
+ fog-json (1.2.0)
147
+ fog-core
148
+ multi_json (~> 1.10)
149
+ fog-local (0.8.0)
150
+ fog-core (>= 1.27, < 3.0)
151
+ fog-powerdns (0.2.0)
152
+ fog-core
153
+ fog-json
154
+ fog-xml
155
+ fog-profitbricks (4.1.1)
156
+ fog-core (~> 1.42)
157
+ fog-json (~> 1.0)
158
+ fog-radosgw (0.0.5)
159
+ fog-core (>= 1.21.0)
160
+ fog-json
161
+ fog-xml (>= 0.0.1)
162
+ fog-riakcs (0.1.0)
163
+ fog-core
164
+ fog-json
165
+ fog-xml
166
+ fog-sakuracloud (1.7.5)
167
+ fog-core
168
+ fog-json
169
+ fog-serverlove (0.1.2)
170
+ fog-core
171
+ fog-json
172
+ fog-softlayer (1.1.4)
173
+ fog-core
174
+ fog-json
175
+ fog-storm_on_demand (0.1.1)
176
+ fog-core
177
+ fog-json
178
+ fog-terremark (0.1.0)
179
+ fog-core
180
+ fog-xml
181
+ fog-vmfusion (0.1.0)
182
+ fission
183
+ fog-core
184
+ fog-voxel (0.1.0)
185
+ fog-core
186
+ fog-xml
187
+ fog-xml (0.1.4)
188
+ fog-core
189
+ nokogiri (>= 1.5.11, < 2.0.0)
190
+ formatador (0.3.0)
191
+ google-api-client (0.9.4)
192
+ addressable (~> 2.3)
193
+ googleauth (~> 0.5)
194
+ httpclient (~> 2.7)
195
+ hurley (~> 0.1)
196
+ memoist (~> 0.11)
197
+ mime-types (>= 1.6)
198
+ representable (~> 2.3.0)
199
+ retriable (~> 2.0)
200
+ thor (~> 0.19)
201
+ googleauth (0.17.1)
202
+ faraday (>= 0.17.3, < 2.0)
203
+ jwt (>= 1.4, < 3.0)
204
+ memoist (~> 0.16)
205
+ multi_json (~> 1.11)
206
+ os (>= 0.9, < 2.0)
207
+ signet (~> 0.15)
208
+ hocon (1.4.0)
209
+ httpclient (2.8.3)
210
+ hurley (0.2)
211
+ i18n (1.14.1)
212
+ concurrent-ruby (~> 1.0)
213
+ in-parallel (0.1.17)
214
+ inifile (2.0.2)
215
+ iniparser (1.0.1)
216
+ ipaddress (0.8.3)
217
+ json (1.8.6)
218
+ jwt (2.7.1)
219
+ kramdown (2.4.0)
220
+ rexml
221
+ logutils (0.6.1)
222
+ markdown (1.2.0)
223
+ kramdown (>= 1.5.0)
224
+ props (>= 1.1.2)
225
+ textutils (>= 0.10.0)
226
+ memoist (0.16.2)
227
+ method_source (1.0.0)
228
+ mime-types (2.99.3)
229
+ minitest (5.18.1)
230
+ multi_json (1.15.0)
231
+ multipart-post (2.3.0)
232
+ net-scp (1.2.1)
233
+ net-ssh (>= 2.6.5)
234
+ net-ssh (2.9.4)
235
+ nokogiri (1.15.2-aarch64-linux)
236
+ racc (~> 1.4)
237
+ open_uri_redirections (0.2.1)
238
+ os (1.1.4)
239
+ props (1.2.0)
240
+ iniparser (>= 0.1.0)
241
+ pry (0.14.2)
242
+ coderay (~> 1.1)
243
+ method_source (~> 1.0)
244
+ public_suffix (1.4.6)
245
+ racc (1.7.1)
246
+ rack (2.2.7)
247
+ rake (13.0.6)
248
+ rbvmomi (1.8.5)
249
+ builder
250
+ nokogiri (>= 1.4.1)
251
+ trollop
252
+ representable (2.3.0)
253
+ uber (~> 0.0.7)
254
+ require_all (3.0.0)
255
+ retriable (2.1.0)
256
+ rexml (3.2.5)
257
+ rspec (3.12.0)
258
+ rspec-core (~> 3.12.0)
259
+ rspec-expectations (~> 3.12.0)
260
+ rspec-mocks (~> 3.12.0)
261
+ rspec-core (3.12.2)
262
+ rspec-support (~> 3.12.0)
263
+ rspec-expectations (3.12.3)
264
+ diff-lcs (>= 1.2.0, < 2.0)
265
+ rspec-support (~> 3.12.0)
266
+ rspec-its (1.3.0)
267
+ rspec-core (>= 3.0.0)
268
+ rspec-expectations (>= 3.0.0)
269
+ rspec-mocks (3.12.5)
270
+ diff-lcs (>= 1.2.0, < 2.0)
271
+ rspec-support (~> 3.12.0)
272
+ rspec-support (3.12.1)
273
+ rsync (1.0.9)
274
+ ruby2_keywords (0.0.5)
275
+ rubyzip (2.3.2)
276
+ signet (0.15.0)
277
+ addressable (~> 2.3)
278
+ faraday (>= 0.17.3, < 2.0)
279
+ jwt (>= 1.5, < 3.0)
280
+ multi_json (~> 1.10)
281
+ simplecov (0.22.0)
282
+ docile (~> 1.1)
283
+ simplecov-html (~> 0.11)
284
+ simplecov_json_formatter (~> 0.1)
285
+ simplecov-html (0.12.3)
286
+ simplecov_json_formatter (0.1.4)
287
+ stringify-hash (0.0.2)
288
+ textutils (1.4.0)
289
+ activesupport
290
+ logutils (>= 0.6.1)
291
+ props (>= 1.1.2)
292
+ rubyzip (>= 1.0.0)
293
+ thin (1.8.2)
294
+ daemons (~> 1.0, >= 1.0.9)
295
+ eventmachine (~> 1.0, >= 1.0.4)
296
+ rack (>= 1, < 3)
297
+ thor (0.20.3)
298
+ trollop (2.9.10)
299
+ tzinfo (2.0.6)
300
+ concurrent-ruby (~> 1.0)
301
+ uber (0.0.15)
302
+ unf (0.1.4)
303
+ unf_ext
304
+ unf_ext (0.0.8.2)
305
+ yard (0.9.34)
306
+
307
+ PLATFORMS
308
+ aarch64-linux
309
+
310
+ DEPENDENCIES
311
+ beaker (~> 2.0)
312
+ beaker-qa-i18n!
313
+ fakefs (~> 0.6)
314
+ markdown
315
+ pry (~> 0.10)
316
+ rake (~> 13.0)
317
+ rspec (~> 3.0)
318
+ rspec-its
319
+ simplecov
320
+ thin
321
+ yard
322
+
323
+ BUNDLED WITH
324
+ 2.4.14