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

Switch to matrix strategy to parallize provider family builds #105

Merged
merged 3 commits into from
May 9, 2023

Conversation

ulucinar
Copy link
Contributor

@ulucinar ulucinar commented May 9, 2023

Description of your changes

This PR implements a matrix strategy for building provider families in smaller chunks. The Provider Publish Service Artifacts workflow now accepts a size parameter which specifies the maximum number of subpackages to be built in a matrix job and a new concurrency parameter which is passed to the up xpkg batch command as the value of the --concurrent option to control the maximum batch concurrency in the build pipeline.

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Tested in the Github workflow of upbound/provider-aws with the corresponding up xpkg batch command.

- Fix Go mod caching

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
@ulucinar ulucinar requested a review from turkenf May 9, 2023 14:07
Copy link
Contributor

@turkenf turkenf left a comment

Choose a reason for hiding this comment

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

Thanks @ulucinar, LGTM

@ulucinar ulucinar merged commit e68d4a2 into upbound:main May 9, 2023
@ulucinar ulucinar deleted the matrix-service-artifacts branch May 9, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants