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

Setup integration testing #691

Closed
wants to merge 1 commit into from

Conversation

morlay
Copy link
Collaborator

@morlay morlay commented Jul 24, 2021

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 #682

To run cases:

  • buildx build single platform
  • buildx build multiple platforms

https://github.com/morlay/buildx/actions/runs/1062152109

Signed-off-by: Morlay <morlay.null@gmail.com>
@morlay morlay force-pushed the setup-integration-testing branch from 1fd95a8 to 6c704ac Compare July 24, 2021 09:01
@@ -0,0 +1,19 @@
#!/bin/bash

Copy link
Collaborator

Choose a reason for hiding this comment

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

set -eu -o pipefail

@tonistiigi
Copy link
Member

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.

Copy link
Member

@crazy-max crazy-max left a 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
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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.

@crazy-max crazy-max mentioned this pull request Sep 21, 2021
@morlay morlay closed this Sep 23, 2021
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.

4 participants