Skip to content

Commit e8075e9

Browse files
committed
Remove codebuild hacks and move to the standard codebuild image.
1 parent d46d4cf commit e8075e9

11 files changed

+43
-5
lines changed

buildspecs/benchmarks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
build:
59
commands:
610
- mvn install -P quick -pl :sdk-benchmarks --am

buildspecs/better-integ-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
build:
59
commands:
610
- python scripts/run-integ-test

buildspecs/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
build:
59
commands:
6-
- mvn clean install -D maven.wagon.httpconnectionManager.maxPerRoute=2
10+
- mvn clean install -T1C
711
- JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
812
- echo $JAVA_VERSION
913
- |

buildspecs/integ-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
build:
59
commands:
6-
- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -pl !:dynamodbdocument-v1,!:dynamodbmapper-v1 -Dmaven.wagon.httpconnectionManager.maxPerRoute=2 -T1C
10+
- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -pl !:dynamodbdocument-v1,!:dynamodbmapper-v1 -T1C
711
- JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
812
- echo $JAVA_VERSION
913
- |

buildspecs/on-demand-integ-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
build:
59
commands:
6-
- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -pl !:dynamodbmapper-v1 -Dfailsafe.rerunFailingTestsCount=1 -Dmaven.wagon.httpconnectionManager.maxPerRoute=2 --fail-at-end
10+
- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -pl !:dynamodbmapper-v1 -Dfailsafe.rerunFailingTestsCount=1 --fail-at-end
711
- JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
812
- echo $JAVA_VERSION
913
- |

buildspecs/release-javadoc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ version: 0.2
22

33
phases:
44
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
58
commands:
69
- pip install awscli --upgrade --user
710

@@ -11,7 +14,7 @@ phases:
1114

1215
build:
1316
commands:
14-
- mvn install -P quick -D maven.wagon.httpconnectionManager.maxPerRoute=2 -T1C
17+
- mvn install -P quick -T1C
1518
- mvn install javadoc:aggregate -B -Ppublic-javadoc -Dcheckstyle.skip -Dspotbugs.skip -DskipTests -Ddoclint=none -pl '!:dynamodbdocument-v1,!:dynamodbmapper-v1,!:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:module-path-tests,!:test-utils,!:http-client-tests,!:tests-coverage-reporting'
1619
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
1720
-

buildspecs/release-to-github.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
pre_build:
59
commands:
610
- git config --global user.name "AWS"

buildspecs/release-to-maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ version: 0.2
22

33
phases:
44
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
58
commands:
69
- pip install awscli --upgrade --user
710

buildspecs/update-master-from-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
pre_build:
59
commands:
610
- git config --global user.name "AWS"

buildspecs/update-snapshot-version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 0.2
22

33
phases:
4+
install:
5+
runtime-versions:
6+
java: "$JAVA_RUNTIME"
7+
48
pre_build:
59
commands:
610
- git config --global user.name "AWS"

scripts/run-integ-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def run_tests(modules):
6161
modules_to_include = modules_to_include[:-1]
6262

6363
# build necessary dependencies first
64-
check_call(["mvn", "clean", "install", "-pl", modules_to_include, "-P", "quick", "--am", "-Dmaven.wagon.httpconnectionManager.maxPerRoute=2"])
64+
check_call(["mvn", "clean", "install", "-pl", modules_to_include, "-P", "quick", "--am"])
6565
check_call(["mvn", "verify", "-pl", modules_to_include, "-P", "integration-tests", "-Dfailsafe.rerunFailingTestsCount=1"])
6666

6767
if __name__ == "__main__":

0 commit comments

Comments
 (0)