Skip to content

Commit

Permalink
chore: raise memory limit for bump in pipeline build (aws#24982)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
rix0rrr authored Apr 7, 2023
1 parent 2bef1b0 commit 6171101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ phases:
build:
commands:
- codebuild-breakpoint
- 'if ${BUMP_CANDIDATE:-false}; then /bin/bash ./scripts/bump-candidate.sh; fi'
- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi'
- /bin/bash ./scripts/align-version.sh
- /bin/bash ./build.sh
post_build:
Expand Down

0 comments on commit 6171101

Please sign in to comment.