Managing Infrastructure-as-Code on Git
By integrating with Bricks Action, teams can automate Blueprint management commands (such as bp bump and bp publish) to the CI workflow, allowing them to focus on coding modules while optimizing collaboration and automation.
Bluebricks recommends triggering the updateci command when a Pull Request (PR) is opened and approved or when a Git tag is assigned (e.g., for versioning).
Recommended Workflow Described
Below is a suggested opinionated workflow that can be modified according to the team's needs:
Each PR Open event creates a dependency validation and preview changes which are being added to the PR as a comment
On PR Approve event, Bircks Action will bump versions, update the blueprints and publish recursively
Once the publish is completed, Bricks Action will update the PR with another commit, including the new versions.
On a merge event, Bricks Action won't take any action.

Action File Example


Last updated
Was this helpful?

