aws-codebuild-run-build icon indicating copy to clipboard operation
aws-codebuild-run-build copied to clipboard

Option to detach codebuild run.

Open pared opened this issue 5 years ago • 1 comments

I am trying to use CodeBuild in time-consuming build that might exceed GitHub Actions free tier timeout (6 hrs). Is it possible to somehow detach the build? I am fine with the information that it successfully started. I can work around by simply retracting GetLogsEvents permission from the aws user, but then GH build fails, even though codebuild starts (and finishes) successfully.

pared avatar Aug 07 '20 10:08 pared

This worked for me just fine:

    - name: Start CodeBuild run
      run: aws codebuild start-build --project-name $PROJECT --source-version $GITHUB_SHA

monken avatar Mar 07 '21 19:03 monken