.circleci/config.yml in instana-1.209.8 vs .circleci/config.yml in instana-1.210.0

- old
+ new

@@ -36,10 +36,121 @@ 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 + 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_30_mysql2: + docker: + - image: cimg/ruby:3.0-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_30_postgres: + docker: + - image: cimg/ruby:3.0-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_31: + docker: + - image: cimg/ruby:3.1-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_31_mysql2: + docker: + - image: cimg/ruby:3.1-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_31_postgres: + docker: + - image: cimg/ruby:3.1-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_32: + docker: + - image: cimg/ruby:3.2-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_32_mysql2: + docker: + - image: cimg/ruby:3.2-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_32_postgres: + docker: + - image: cimg/ruby:3.2-node + environment: + DATABASE_URL: "postgres://postgres:test@127.0.0.1:5432/ci_test" + - image: postgres + environment: + POSTGRES_PASSWORD: 'test' + POSTGRES_DB: 'ci_test' commands: setup: steps: - run: @@ -174,24 +285,31 @@ - test_core: matrix: parameters: stack: - ruby_27 + - ruby_30 + - ruby_31 + - ruby_32 libraries: jobs: - test_apprisal: matrix: parameters: stack: - ruby_27 + - ruby_30 + - ruby_31 + - ruby_32 gemfile: - "./gemfiles/aws_30.gemfile" - "./gemfiles/cuba_30.gemfile" - "./gemfiles/cuba_40.gemfile" - "./gemfiles/dalli_20.gemfile" - "./gemfiles/excon_02.gemfile" - "./gemfiles/excon_079.gemfile" + - "./gemfiles/excon_100.gemfile" - "./gemfiles/graphql_10.gemfile" - "./gemfiles/graphql_20.gemfile" - "./gemfiles/grpc_10.gemfile" - "./gemfiles/net_http_01.gemfile" - "./gemfiles/rack_16.gemfile" @@ -203,14 +321,36 @@ - "./gemfiles/resque_20.gemfile" - "./gemfiles/roda_20.gemfile" - "./gemfiles/roda_30.gemfile" - "./gemfiles/sidekiq_42.gemfile" - "./gemfiles/sidekiq_50.gemfile" + - "./gemfiles/sidekiq_60.gemfile" + - "./gemfiles/sidekiq_70.gemfile" - "./gemfiles/sinatra_14.gemfile" - "./gemfiles/shoryuken_50.gemfile" - "./gemfiles/mongo_216.gemfile" - rails: + exclude: + # Currently rest-client 1.6 gemfile pulls in mime-types 2.99.3 + # and adaptation to mime-type 3.0 is only available in rest-client 2.0: + # https://github.com/rest-client/rest-client/issues/464 + # But mime-types 2.99.3 is too old for Ruby 3.0 or newer: + # https://stackoverflow.com/a/68433864 + # so we should exclude thiese scenarios + - stack: ruby_30 + gemfile: "./gemfiles/rest_client_16.gemfile" + - stack: ruby_31 + gemfile: "./gemfiles/rest_client_16.gemfile" + - stack: ruby_32 + gemfile: "./gemfiles/rest_client_16.gemfile" + # Sinatra 1.4 relies on the Fixnum class + # which has been removed from Ruby 3.2, see: + # https://bugs.ruby-lang.org/issues/12005 + # https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/ + - stack: ruby_32 + gemfile: "./gemfiles/sinatra_14.gemfile" + + rails_ruby_2: jobs: - test_apprisal: matrix: parameters: stack: @@ -219,5 +359,23 @@ - ruby_27_mysql2 gemfile: - "./gemfiles/rails_60.gemfile" - "./gemfiles/rails_52.gemfile" - "./gemfiles/rails_50.gemfile" + rails_ruby_3: + jobs: + - test_apprisal: + matrix: + parameters: + stack: + - ruby_30 + - ruby_30_postgres + - ruby_30_mysql2 + - ruby_31 + - ruby_31_postgres + - ruby_31_mysql2 + - ruby_32 + - ruby_32_postgres + - ruby_32_mysql2 + gemfile: + - "./gemfiles/rails_61.gemfile" + - "./gemfiles/rails_70.gemfile"