Skip to content
Snippets Groups Projects
Verified Commit 7986c7c8 authored by Dave Long's avatar Dave Long
Browse files

Issue #3401988 by fjgarlin, acbramley, longwave, mstrelan, drumm:...

Issue #3401988 by fjgarlin, acbramley, longwave, mstrelan, drumm: Spell-checking job fails with "Argument list too long" when too many files are changed
parent b79240e2
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ variables: ...@@ -46,7 +46,7 @@ variables:
# Let composer know what self.version means. # Let composer know what self.version means.
COMPOSER_ROOT_VERSION: "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}-dev" COMPOSER_ROOT_VERSION: "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}-dev"
CONCURRENCY: 24 CONCURRENCY: 24
GIT_DEPTH: "3" GIT_DEPTH: "50"
PARENT_PIPELINE_ID: $CI_PIPELINE_ID PARENT_PIPELINE_ID: $CI_PIPELINE_ID
_TARGET_PHP: "8.2" _TARGET_PHP: "8.2"
...@@ -413,5 +413,4 @@ default: ...@@ -413,5 +413,4 @@ default:
script: script:
- export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH} - export TARGET_BRANCH=${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}${CI_COMMIT_BRANCH}
- git fetch -vn --depth=$GIT_DEPTH origin "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH" - git fetch -vn --depth=$GIT_DEPTH origin "+refs/heads/$TARGET_BRANCH:refs/heads/$TARGET_BRANCH"
- export MODIFIED=`git diff --name-only refs/heads/$TARGET_BRANCH|while read r;do echo "$CI_PROJECT_DIR/$r";done|tr "\n" " "` - git diff $CI_MERGE_REQUEST_DIFF_BASE_SHA --name-only | sed "s_^_../_" | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
- echo $MODIFIED | tr ' ' '\n' | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment