version: 0.2 phases: install: runtime-versions: python: 3.7 java: corretto8 commands: - echo Entered the install phase... - echo About to build $RESOURCE_PATH - export PATH="/usr/local/bin:$PATH" - /usr/local/bin/dockerd-entrypoint.sh - cat /var/log/docker.log - echo java version - java -version - pwd - ls build: commands: - echo Entered the build phase... - mvn package -DskipTests - pwd - ls - echo $RESOURCE_PATH - cd $RESOURCE_PATH - TYPE_NAME=$(cat .rpdk-config | jq -r .typeName) - echo "TYPE_NAME is $TYPE_NAME" - ./setup.sh - cfn validate - cfn generate - cd .. - mvn package -DskipTests - cd $RESOURCE_PATH - python ../get_type_configuration.py - cfn submit --dry-run - nohup sam local start-lambda & - sleep 10 - cfn test finally: - cat rpdk.log - ./cleanup.sh artifacts: files: - $BUILD_FILE_NAME name: extensions-build