Skip to content

Commit 5eb37d7

Browse files
committed
Build PR builds in CodeBuild
This commit updates CodeCommit spec to build the CI builds in CodeCommit instead of CodeDeploy. Signed-off-by: Mark Kirichenko <[email protected]>
1 parent 7c07f80 commit 5eb37d7

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

appspec.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ phases:
1010
build:
1111
commands:
1212
- echo Build started on `date`
13-
- env | grep CODEBUILD > build_env.txt
13+
- env | grep CODEBUILD > $CODEBUILD_SRC_DIR/build_env.txt
14+
- $CODEBUILD_SRC_DIR/ci_entrypoint.sh
1415
post_build:
1516
commands:
1617
- echo Build completed on `date`

ci_entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ function status_update() {
2727
# where a CI run will eventually fail due to no space left.
2828
# We also clear the system caches in order to guarantee the maximum possible available memory.
2929
docker system prune --force
30-
echo 3 > /proc/sys/vm/drop_caches
3130

3231
pwd
3332
source build_env.txt

0 commit comments

Comments
 (0)