.gitlab-ci.yml in puppet-debugger-0.19.0 vs .gitlab-ci.yml in puppet-debugger-1.0.0
- old
+ new
@@ -1,5 +1,8 @@
+include:
+ - template: Dependency-Scanning.gitlab-ci.yml
+
stages:
- validate
- test
- release
- deploy
@@ -10,20 +13,20 @@
script:
- gem update --system > /dev/null
- gem install bundler > /dev/null
- bundle install --without development validate
- bundle exec puppet module install puppetlabs-stdlib
- - bundle exec rake spec
+ - bundle exec rspec
tags:
- ruby
web_trigger_staging:
stage: web_deploy
variables:
REF: staging
only:
- - master
+ - main
script:
- "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v3/projects/1146764/trigger/builds"
rubocop_ruby:
stage: validate
@@ -40,11 +43,11 @@
stage: release
when: manual
tags:
- ruby2.2
only:
- - master@puppet-debugger/puppet-debugger
+ - main@puppet-debugger/puppet-debugger
script:
- gem install release_me
- bump_and_tag
#web_trigger_production:
@@ -56,29 +59,10 @@
# tags:
# - ruby
# script:
# - "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v3/projects/1146764/trigger/builds"
-.ruby_21: &ruby21
- image: ruby:2.1
- script:
- - gem install bundler -v 1.17.3 > /dev/null
- - bundle install --without development validate
- - bundle exec puppet module install puppetlabs-stdlib
- - bundle exec rake spec
-
-.ruby_22: &ruby22
- image: ruby:2.2
- script:
- - gem install bundler -v 1.17.3 > /dev/null
- - bundle install --without development validate
- - bundle exec puppet module install puppetlabs-stdlib
- - bundle exec rake spec
-
-.ruby_23: &ruby23
- image: ruby:2.3
-
.ruby_24: &ruby24
image: ruby:2.4
.ruby_25: &ruby25
image: ruby:2.5
@@ -99,21 +83,20 @@
script:
- dpl --provider=rubygems --api-key=$RUBYGEMS_API_KEY
only:
- tags
-puppet_410_ruby24:
- allow_failure: true
+puppet_5_ruby24:
variables:
- PUPPET_GEM_VERSION: "~> 4.10"
+ PUPPET_GEM_VERSION: "~> 5.5"
<<: *puppet_job_def
<<: *ruby24
-puppet_5_ruby24:
+puppet_5_ruby25:
variables:
PUPPET_GEM_VERSION: "~> 5.5"
<<: *puppet_job_def
- <<: *ruby24
+ <<: *ruby25
puppet_6_ruby25:
variables:
PUPPET_GEM_VERSION: "~> 6.0"
<<: *puppet_job_def