Skip to content

Commit 6171101

Browse files
authored
chore: raise memory limit for bump in pipeline build (#24982)
Pipeline builds start with a version bump; this version bump ends up building the entire repository, which runs out of memory. Raise the memory for now. Refactoring this behavior is upcoming. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 2bef1b0 commit 6171101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ phases:
2828
build:
2929
commands:
3030
- codebuild-breakpoint
31-
- 'if ${BUMP_CANDIDATE:-false}; then /bin/bash ./scripts/bump-candidate.sh; fi'
31+
- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi'
3232
- /bin/bash ./scripts/align-version.sh
3333
- /bin/bash ./build.sh
3434
post_build:

0 commit comments

Comments
 (0)