Skip to content

Commit

Permalink
(SIMP-3179) add gitlabci to simp module
Browse files Browse the repository at this point in the history
SIMP-3179 #comment closed
  • Loading branch information
brandonrdn authored and heliocentric committed May 19, 2017
1 parent 66ec8df commit 417d17d
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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

0 comments on commit 417d17d

Please sign in to comment.