-
Notifications
You must be signed in to change notification settings - Fork 140
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
In a failFast configuration need to be able to stop the build. #12
Comments
I think this is a simple but crucial feature. Sometimes you need to stop the build in gha before it does something stupid. But since now codebuild will continue anyway it would be very dangerous. |
I can add another use case. We execute some long-running (up to 2-3 hours) tests in CodeBuild, and use GH workflow on workflow_dispatch to manually trigger that execution. |
It was already implemented in dark-mechanicum/aws-codebuild action. If you'll click "Cancel Workflow" from GHA interface, it will automatically cancel AWS CodeBuild job |
This would be a great feature. We maintain a call-jenkins-from-GHA action and it was pretty easy to catch When moving from Jenkins to CodeBuild and using this action, we planned to implement this with our own step using the steps:
- id: build
uses: aws-actions/aws-codebuild-run-build@v1
with:
# ...
- if: ${{ cancelled() }}
run: |
aws codebuild stop-build --id ${{ steps.build.outputs.aws-build-id }} We'll be trying this soon, but has anyone else done this or know if it will/won't work? |
No description provided.
The text was updated successfully, but these errors were encountered: