Skip to content

Commit

Permalink
No need to pull nested gb-mobile submodules on CI
Browse files Browse the repository at this point in the history
The gb-mobile JS bundle has already been built and shared as via a
CircleCI attached workspace so, no need for the nested submodules that
only contribute JS code anyway.
  • Loading branch information
hypest committed May 7, 2020
1 parent 610239f commit c05efbc
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ commands:
- run:
name: Checkout submodules
command: git submodule update --init --recursive
checkout-gutenberg-mobile-submodule-only:
steps:
- run:
name: Checkout gutenberg-mobile submodule (no recursive)
command: git submodule update --init
yarn-bundle-android:
steps:
- run:
Expand Down Expand Up @@ -63,9 +68,7 @@ jobs:
api-version: "28"
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- android/restore-gradle-cache
- copy-gradle-properties
- run:
Expand All @@ -91,9 +94,7 @@ jobs:
api-version: "28"
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- android/restore-gradle-cache
- copy-gradle-properties
- run:
Expand Down Expand Up @@ -135,9 +136,7 @@ jobs:
api-version: "28"
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- bundle-install/bundle-install:
cache_key_prefix: installable-build
- run:
Expand Down Expand Up @@ -185,9 +184,7 @@ jobs:
api-version: "28"
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- android/restore-gradle-cache
- copy-gradle-properties
- run:
Expand Down Expand Up @@ -229,9 +226,7 @@ jobs:
api-version: "28"
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- android/restore-gradle-cache
- copy-gradle-properties
- run:
Expand Down Expand Up @@ -262,9 +257,7 @@ jobs:
- image: circleci/ruby:2.6.4
steps:
- git/shallow-checkout
- run:
name: Checkout git submodules
command: git submodule update --init --recursive
- checkout-gutenberg-mobile-submodule-only
- run:
name: Install bundler
command: gem install bundler --version 2.0.2
Expand Down

0 comments on commit c05efbc

Please sign in to comment.