onceover 3.17.2 → 3.19.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +2 -0
  3. data/.github/workflows/tests.yaml +40 -0
  4. data/.rubocop.yml +20 -2
  5. data/Gemfile +0 -13
  6. data/README.md +201 -110
  7. data/Rakefile +8 -5
  8. data/factsets/CentOS-8.3.2011-64.json +485 -0
  9. data/factsets/Debian-10.4-64.json +476 -0
  10. data/factsets/Debian-8.11-64.json +480 -0
  11. data/factsets/Debian-9.12-64.json +476 -0
  12. data/factsets/Ubuntu-20.04-64.json +504 -0
  13. data/factsets/Windows_Server-2008r2-64.json +184 -183
  14. data/factsets/Windows_Server-2012r2-64.json +165 -164
  15. data/factsets/windows-10-64.json +104 -103
  16. data/features/cache.feature +1 -1
  17. data/features/step_definitions/cache.rb +4 -4
  18. data/features/step_definitions/common.rb +38 -10
  19. data/features/step_definitions/init.rb +2 -2
  20. data/features/windows.feature +5 -0
  21. data/features/zzz_run.feature +22 -3
  22. data/lib/onceover/controlrepo.rb +10 -4
  23. data/lib/onceover/deploy.rb +3 -1
  24. data/lib/onceover/group.rb +3 -1
  25. data/lib/onceover/rspec/formatters.rb +6 -1
  26. data/lib/onceover/runner.rb +7 -6
  27. data/lib/onceover/test.rb +3 -2
  28. data/lib/onceover/testconfig.rb +28 -5
  29. data/onceover.gemspec +5 -2
  30. data/spec/fixtures/controlrepos/basic/manifests_alternate/site.pp +2 -0
  31. data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
  32. data/spec/fixtures/controlrepos/caching/manifests/site.pp +1 -0
  33. data/spec/fixtures/controlrepos/custom_puppetfile/Puppetfile.custom +3 -0
  34. data/spec/fixtures/controlrepos/custom_puppetfile/environment.conf +7 -0
  35. data/spec/fixtures/controlrepos/windows/Puppetfile +6 -1
  36. data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/choco.pp +9 -0
  37. data/templates/test_spec.rb.erb +1 -1
  38. metadata +75 -18
  39. data/.travis.yml +0 -19
  40. data/appveyor.yml +0 -38
@@ -1,19 +0,0 @@
1
- language: ruby
2
-
3
- cache:
4
- bundler: true
5
- directories:
6
- - "spec/fixtures/puppet_controlrepo/.onceover" # Onceover cache
7
-
8
- script: bundle exec rake full_tests
9
- bundler_args: --path vendor/bundle
10
-
11
- matrix:
12
- include:
13
- # 2017.3 -> 2018.1
14
- - rvm: 2.4.4
15
- env: PUPPET_VERSION="~>5.0"
16
-
17
- # 2019.0 -> now
18
- - rvm: 2.5.7
19
- env: PUPPET_VERSION="~>6.0"
@@ -1,38 +0,0 @@
1
- ---
2
- image: Visual Studio 2017
3
-
4
- cache:
5
- - vendor/bundle
6
-
7
- branches:
8
- only:
9
- - master
10
-
11
- environment:
12
- matrix:
13
- - RUBY_VERSION: "24"
14
- - RUBY_VERSION: "24-x64"
15
- - RUBY_VERSION: "25"
16
- - RUBY_VERSION: "25-x64"
17
-
18
- # scripts that are called at very beginning, before repo cloning
19
- init:
20
- - ps: Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem -Name LongPathsEnabled -Value 1 -Type DWord
21
-
22
- matrix:
23
- fast_finish: false
24
-
25
- install:
26
- - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
27
- - bundle config --local path vendor/bundle
28
- - bundle install
29
-
30
- build: "off"
31
-
32
- before_test:
33
- - ruby -v
34
- - gem -v
35
- - bundle -v
36
-
37
- test_script:
38
- - bundle exec rake full_tests