# DO NOT MODIFY - this is managed by Git Reduce in goro # --- version: 2 jobs: ruby-2.5.1-rails-5.2: docker: - image: circleci/ruby:2.5.1 environment: BUNDLE_GEMFILE: Gemfile.rails-5.2 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - run: bundle install --full-index - run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format=doc - run: name: Run Additional CI Steps command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps; fi - run: name: Notify Pager Duty command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" ruby-2.4.4-rails-5.2: docker: - image: circleci/ruby:2.4.4 environment: BUNDLE_GEMFILE: Gemfile.rails-5.2 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - run: bundle install --full-index - run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format=doc - run: name: Run Additional CI Steps command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps; fi - run: name: Notify Pager Duty command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" ruby-2.5.1-rails-5.1: docker: - image: circleci/ruby:2.5.1 environment: BUNDLE_GEMFILE: Gemfile.rails-5.1 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - run: bundle install --full-index - run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format=doc - run: name: Run Additional CI Steps command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps; fi - run: name: Notify Pager Duty command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" ruby-2.4.4-rails-5.1: docker: - image: circleci/ruby:2.4.4 environment: BUNDLE_GEMFILE: Gemfile.rails-5.1 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - run: bundle install --full-index - run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml --format=doc - run: name: Run Additional CI Steps command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps; fi - run: name: Notify Pager Duty command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" workflows: version: 2 on-commit: jobs: - ruby-2.5.1-rails-5.2: context: org-global - ruby-2.4.4-rails-5.2: context: org-global - ruby-2.5.1-rails-5.1: context: org-global - ruby-2.4.4-rails-5.1: context: org-global scheduled: triggers: - schedule: cron: 17 19 * * 1,2,3,4,5 filters: branches: only: - master jobs: - ruby-2.5.1-rails-5.2: context: org-global - ruby-2.4.4-rails-5.2: context: org-global - ruby-2.5.1-rails-5.1: context: org-global - ruby-2.4.4-rails-5.1: context: org-global