forked from simp/pupmod-simp-rsyslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
97 lines (95 loc) · 1.8 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#
---
puppet-syntax:
stage: test
tags:
- docker
image: ruby:2.1
script:
- bundle install
- bundle exec rake syntax
puppet-lint:
stage: test
tags:
- docker
image: ruby:2.1
script:
- bundle install
- bundle exec rake lint
puppet-metadata:
stage: test
tags:
- docker
image: ruby:2.1
script:
- bundle install
- bundle exec rake metadata
unit-test-ruby-2.1:
stage: test
tags:
- docker
image: ruby:2.1
script:
- bundle install
- bundle exec rake spec
unit-test-ruby-2.2:
stage: test
tags:
- docker
image: ruby:2.2
allow_failure: true
script:
- bundle install
- bundle exec rake spec
unit-test-ruby-2.3:
stage: test
tags:
- docker
image: ruby:2.3
allow_failure: true
script:
- bundle install
- bundle exec rake spec
# For PE LTS Support
# See: https://puppet.com/misc/puppet-enterprise-lifecycle
puppet4.7-syntax:
stage: test
tags:
- docker
image: ruby:2.1
script:
- PUPPET_VERSION=4.7 bundle install
- PUPPET_VERSION=4.7 bundle exec rake syntax
unit-test-puppet4.7-ruby-2.1:
stage: test
tags:
- docker
image: ruby:2.1
script:
- PUPPET_VERSION=4.7 bundle install
- PUPPET_VERSION=4.7 bundle exec rake spec
unit-test-puppet4.7-ruby-2.2:
stage: test
tags:
- docker
image: ruby:2.2
allow_failure: true
script:
- PUPPET_VERSION=4.7 bundle install
- PUPPET_VERSION=4.7 bundle exec rake spec
unit-test-puppet4.7-ruby-2.3:
stage: test
tags:
- docker
image: ruby:2.3
allow_failure: true
script:
- PUPPET_VERSION=4.7 bundle install
- PUPPET_VERSION=4.7 bundle exec rake spec
acceptance-test:
stage: test
tags:
- beaker
script:
- bundle install --no-binstubs --path=vendor
- bundle exec rake acceptance