Skip to content

Commit

Permalink
creating or updating the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
fixbot committed Oct 26, 2020
1 parent 67ecb55 commit d3750b9
Showing 1 changed file with 30 additions and 12 deletions.
42 changes: 30 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ version: 2
jobs:
generate-and-push-docs:
docker:
- image: circleci/ruby:2.7.1
- image: circleci/ruby:2.7.2
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
steps:
- checkout
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
Expand All @@ -23,7 +26,10 @@ jobs:
docs:push; fi
release:
docker:
- image: circleci/ruby:2.7.1
- image: circleci/ruby:2.7.2
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
steps:
- checkout
- run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
Expand All @@ -35,9 +41,12 @@ jobs:
- run:
name: Build/release gem to artifactory
command: bundle exec rake push_artifactory
ruby-2.7.1-rails-6.0:
ruby-2.7.2-rails-6.0:
docker:
- image: circleci/ruby:2.7.1
- image: circleci/ruby:2.7.2
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
environment:
BUNDLE_GEMFILE: Gemfile.rails-6.0
working_directory: "~/stitches"
Expand Down Expand Up @@ -65,6 +74,9 @@ jobs:
ruby-2.6.6-rails-6.0:
docker:
- image: circleci/ruby:2.6.6
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
environment:
BUNDLE_GEMFILE: Gemfile.rails-6.0
working_directory: "~/stitches"
Expand All @@ -89,9 +101,12 @@ jobs:
when: on_fail
- store_test_results:
path: "/tmp/test-results"
ruby-2.7.1-rails-5.2:
ruby-2.7.2-rails-5.2:
docker:
- image: circleci/ruby:2.7.1
- image: circleci/ruby:2.7.2
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
environment:
BUNDLE_GEMFILE: Gemfile.rails-5.2
working_directory: "~/stitches"
Expand Down Expand Up @@ -119,6 +134,9 @@ jobs:
ruby-2.6.6-rails-5.2:
docker:
- image: circleci/ruby:2.6.6
auth:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_PASSWORD"
environment:
BUNDLE_GEMFILE: Gemfile.rails-5.2
working_directory: "~/stitches"
Expand Down Expand Up @@ -150,9 +168,9 @@ workflows:
- release:
context: org-global
requires:
- ruby-2.7.1-rails-6.0
- ruby-2.7.2-rails-6.0
- ruby-2.6.6-rails-6.0
- ruby-2.7.1-rails-5.2
- ruby-2.7.2-rails-5.2
- ruby-2.6.6-rails-5.2
filters:
tags:
Expand All @@ -168,7 +186,7 @@ workflows:
only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/
branches:
ignore: /.*/
- ruby-2.7.1-rails-6.0:
- ruby-2.7.2-rails-6.0:
context: org-global
filters:
tags:
Expand All @@ -178,7 +196,7 @@ workflows:
filters:
tags:
only: *1
- ruby-2.7.1-rails-5.2:
- ruby-2.7.2-rails-5.2:
context: org-global
filters:
tags:
Expand All @@ -197,11 +215,11 @@ workflows:
only:
- master
jobs:
- ruby-2.7.1-rails-6.0:
- ruby-2.7.2-rails-6.0:
context: org-global
- ruby-2.6.6-rails-6.0:
context: org-global
- ruby-2.7.1-rails-5.2:
- ruby-2.7.2-rails-5.2:
context: org-global
- ruby-2.6.6-rails-5.2:
context: org-global

0 comments on commit d3750b9

Please sign in to comment.