.gitlab-ci.yml in puppet-debugger-1.3.0 vs .gitlab-ci.yml in puppet-debugger-1.4.0
- old
+ new
@@ -3,25 +3,34 @@
stages:
- validate
- test
- release
- - deploy
+ # - deploy
#- web_deploy
-.puppet_def: &puppet_job_def
+.puppet_job_def_ruby27: &puppet_job_def_ruby27
stage: test
script:
- rm -f Gemfile.lock
- - gem update --system > /dev/null
- - gem install bundler > /dev/null
+ - gem install bundler -v 2.4.22 > /dev/null
- bundle install --without development validate
- - bundle exec puppet module install puppetlabs-stdlib
+ - bundle exec puppet module install puppetlabs-stdlib --version 8.6.0
- bundle exec rspec
tags:
- ruby
+.puppet_job_def_ruby30plus: &puppet_job_def_ruby30plus
+ stage: test
+ script:
+ - rm -f Gemfile.lock
+ - bundle install --without development validate
+ - puppet module install puppetlabs-stdlib --version 9.4.1
+ - bundle exec rspec
+ tags:
+ - ruby
+
# will be replaced by akash tf provider
# web_trigger_staging:
# stage: web_deploy
# variables:
# REF: staging
@@ -62,69 +71,61 @@
# 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_24: &ruby24
- image: ruby:2.4
-
-.ruby_25: &ruby25
- image: ruby:2.5
-
-.ruby_26: &ruby26
- image: ruby:2.6
-
.ruby_27: &ruby27
image: ruby:2.7
-.ruby_30: &ruby30
- image: ruby:3.0
-
.ruby_31: &ruby31
image: ruby:3.1
-gem_production:
- image: ruby:2.7
- tags:
- - ruby
- before_script:
- - gem install dpl
- stage: deploy
- script:
- - dpl --provider=rubygems --api-key=$RUBYGEMS_API_KEY
- only:
- - tags
+.ruby_32: &ruby32
+ image: ruby:3.2
-puppet_6_ruby25:
- variables:
- PUPPET_GEM_VERSION: "~> 6.0"
- <<: *puppet_job_def
- <<: *ruby25
+.ruby_33: &ruby33
+ image: ruby:3.3
-puppet_6_ruby26:
- variables:
- PUPPET_GEM_VERSION: "~> 6.0"
- <<: *puppet_job_def
- <<: *ruby26
+.ruby_34: &ruby34
+ image: ruby:3.4
+# gem_production:
+# image: ruby:2.7
+# tags:
+# - ruby
+# before_script:
+# - gem install dpl
+# stage: deploy
+# script:
+# - dpl --provider=rubygems --api-key=$RUBYGEMS_API_KEY
+# only:
+# - tags
+
puppet_6_ruby27:
allow_failure: false
variables:
PUPPET_GEM_VERSION: "~> 6.0"
- <<: *puppet_job_def
+ <<: *puppet_job_def_ruby27
<<: *ruby27
puppet_7_ruby27:
allow_failure: false
variables:
PUPPET_GEM_VERSION: "~> 7.0"
- <<: *puppet_job_def
+ <<: *puppet_job_def_ruby27
<<: *ruby27
-# puppet_8_ruby3.0:
-# allow_failure: true
-# variables:
-# PUPPET_GEM_VERSION: "~> 8.0"
-# <<: *puppet_job_def
-# <<: *ruby30
+puppet_8_ruby3.2:
+ allow_failure: true
+ variables:
+ PUPPET_GEM_VERSION: "~> 8.0"
+ <<: *puppet_job_def_ruby30plus
+ <<: *ruby32
+
+puppet_8_ruby3.4:
+ allow_failure: true
+ variables:
+ PUPPET_GEM_VERSION: "~> 8.2"
+ <<: *puppet_job_def_ruby30plus
+ <<: *ruby32