onceover 3.22.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +17 -0
- data/.github/workflows/release.yaml +25 -17
- data/.github/workflows/tests.yaml +30 -4
- data/.gitignore +2 -1
- data/.rubocop.yml +4 -704
- data/.rubocop_todo.yml +828 -0
- data/CHANGELOG.md +1036 -0
- data/Gemfile +7 -1
- data/LICENSE +202 -0
- data/README.md +81 -35
- data/Rakefile +23 -14
- data/features/auto_vendored.feature +27 -0
- data/features/step_definitions/common.rb +5 -5
- data/features/support/cache_helper.rb +0 -1
- data/features/support/command_helper.rb +0 -2
- data/features/support/controlrepo_helper.rb +0 -2
- data/lib/onceover/beaker/spec_helper.rb +7 -7
- data/lib/onceover/beaker.rb +9 -12
- data/lib/onceover/cli/run.rb +1 -0
- data/lib/onceover/controlrepo.rb +19 -24
- data/lib/onceover/deploy.rb +29 -2
- data/lib/onceover/group.rb +1 -3
- data/lib/onceover/logger.rb +3 -3
- data/lib/onceover/node.rb +0 -2
- data/lib/onceover/rake_tasks.rb +9 -4
- data/lib/onceover/rspec/formatters.rb +3 -4
- data/lib/onceover/test.rb +1 -2
- data/lib/onceover/testconfig.rb +2 -2
- data/lib/onceover/vendored_modules.rb +186 -0
- data/onceover.gemspec +24 -21
- data/spec/fixtures/controlrepos/caching/spec/factsets/README.md +1 -1
- data/spec/fixtures/controlrepos/caching/spec/pre_conditions/README.md +1 -1
- data/spec/fixtures/controlrepos/factsets/spec/factsets/README.md +1 -1
- data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +1 -1
- data/spec/fixtures/controlrepos/vendored/Puppetfile +3 -0
- data/spec/fixtures/controlrepos/vendored/Puppetfile.cron +5 -0
- data/spec/fixtures/controlrepos/vendored/environment.conf +1 -0
- data/spec/fixtures/controlrepos/vendored/site-modules/role/manifests/cron.pp +9 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json +1 -0
- data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json +1 -0
- data/spec/onceover/controlrepo_spec.rb +1 -1
- data/templates/factsets_README.md.erb +1 -1
- data/templates/pre_conditions_README.md.erb +1 -1
- metadata +56 -9
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-scheduled_task.git","ref":"refs/tags/v3.2.0"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-scheduled_task.git","ref":"refs/tags/v3.2.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-selinux_core.git","ref":"refs/tags/v1.4.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-selinux_core.git","ref":"refs/tags/v1.4.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-sshkeys_core.git","ref":"refs/tags/v2.5.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-sshkeys_core.git","ref":"refs/tags/v2.5.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-yumrepo_core.git","ref":"refs/tags/v1.2.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-yumrepo_core.git","ref":"refs/tags/v2.1.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-zfs_core.git","ref":"refs/tags/v1.5.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-zfs_core.git","ref":"refs/tags/v1.5.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-zone_core.git","ref":"refs/tags/v1.2.0"}
|
data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"url":"git@github.com:puppetlabs/puppetlabs-zone_core.git","ref":"refs/tags/v1.2.0"}
|
@@ -4,4 +4,4 @@ This directory is where we put any custom factsets that we want to use. They can
|
|
4
4
|
|
5
5
|
**Hot tip:** If you already have factsets in here when you run `onceover init` they will be picked up and added to the config file Automatically
|
6
6
|
|
7
|
-
More info: https://github.com/
|
7
|
+
More info: https://github.com/voxpupuli/onceover#factsets
|
@@ -21,4 +21,4 @@ service { 'pe-puppetserver':
|
|
21
21
|
|
22
22
|
This will mean that the `pe-puppetserver` service is in the catalog for spec testing and will even allow you to try to restart it during acceptance tests without the service actually being present.
|
23
23
|
|
24
|
-
More info: https://github.com/
|
24
|
+
More info: https://github.com/voxpupuli/onceover#using-workarounds
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
|
-
|
8
|
+
- Vox Pupuli
|
9
|
+
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2024-
|
12
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: backticks
|
@@ -248,9 +249,23 @@ dependencies:
|
|
248
249
|
- - ">="
|
249
250
|
- !ruby/object:Gem::Version
|
250
251
|
version: 0.5.0
|
252
|
+
- !ruby/object:Gem::Dependency
|
253
|
+
name: voxpupuli-rubocop
|
254
|
+
requirement: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - "~>"
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 3.0.0
|
259
|
+
type: :development
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - "~>"
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: 3.0.0
|
251
266
|
description: Automatically generates tests for your Puppet code
|
252
267
|
email:
|
253
|
-
-
|
268
|
+
- voxpupuli@groups.io
|
254
269
|
executables:
|
255
270
|
- onceover
|
256
271
|
extensions: []
|
@@ -258,12 +273,16 @@ extra_rdoc_files: []
|
|
258
273
|
files:
|
259
274
|
- ".devcontainer/devcontainer.json"
|
260
275
|
- ".gitattributes"
|
276
|
+
- ".github/dependabot.yml"
|
261
277
|
- ".github/workflows/release.yaml"
|
262
278
|
- ".github/workflows/tests.yaml"
|
263
279
|
- ".gitignore"
|
264
280
|
- ".rubocop.yml"
|
281
|
+
- ".rubocop_todo.yml"
|
265
282
|
- ".vscode/extensions.json"
|
283
|
+
- CHANGELOG.md
|
266
284
|
- Gemfile
|
285
|
+
- LICENSE
|
267
286
|
- README.md
|
268
287
|
- Rakefile
|
269
288
|
- bin/onceover
|
@@ -299,6 +318,7 @@ files:
|
|
299
318
|
- factsets/solaris-10_u9-sparc-64.json
|
300
319
|
- factsets/solaris-11.2-sparc-64.json
|
301
320
|
- factsets/windows-10-64.json
|
321
|
+
- features/auto_vendored.feature
|
302
322
|
- features/cache.feature
|
303
323
|
- features/factsets.feature
|
304
324
|
- features/formatting.feature
|
@@ -335,6 +355,7 @@ files:
|
|
335
355
|
- lib/onceover/runner.rb
|
336
356
|
- lib/onceover/test.rb
|
337
357
|
- lib/onceover/testconfig.rb
|
358
|
+
- lib/onceover/vendored_modules.rb
|
338
359
|
- onceover.gemspec
|
339
360
|
- spec/fixtures/controlrepos/basic/Puppetfile
|
340
361
|
- spec/fixtures/controlrepos/basic/environment.conf
|
@@ -516,6 +537,32 @@ files:
|
|
516
537
|
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb
|
517
538
|
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb
|
518
539
|
- spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb
|
540
|
+
- spec/fixtures/controlrepos/vendored/Puppetfile
|
541
|
+
- spec/fixtures/controlrepos/vendored/Puppetfile.cron
|
542
|
+
- spec/fixtures/controlrepos/vendored/environment.conf
|
543
|
+
- spec/fixtures/controlrepos/vendored/site-modules/role/manifests/cron.pp
|
544
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-7.30.0.json
|
545
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-8.6.0.json
|
546
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-7.30.0.json
|
547
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-8.6.0.json
|
548
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-7.30.0.json
|
549
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-8.6.0.json
|
550
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-7.30.0.json
|
551
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-8.6.0.json
|
552
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-7.30.0.json
|
553
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-8.6.0.json
|
554
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-7.30.0.json
|
555
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-8.6.0.json
|
556
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json
|
557
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json
|
558
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json
|
559
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json
|
560
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json
|
561
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json
|
562
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json
|
563
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json
|
564
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json
|
565
|
+
- spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json
|
519
566
|
- spec/fixtures/controlrepos/windows/Gemfile
|
520
567
|
- spec/fixtures/controlrepos/windows/Puppetfile
|
521
568
|
- spec/fixtures/controlrepos/windows/environment.conf
|
@@ -541,11 +588,11 @@ files:
|
|
541
588
|
- templates/spec_helper_acceptance.rb.erb
|
542
589
|
- templates/test_spec.rb.erb
|
543
590
|
- templates/testconfig_Rakefile.erb
|
544
|
-
homepage: https://github.com/
|
591
|
+
homepage: https://github.com/voxpupuli/onceover
|
545
592
|
licenses:
|
546
593
|
- Apache-2.0
|
547
594
|
metadata: {}
|
548
|
-
post_install_message:
|
595
|
+
post_install_message:
|
549
596
|
rdoc_options: []
|
550
597
|
require_paths:
|
551
598
|
- lib
|
@@ -553,15 +600,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
553
600
|
requirements:
|
554
601
|
- - ">="
|
555
602
|
- !ruby/object:Gem::Version
|
556
|
-
version: '
|
603
|
+
version: '2.7'
|
557
604
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
558
605
|
requirements:
|
559
606
|
- - ">="
|
560
607
|
- !ruby/object:Gem::Version
|
561
608
|
version: '0'
|
562
609
|
requirements: []
|
563
|
-
rubygems_version: 3.5.
|
564
|
-
signing_key:
|
610
|
+
rubygems_version: 3.5.22
|
611
|
+
signing_key:
|
565
612
|
specification_version: 4
|
566
613
|
summary: Testing tools for Puppet controlrepos
|
567
614
|
test_files: []
|