diff --git a/.circleci/config.yml b/.circleci/config.yml index e5490960..19b484e6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,43 +40,6 @@ library_gemfile: &library_gemfile - "./gemfiles/mongo_216.gemfile" - "./gemfiles/mongo_219.gemfile" executors: - ruby_27: - docker: - - image: cimg/ruby:2.7-node - environment: - MEMCACHED_HOST: '127.0.0.1:11211' - REDIS_URL: 'redis://127.0.0.1:6379' - DATABASE_URL: 'sqlite3::memory:' - - image: memcached - - image: redis - - image: amazon/dynamodb-local - - image: minio/minio:latest - command: ["server", "/data"] - - image: s12v/sns - - image: softwaremill/elasticmq-native - - image: mongo:5-focal - ruby_27_mysql2: - docker: - - image: cimg/ruby:2.7-node - environment: - DATABASE_URL: "mysql2://root@127.0.0.1:3306/ci_test" - - image: mariadb - environment: - MYSQL_DATABASE: 'ci_test' - MYSQL_USER: 'root' - MYSQL_PASSWORD: '' - MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' - MYSQL_ROOT_PASSWORD: '' - MYSQL_ROOT_HOST: '%' - ruby_27_postgres: - docker: - - image: cimg/ruby:2.7-node - environment: - DATABASE_URL: "postgres://postgres:test@127.0.0.1:5432/ci_test" - - image: postgres - environment: - POSTGRES_PASSWORD: 'test' - POSTGRES_DB: 'ci_test' ruby_30: docker: - image: cimg/ruby:3.0-node @@ -297,7 +260,7 @@ jobs: parameters: stack: type: executor - default: ruby_27 + default: ruby_30 executor: << parameters.stack >> steps: - checkout @@ -307,7 +270,7 @@ jobs: parameters: stack: type: executor - default: ruby_27 + default: ruby_30 gemfile: type: string default: "./gemfiles/aws_30.gemfile" @@ -320,7 +283,7 @@ jobs: - setup - run_tests lint: - executor: ruby_27 + executor: ruby_30 steps: - checkout - setup @@ -331,7 +294,7 @@ jobs: - checkout - run_sonarqube publish: - executor: ruby_27 + executor: ruby_30 steps: - checkout - setup @@ -353,7 +316,6 @@ workflows: matrix: parameters: stack: - - ruby_27 - ruby_30 - ruby_31 - ruby_32 @@ -386,27 +348,6 @@ workflows: # https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/ - stack: ruby_32 gemfile: "./gemfiles/sinatra_14.gemfile" - libraries_ruby_2: - jobs: - - test_apprisal: - matrix: - parameters: - stack: - - ruby_27 - <<: *library_gemfile - rails_ruby_2: - jobs: - - test_apprisal: - matrix: - parameters: - stack: - - ruby_27 - - ruby_27_postgres - - ruby_27_mysql2 - gemfile: - - "./gemfiles/rails_60.gemfile" - - "./gemfiles/rails_52.gemfile" - - "./gemfiles/rails_50.gemfile" rails_ruby_3: jobs: - test_apprisal: diff --git a/instana.gemspec b/instana.gemspec index f84397e8..cefa4263 100644 --- a/instana.gemspec +++ b/instana.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.test_files = Dir.glob("{test}/**/*.rb") - spec.required_ruby_version = '>= 2.7' + spec.required_ruby_version = '>= 3.0' spec.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::RUBY spec.add_development_dependency "bundler", "~> 2.0"