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

feat: simplify makefiles and CI #118

Merged
merged 2 commits into from
Jul 31, 2023
Merged

Conversation

Mossaka
Copy link
Member

@Mossaka Mossaka commented Jul 25, 2023

this commit largely removes the redundency of writing each command once for each shim this repo supports. It uses foreach syntax to iterate over each item in the shims variable and execute a command for each one.

This also applies to the CI. This commit adds a new docker-build-push action that builds and pushes the images to ghcr, abstrating the repeated build and push steps into this reusable workflow.

It also adds spin-inbound-redis and spin-outbound-redis images to the release pipeline

this commit largely removes the redundency of writing each command once for each shim
this repo supports. It uses foreach syntax to iterate over each item in the shims
variable and execute a command for each one.

This also applies to the CI. This commit adds a new docker-build-push action that
builds and pushes the images to ghcr, abstrating the repeated build and push steps
into this reusable workflow.

It also adds spin-inbound-redis and spin-outbound-redis images to the release pipeline

Signed-off-by: jiaxiao zhou <[email protected]>
Copy link
Member

@devigned devigned left a comment

Choose a reason for hiding this comment

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

Looks solid. Nice work with Makefile. Just one question.

.github/workflows/build.yaml Outdated Show resolved Hide resolved
@Mossaka Mossaka requested a review from devigned July 31, 2023 18:03
Copy link
Member

@devigned devigned left a comment

Choose a reason for hiding this comment

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

lgtm!

@devigned devigned merged commit 5dceca9 into deislabs:main Jul 31, 2023
5 checks passed
@Mossaka Mossaka deleted the improve-makefile branch July 31, 2023 18:28
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