.circleci/config.yml in pwwka-0.22.7 vs .circleci/config.yml in pwwka-0.23.RC1

- old
+ new

@@ -1,168 +1,126 @@ # DO NOT MODIFY - this is managed by Git Reduce in goro # --- version: 2 jobs: - release: + ruby-2.6.1-rails-5.2: docker: - - image: circleci/ruby:2.7.1 - steps: - - checkout - - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN - - run: bundle install --full-index - - run: - name: Artifactory login - command: mkdir -p ~/.gem && curl -u$ARTIFACTORY_USER:$ARTIFACTORY_TOKEN https://stitchfix01.jfrog.io/stitchfix01/api/gems/eng-gems/api/v1/api_key.yaml - > ~/.gem/credentials && chmod 0600 ~/.gem/credentials - - run: - name: Build/release gem to artifactory - command: bundle exec rake push_artifactory - ruby-2.7.1-rails-6.0: - docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.6.1 environment: - BUNDLE_GEMFILE: Gemfile.rails-6.0 + BUNDLE_GEMFILE: Gemfile.rails-5.2 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN - 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-messaging-ops" + command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" - ruby-2.6.6-rails-6.0: + ruby-2.5.3-rails-5.2: docker: - - image: circleci/ruby:2.6.6 + - image: circleci/ruby:2.5.3 environment: - BUNDLE_GEMFILE: Gemfile.rails-6.0 + BUNDLE_GEMFILE: Gemfile.rails-5.2 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN - 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-messaging-ops" + command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" - ruby-2.7.1-rails-5.2: + ruby-2.6.1-rails-5.1: docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.6.1 environment: - BUNDLE_GEMFILE: Gemfile.rails-5.2 + BUNDLE_GEMFILE: Gemfile.rails-5.1 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN - 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-messaging-ops" + command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" - ruby-2.6.6-rails-5.2: + ruby-2.5.3-rails-5.1: docker: - - image: circleci/ruby:2.6.6 + - image: circleci/ruby:2.5.3 environment: - BUNDLE_GEMFILE: Gemfile.rails-5.2 + BUNDLE_GEMFILE: Gemfile.rails-5.1 - image: redis:2.8.12 - image: rabbitmq:3.5.6 working_directory: "~/pwwka" steps: - checkout - - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN - 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-messaging-ops" + command: 'bundle exec y-notify #eng-platform' when: on_fail - store_test_results: path: "/tmp/test-results" workflows: version: 2 on-commit: jobs: - - release: + - ruby-2.6.1-rails-5.2: context: org-global - requires: - - ruby-2.7.1-rails-6.0 - - ruby-2.6.6-rails-6.0 - - ruby-2.7.1-rails-5.2 - - ruby-2.6.6-rails-5.2 - filters: - tags: - only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\d*)?$/ - branches: - ignore: /.*/ - - ruby-2.7.1-rails-6.0: + - ruby-2.5.3-rails-5.2: context: org-global - filters: - tags: - only: &1 /.*/ - - ruby-2.6.6-rails-6.0: + - ruby-2.6.1-rails-5.1: context: org-global - filters: - tags: - only: *1 - - ruby-2.7.1-rails-5.2: + - ruby-2.5.3-rails-5.1: context: org-global - filters: - tags: - only: *1 - - ruby-2.6.6-rails-5.2: - context: org-global - filters: - tags: - only: *1 scheduled: triggers: - schedule: cron: 17 19 * * 1,2,3,4,5 filters: branches: only: - master jobs: - - ruby-2.7.1-rails-6.0: + - ruby-2.6.1-rails-5.2: context: org-global - - ruby-2.6.6-rails-6.0: + - ruby-2.5.3-rails-5.2: context: org-global - - ruby-2.7.1-rails-5.2: + - ruby-2.6.1-rails-5.1: context: org-global - - ruby-2.6.6-rails-5.2: + - ruby-2.5.3-rails-5.1: context: org-global