Skip to content

Commit

Permalink
chore: CircleCI updates (#33896)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts committed Nov 16, 2021
1 parent e98e4e1 commit f1f1064
Showing 1 changed file with 8 additions and 68 deletions.
76 changes: 8 additions & 68 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ executors:
parameters:
image:
type: string
default: "14.17.0"
default: "14.15.0"
docker:
- image: cimg/node:<< parameters.image >>
environment:
Expand Down Expand Up @@ -63,7 +63,6 @@ aliases:
branches:
ignore:
- /docs.+/
- /blog.+/

test_template: &test_template
parallelism: 4
Expand Down Expand Up @@ -101,7 +100,6 @@ aliases:
ignore:
- master
- /docs.+/
- /blog.+/
requires:
- lint
- typecheck
Expand Down Expand Up @@ -231,19 +229,10 @@ jobs:
- run: yarn check-repo-fields

unit_tests_node14:
# GATSBY_EXPERIMENTAL_LMDB_INDEXES is not activated yet
executor:
name: node
image: "14.17.0"
<<: *test_template

unit_tests_node14_lmdb_store:
executor:
name: node
image: "14.17.0"
environment:
GATSBY_EXPERIMENTAL_LMDB_STORE: 1
GATSBY_EXPERIMENTAL_LMDB_INDEXES: 1
GATSBY_EXPERIMENTAL_PARALLEL_QUERY_RUNNING: 1
image: "14.15.0"
<<: *test_template

integration_tests_gatsby_source_wordpress:
Expand Down Expand Up @@ -494,32 +483,7 @@ jobs:
- run: git config --global user.name "GatsbyJS Bot"
- run: git config --global user.email "[email protected]"
- run: node scripts/gatsby-changelog-generator/update-and-open-pr.js

update_i18n_source:
executor: node
steps:
- checkout
- run: git config --global user.name "GatsbyJS Bot"
- run: git config --global user.email "[email protected]"
- run:
command: yarn
working_directory: ~/project/scripts/i18n
- run:
command: yarn run update-source
working_directory: ~/project/scripts/i18n

sync_translation_repo:
executor: node
steps:
- checkout
- run: git config --global user.name "GatsbyJS Bot"
- run: git config --global user.email "[email protected]"
- run:
command: yarn
working_directory: ~/project/scripts/i18n
- run:
command: yarn run-all sync
working_directory: ~/project/scripts/i18n
- run: yarn format:other

windows_unit_tests:
parallelism: 4
Expand All @@ -539,11 +503,11 @@ jobs:

- <<: *attach_to_bootstrap
- run:
name: Install node 14.17 and yarn
name: Install node 14.15.0 and yarn
command: |
nvm install 14.17.0
nvm alias default 14.17.0
nvm use 14.17.0
nvm install 14.15.0
nvm alias default 14.15.0
nvm use 14.15.0
choco install yarn
- run:
name: Rebuild packages for windows
Expand Down Expand Up @@ -585,17 +549,6 @@ jobs:
workflows:
version: 2

weekly-i18n-sync:
triggers:
- schedule:
cron: "0 1 * * 6"
filters:
branches:
only:
- master
jobs:
- sync_translation_repo

nightly-react-next:
triggers:
- schedule:
Expand Down Expand Up @@ -669,14 +622,6 @@ workflows:
- lint
- typecheck
- bootstrap
- unit_tests_node14_lmdb_store:
<<: *ignore_docs
# rebuild to get correct version of lmdb-store (compiled for node14 not node12)
npm_rebuild: true
requires:
- lint
- typecheck
- bootstrap
- integration_tests_gatsby_source_wordpress:
<<: *e2e-test-workflow
- integration_tests_node_manifest:
Expand Down Expand Up @@ -727,8 +672,3 @@ workflows:
branches:
only:
- master
- update_i18n_source:
filters:
branches:
only:
- master

0 comments on commit f1f1064

Please sign in to comment.