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

FAST: CI/CD support for Source Repository and Cloud Build #669

Merged
merged 10 commits into from
Jun 8, 2022

Conversation

ludoo
Copy link
Collaborator

@ludoo ludoo commented Jun 7, 2022

This adds support to our CI/CD machinery for Source Repositories and Cloud Build Triggers to both stage 0 and 1.

The interface is left unchanged, with just a new sourcerepos repository type supported in the cicd_repositories variables.

The implementation is fairly simple as it leverages an improved source_repository module to wrap repo, IAM and Cloud Build trigger.

I tested the new Cloud Build workflow in stage 0, but did not test stage 1 yet. Code is identical so barring typos it should work the same.

@ludoo ludoo requested a review from juliocc June 7, 2022 22:55
@ludoo ludoo changed the title WIP: CI/CD support for Source Repository and Cloud Build CI/CD support for Source Repository and Cloud Build Jun 8, 2022
@ludoo ludoo requested review from rosmo, sruffilli and amgoogle June 8, 2022 08:15
Copy link
Collaborator

@juliocc juliocc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

@ludoo ludoo merged commit 44ae267 into master Jun 8, 2022
@ludoo ludoo deleted the ludo/fast-cloud-build branch June 8, 2022 09:34
@ludoo ludoo changed the title CI/CD support for Source Repository and Cloud Build FAST: CI/CD support for Source Repository and Cloud Build Jun 10, 2022
lcaggio pushed a commit that referenced this pull request Jun 17, 2022
* add id to outputs

* initial cloud build implementation for stage 0

* comments

* stage 0

* stage 1, untested

* add support for IAM and CB triggers to source repository module

* refactor stage 0 to use sourcerepo module

* refactor stage 1 to use sourcerepo module

* file descriptions

* fix gitlab pipeline
@ludoo ludoo added the on:FAST label Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants