@@ -3,20 +3,21 @@ stages:
33 - syntax
44 - unit
55
6- cache :
7- paths :
8- - vendor/bundle
6+ default :
7+ cache :
8+ paths :
9+ - vendor/bundle
910
10- before_script :
11- - bundle -v
12- - rm Gemfile.lock || true
13- - " # Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
14- - " # Set `rubygems_version` in the .sync.yml to set a value"
15- - " # Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set"
16- - ' [ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION'
17- - gem --version
18- - bundle -v
19- - bundle install --without system_tests --path vendor/bundle --jobs $(nproc)
11+ before_script : &before_script
12+ - bundle -v
13+ - rm Gemfile.lock || true
14+ - " # Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"
15+ - " # Set `rubygems_version` in the .sync.yml to set a value"
16+ - " # Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set"
17+ - ' [ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION'
18+ - gem --version
19+ - bundle -v
20+ - bundle install --without system_tests --path vendor/bundle --jobs $(nproc)
2021
2122syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.7-Puppet ~> 6 :
2223 stage : syntax
@@ -34,11 +35,19 @@ parallel_spec-Ruby 2.5.7-Puppet ~> 6:
3435 variables :
3536 PUPPET_GEM_VERSION : ' ~> 6'
3637
37- parallel_spec-Ruby 2.4.5-Puppet ~> 5 :
38+ syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.7.2-Puppet ~> 7 :
39+ stage : syntax
40+ image : ruby:2.7.2
41+ script :
42+ - bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
43+ variables :
44+ PUPPET_GEM_VERSION : ' ~> 7'
45+
46+ parallel_spec-Ruby 2.7.2-Puppet ~> 7 :
3847 stage : unit
39- image : ruby:2.4.5
48+ image : ruby:2.7.2
4049 script :
4150 - bundle exec rake parallel_spec
4251 variables :
43- PUPPET_GEM_VERSION : ' ~> 5 '
52+ PUPPET_GEM_VERSION : ' ~> 7 '
4453
0 commit comments