-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
57 lines (51 loc) · 1.02 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
stages:
- syntax
- unit
default:
cache:
paths:
- vendor/bundle
before_script: &before_script
- pdk --version
- rm Gemfile.lock || true
validate lint check rubocop-Ruby 2.7.7-Puppet ~> 7:
stage: syntax
image:
name: puppet/pdk:3.0.1.3
entrypoint:
- ""
script:
- pdk validate --puppet-version 7
variables:
PUPPET_GEM_VERSION: '~> 7'
parallel_spec-Ruby 2.7.7-Puppet ~> 7:
stage: unit
image:
name: puppet/pdk:3.0.1.3
entrypoint:
- ""
script:
- pdk test unit --puppet-version 7
variables:
PUPPET_GEM_VERSION: '~> 7'
validate lint check rubocop-Ruby 3.2-Puppet ~> 8:
stage: syntax
image:
name: puppet/pdk:3.0.1.3
entrypoint:
- ""
script:
- pdk validate --puppet-version 8
variables:
PUPPET_GEM_VERSION: '~> 8'
parallel_spec-Ruby 3.2-Puppet ~> 8:
stage: unit
image:
name: puppet/pdk:3.0.1.3
entrypoint:
- ""
script:
- pdk test unit --puppet-version 8
variables:
PUPPET_GEM_VERSION: '~> 8'