Révision ece9be27
Do PDK convert
.gitlab-ci.yml | ||
---|---|---|
10 | 10 |
- vendor/bundle |
11 | 11 |
|
12 | 12 |
before_script: |
13 |
- echo -e "machine code.immerda.ch\nlogin gitlab-ci-token\npassword $CI_JOB_TOKEN" > ~/.netrc |
|
13 | 14 |
- bundle -v |
14 | 15 |
- rm Gemfile.lock || true |
16 |
- "# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner" |
|
17 |
- "# Set `rubygems_version` in the .sync.yml to set a value" |
|
18 |
- "# Ignore exit code of SIGPIPE'd yes to not fail with shell's pipefail set" |
|
19 |
- '[ -z "$RUBYGEMS_VERSION" ] || (yes || true) | gem update --system $RUBYGEMS_VERSION' |
|
15 | 20 |
- gem --version |
16 | 21 |
- bundle -v |
17 | 22 |
- bundle install --without system_tests --path vendor/bundle --jobs $(nproc) |
18 | 23 |
|
19 |
run syntax:
|
|
24 |
syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.7-Puppet ~> 6:
|
|
20 | 25 |
stage: syntax |
21 |
tags: |
|
22 |
- container |
|
26 |
image: ruby:2.5.7 |
|
23 | 27 |
script: |
24 | 28 |
- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop |
25 | 29 |
variables: |
26 |
PUPPET_GEM_VERSION: '~> 6.0'
|
|
30 |
PUPPET_GEM_VERSION: '~> 6' |
|
27 | 31 |
|
28 |
run parallel-spec puppet 6:
|
|
32 |
parallel_spec-Ruby 2.5.7-Puppet ~> 6:
|
|
29 | 33 |
stage: unit |
30 |
tags: |
|
31 |
- container |
|
34 |
image: ruby:2.5.7 |
|
32 | 35 |
script: |
33 | 36 |
- bundle exec rake parallel_spec |
34 | 37 |
variables: |
35 |
PUPPET_GEM_VERSION: '~> 6.0' |
|
38 |
PUPPET_GEM_VERSION: '~> 6' |
|
39 |
|
|
40 |
parallel_spec-Ruby 2.4.5-Puppet ~> 5: |
|
41 |
stage: unit |
|
42 |
image: ruby:2.4.5 |
|
43 |
script: |
|
44 |
- bundle exec rake parallel_spec |
|
45 |
variables: |
|
46 |
PUPPET_GEM_VERSION: '~> 5' |
|
47 |
|
Formats disponibles : Unified diff