Skip to content

Commit

Permalink
Merge pull request #38370 from code-dot-org/increase-drone-clone-depth
Browse files Browse the repository at this point in the history
Increase Drone clone depth for i18n sync
  • Loading branch information
sureshc committed Jan 4, 2021
2 parents 8f42f77 + 5f898b6 commit 9bf9e58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
- name: clone
image: docker:git
commands:
- git clone --branch $DRONE_SOURCE_BRANCH --depth 100 $DRONE_GIT_HTTP_URL .
- git clone --branch $DRONE_SOURCE_BRANCH --depth 200 $DRONE_GIT_HTTP_URL .
- git reset --hard $DRONE_COMMIT
# Also fetch the target branch (which is staging for pull requests.) We need this for determining which tests to run based on changed files.
- git remote set-branches --add origin $DRONE_TARGET_BRANCH
Expand Down Expand Up @@ -100,7 +100,7 @@ steps:
- name: clone
image: docker:git
commands:
- git clone --branch $DRONE_SOURCE_BRANCH --depth 100 $DRONE_GIT_HTTP_URL .
- git clone --branch $DRONE_SOURCE_BRANCH --depth 200 $DRONE_GIT_HTTP_URL .
- git reset --hard $DRONE_COMMIT
# Also fetch the target branch (which is staging or staging-next for pull requests.) We need this for determining which tests to run based on changed files.
- git remote set-branches --add origin $DRONE_TARGET_BRANCH
Expand Down Expand Up @@ -187,6 +187,6 @@ trigger:
- pull_request
---
kind: signature
hmac: 1eb7f310b1ec6c67a0f6fa5b24ad6daab49a401ac9ed2bd908d3da4436003adc
hmac: dc4e945db625740ff05bf17df74f5e97a40b0e336db058bf3ea7c5543e9ce9e5

...

0 comments on commit 9bf9e58

Please sign in to comment.