Skip to content

Commit

Permalink
Reduced verbosity when building a Java project; updated project runor…
Browse files Browse the repository at this point in the history
…der. (#233)
  • Loading branch information
mrinaudo-aws authored Sep 12, 2023
1 parent 8edcade commit 761814c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hooks/alpha-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ phases:
- cfn generate
- SETUP_STACK_NAME="setup-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)"
- if [ -f test/setup.yml ]; then rain deploy test/setup.yml $SETUP_STACK_NAME -y; fi
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- cfn submit --dry-run
- ls -ltra
- nohup sam local start-lambda &
Expand Down
2 changes: 1 addition & 1 deletion hooks/beta-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ phases:
- echo Entered the build phase...
- cfn validate
- cfn generate
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- cfn submit --set-default
- HOOK_TYPE_ARN=$(aws cloudformation list-types --visibility PRIVATE --type HOOK --filters TypeNamePrefix=$TYPE_NAME --output json | jq -r '.TypeSummaries[0].TypeArn')
- aws cloudformation set-type-configuration --configuration file://test/configuration.json --type-arn $HOOK_TYPE_ARN
Expand Down
2 changes: 1 addition & 1 deletion hooks/prod-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ phases:
build:
commands:
- echo Entered the build phase...
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- ls -l ../../release
- ../../release/publish-regions.sh
finally:
Expand Down
2 changes: 1 addition & 1 deletion release/awscommunity/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ IotAnalyticsPipelineModuleBuildProject:
"value": "hooks/KMS_EncryptionSettings"
}
]
RunOrder: 4
RunOrder: 5
- Name: ApplicationAutoscalingScheduledAction
InputArtifacts:
- Name: extensions-source
Expand Down
2 changes: 1 addition & 1 deletion resources/alpha-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ phases:
- cfn generate
- SETUP_STACK_NAME="setup-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)"
- if [ -f test/setup.yml ]; then rain deploy test/setup.yml $SETUP_STACK_NAME -y; fi
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- ls -ltra
- nohup sam local start-lambda &
- sleep 10
Expand Down
2 changes: 1 addition & 1 deletion resources/beta-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ phases:
- cfn validate
- cfn generate
- ../../release/deregister-all.sh us-east-1 RESOURCE
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- cfn submit --set-default
- INTEG_STACK_NAME="integ-$(echo $TYPE_CLEAN_NAME | sed s/_/-/g)"
- rain deploy test/integ.yml $INTEG_STACK_NAME -y
Expand Down
2 changes: 1 addition & 1 deletion resources/prod-buildspec-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ phases:
build:
commands:
- echo Entered the build phase...
- mvn clean verify javadoc:javadoc
- mvn clean verify javadoc:javadoc -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- ls -l ../../release
- ../../release/publish-regions.sh
finally:
Expand Down

0 comments on commit 761814c

Please sign in to comment.