Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to detach codebuild run. #51

Open
pared opened this issue Aug 7, 2020 · 1 comment
Open

Option to detach codebuild run. #51

pared opened this issue Aug 7, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@pared
Copy link

pared commented Aug 7, 2020

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.

@robin-aws robin-aws added the enhancement New feature or request label Nov 27, 2020
@monken
Copy link

monken commented Mar 7, 2021

This worked for me just fine:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants