image: ruby:2.7.0 pipelines: branches: master: - step: caches: - bundler script: - gem install bundle rubocop - gem update bundler - bundle install - rubocop - rake services: - broker definitions: caches: bundler: vendor/bundle services: broker: image: rabbitmq:3 environment: RABBITMQ_DEFAULT_USER: guest RABBITMQ_DEFAULT_PASS: guest