-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ci: move frontend integration tests and build to a dedicated workflow #3237
Conversation
dcb438a
to
0c4bdc6
Compare
5ce2eae
to
ee7d15a
Compare
ee7d15a
to
35e595c
Compare
a6c441c
to
1998bad
Compare
1998bad
to
a867b81
Compare
a867b81
to
295a04b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this seems roughly good to me, though I haven't taken a deep look yet.
I think we might want to rename build.yml
though, maybe to buildkitd.yml
, since it now just build+tests related to that, since frontend.yml
does build+tests related to the dockerfile frontend.
c64783a
to
3a458ac
Compare
Split dockerfile frontend integration tests and build in a dedicated workflow so we have a clear separation of concerns and also avoid building the frontend when a BuildKit tag is pushed and vice versa with a dockerfile tag. Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
3a458ac
to
97d3b59
Compare
run: | | ||
go mod download | ||
- | ||
name: Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a few test jobs that don't use the reusable workflow - like this one. Is there a reason we can't use it in every case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah unfortunately for test-os
we can't pass the os (e.g. windows-2022
) as an input to the reusable workflow. That's why I just moved this one in a dedicated wokrflow. I think GitHub is working on a fix for this.
Split dockerfile frontend integration tests and build in a dedicated workflow so we have a clear separation of concerns and also avoid building the frontend when a BuildKit tag is pushed and vice versa with a dockerfile tag.
Also create a reusable workflow for our tests and move test-os job to a dedicated workflow.
Signed-off-by: CrazyMax [email protected]