.gitlab-ci.yml in puppet-debugger-1.2.0 vs .gitlab-ci.yml in puppet-debugger-1.3.0

- old
+ new

@@ -4,11 +4,11 @@ stages: - validate - test - release - deploy - - web_deploy + #- web_deploy .puppet_def: &puppet_job_def stage: test script: - rm -f Gemfile.lock @@ -18,18 +18,19 @@ - bundle exec puppet module install puppetlabs-stdlib - bundle exec rspec tags: - ruby -web_trigger_staging: - stage: web_deploy - variables: - REF: staging - only: - - main - script: - - "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v3/projects/1146764/trigger/builds" +# will be replaced by akash tf provider +# web_trigger_staging: +# stage: web_deploy +# variables: +# REF: staging +# only: +# - main +# script: +# - "curl -X POST -F token=$PREPL_BUILD_TRIGGER_TOKEN -F ref=$REF https://gitlab.com/api/v4/projects/1146764/trigger/builds" rubocop_ruby: stage: validate allow_failure: true only: @@ -43,11 +44,11 @@ bump_and_tag: stage: release when: manual tags: - - ruby2.2 + - ruby2.7 only: - main@puppet-debugger/puppet-debugger script: - gem install release_me - bump_and_tag @@ -73,34 +74,28 @@ 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.5 + 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_5_ruby24: - variables: - PUPPET_GEM_VERSION: "~> 5.5" - <<: *puppet_job_def - <<: *ruby24 - -puppet_5_ruby25: - variables: - PUPPET_GEM_VERSION: "~> 5.5" - <<: *puppet_job_def - <<: *ruby25 - puppet_6_ruby25: variables: PUPPET_GEM_VERSION: "~> 6.0" <<: *puppet_job_def <<: *ruby25 @@ -110,10 +105,26 @@ PUPPET_GEM_VERSION: "~> 6.0" <<: *puppet_job_def <<: *ruby26 puppet_6_ruby27: - allow_failure: true + allow_failure: false variables: PUPPET_GEM_VERSION: "~> 6.0" <<: *puppet_job_def <<: *ruby27 + +puppet_7_ruby27: + allow_failure: false + variables: + PUPPET_GEM_VERSION: "~> 7.0" + <<: *puppet_job_def + <<: *ruby27 + +# puppet_8_ruby3.0: +# allow_failure: true +# variables: +# PUPPET_GEM_VERSION: "~> 8.0" +# <<: *puppet_job_def +# <<: *ruby30 + +