-
Notifications
You must be signed in to change notification settings - Fork 491
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
Setup integration testing #691
Conversation
Signed-off-by: Morlay <morlay.null@gmail.com>
1fd95a8
to
6c704ac
Compare
@@ -0,0 +1,19 @@ | |||
#!/bin/bash | |||
|
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.
set -eu -o pipefail
Maybe as a stopgap we could start with this but generally I would prefer buildkit-style integration testing with dockerfile describing the environment. Not github actions specific scripts that will have scaling issues. |
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.
Like @tonistiigi said it would be better to sandbox as much as possible to be able to repro locally.
@@ -0,0 +1,60 @@ | |||
name: testing-builder | |||
|
|||
on: push |
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.
on: push | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
- 'v[0-9]*' | |
pull_request: | |
branches: | |
- 'master' | |
- 'v[0-9]*' |
We should trigger on pr and release branches.
Signed-off-by: Morlay morlay.null@gmail.com
driver (
docker-container
,kubernetes
) X mode (single-node
,multi-nodes
)could added
--config
mode, but block by #682To run cases:
https://github.com/morlay/buildx/actions/runs/1062152109