question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Step Functions service integration for CodeBuild tasks

See original GitHub issue

AWS Step Functions recently announced support for calling CodeBuild directly from a state machine.

Use Case

It’s powerful to be able to call CodeBuild as part of a state machine, specifically to manage builds as part of larger workflows.

per the what’s new announcement:

Using AWS CodeBuild integration, you can easily create workflows with primitives such as branching, parallel execution, and timeouts to handle software changes from different repository branches.

AWS Step Functions supports built-in error handling, parameter passing, recommended security settings, and state management, reducing the amount of code you have to write and maintain.

Proposed Solution

Support calling CodeBuild APIs through the service integration pattern in aws-stepfunctions-tasks Full table of supported APIs is available here

  • StartBuild
  • StopBuild
  • BatchDeleteBuilds
  • BatchGetReports

This is a 🚀 Feature Request

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DaWyzcommented, Aug 17, 2020

I had to call CodeBuild StartBuild in one my CDK App recently. Decided to try to implement it myself. I will surely need to do some updates on the PR I just pushed.

1reaction
reisingerfcommented, Jun 22, 2020

Any update on this? Or suggestions for possible workarounds?

We’d like to use this integration in a project in active development. A timeline (or alternative if needed) would be much appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New – Building a Continuous Integration Workflow with ...
To simplify those use cases, we are launching today a new AWS Step Functions service integration with CodeBuild. Now, during the execution ...
Read more >
Call Amazon CodeBuild with Step Functions
The Amazon Step Functions service integration with Amazon CodeBuild enables you to use Step Functions to trigger, stop, and manage builds, ...
Read more >
Integrate AWS Step Functions with CodeBuild - Medium
Create a new Role with Step Functions as the service · The role should have a default Lambda permission attached to it ·...
Read more >
AWS Step Functions wait for CodeBuild to finish - Stack Overflow
I found out how to do this, just add .sync to the end of the resource arn of your CodeBuild start in your...
Read more >
aws-cdk.aws-stepfunctions-tasks - PyPI
Step Functions supports calling AWS service's API actions through the service integration pattern. You can use Step Functions' AWS SDK integrations to call...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found