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.
- checksums.yaml +4 -4
- data/.gitattributes +2 -0
- data/.github/workflows/tests.yaml +40 -0
- data/.rubocop.yml +20 -2
- data/Gemfile +0 -13
- data/README.md +201 -110
- data/Rakefile +8 -5
- data/factsets/CentOS-8.3.2011-64.json +485 -0
- data/factsets/Debian-10.4-64.json +476 -0
- data/factsets/Debian-8.11-64.json +480 -0
- data/factsets/Debian-9.12-64.json +476 -0
- data/factsets/Ubuntu-20.04-64.json +504 -0
- data/factsets/Windows_Server-2008r2-64.json +184 -183
- data/factsets/Windows_Server-2012r2-64.json +165 -164
- data/factsets/windows-10-64.json +104 -103
- data/features/cache.feature +1 -1
- data/features/step_definitions/cache.rb +4 -4
- data/features/step_definitions/common.rb +38 -10
- data/features/step_definitions/init.rb +2 -2
- data/features/windows.feature +5 -0
- data/features/zzz_run.feature +22 -3
- data/lib/onceover/controlrepo.rb +10 -4
- data/lib/onceover/deploy.rb +3 -1
- data/lib/onceover/group.rb +3 -1
- data/lib/onceover/rspec/formatters.rb +6 -1
- data/lib/onceover/runner.rb +7 -6
- data/lib/onceover/test.rb +3 -2
- data/lib/onceover/testconfig.rb +28 -5
- data/onceover.gemspec +5 -2
- data/spec/fixtures/controlrepos/basic/manifests_alternate/site.pp +2 -0
- data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
- data/spec/fixtures/controlrepos/caching/manifests/site.pp +1 -0
- data/spec/fixtures/controlrepos/custom_puppetfile/Puppetfile.custom +3 -0
- data/spec/fixtures/controlrepos/custom_puppetfile/environment.conf +7 -0
- data/spec/fixtures/controlrepos/windows/Puppetfile +6 -1
- data/spec/fixtures/controlrepos/windows/site-modules/role/manifests/choco.pp +9 -0
- data/templates/test_spec.rb.erb +1 -1
- metadata +75 -18
- data/.travis.yml +0 -19
- data/appveyor.yml +0 -38
data/.travis.yml
DELETED
@@ -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"
|
data/appveyor.yml
DELETED
@@ -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
|