Révision 9d7d63a6
Only test with Ruby 2.7 and Puppet 6
.gitlab-ci.yml | ||
---|---|---|
3 | 3 |
- syntax |
4 | 4 |
- unit |
5 | 5 |
|
6 |
image: registry.code.immerda.ch/immerda/container-images/ruby/devel:2.7 |
|
7 |
|
|
8 | 6 |
cache: |
9 | 7 |
paths: |
10 | 8 |
- vendor/bundle |
... | ... | |
20 | 18 |
- bundle -v |
21 | 19 |
- bundle install --without system_tests --path vendor/bundle --jobs $(nproc) |
22 | 20 |
|
23 |
syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.7-Puppet ~> 6:
|
|
21 |
syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.7-Puppet ~> 6: |
|
24 | 22 |
stage: syntax |
25 |
image: ruby:2.5.7
|
|
23 |
image: registry.code.immerda.ch/immerda/container-images/ruby/devel:2.7
|
|
26 | 24 |
script: |
27 | 25 |
- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop |
28 | 26 |
variables: |
29 | 27 |
PUPPET_GEM_VERSION: '~> 6' |
28 |
tags: |
|
29 |
- container |
|
30 | 30 |
|
31 |
parallel_spec-Ruby 2.5.7-Puppet ~> 6:
|
|
31 |
parallel_spec-Ruby 2.7-Puppet ~> 6: |
|
32 | 32 |
stage: unit |
33 |
image: ruby:2.5.7
|
|
33 |
image: registry.code.immerda.ch/immerda/container-images/ruby/devel:2.7
|
|
34 | 34 |
script: |
35 | 35 |
- bundle exec rake parallel_spec |
36 | 36 |
variables: |
37 | 37 |
PUPPET_GEM_VERSION: '~> 6' |
38 |
|
|
39 |
parallel_spec-Ruby 2.4.5-Puppet ~> 5: |
|
40 |
stage: unit |
|
41 |
image: ruby:2.4.5 |
|
42 |
script: |
|
43 |
- bundle exec rake parallel_spec |
|
44 |
variables: |
|
45 |
PUPPET_GEM_VERSION: '~> 5' |
|
38 |
tags: |
|
39 |
- container |
|
46 | 40 |
|
.sync.yml | ||
---|---|---|
1 | 1 |
--- |
2 | 2 |
.gitlab-ci.yml: |
3 |
override: true |
|
3 | 4 |
custom: |
4 |
image: 'registry.code.immerda.ch/immerda/container-images/ruby/devel:2.7' |
|
5 |
cache: |
|
6 |
paths: |
|
7 |
- 'vendor/bundle' |
|
8 |
bundler_args: '--without system_tests --path vendor/bundle --jobs $(nproc)' |
|
9 |
custom_stages: |
|
10 |
- syntax |
|
11 |
- unit |
|
12 |
ruby_versions: |
|
13 |
'2.7': |
|
14 |
image: 'registry.code.immerda.ch/immerda/container-images/ruby/devel' |
|
15 |
checks: |
|
16 |
- 'syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop' |
|
17 |
- 'parallel_spec' |
|
18 |
puppet_version: '~> 6' |
|
19 |
tags: |
|
20 |
- 'container' |
Formats disponibles : Unified diff