Skip to content

Commit

Permalink
add .codebuild/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed Aug 5, 2018
1 parent 5bf73ff commit c7fe118
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .codebuild/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
aws codebuild create-project --cli-input-json file://.codebuild/definitions/jets_base_build.json
aws codebuild update-project --cli-input-json file://.codebuild/definitions/jets_base_build.json

aws codebuild start-build --project-name JetsBaseBuild --source-version codebuild

aws codebuild batch-get-projects --names JetsBaseBuild
aws codebuild list-builds-for-project --project-name JetsBaseBuild

BUILD_ID=$(aws codebuild list-builds-for-project --project-name JetsBaseBuild | jq -r '.ids[0]')
aws codebuild batch-get-builds --ids $BUILD_ID

STREAM=$(aws codebuild batch-get-builds --ids $BUILD_ID | jq -r '.builds[0].logs.streamName')
cw tail -f /aws/codebuild/JetsBaseBuild $STREAM

0 comments on commit c7fe118

Please sign in to comment.