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
Enable the E2E test on Github Action #3912
Conversation
0a738a6
to
a0ec855
Compare
a0ec855
to
d9d2ad8
Compare
d9d2ad8
to
747191f
Compare
747191f
to
ba08d7d
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.
Looks good, thanks for getting this together. Just a couple of small changes.
.github/workflows/e2e-test-kind.yaml
Outdated
if: steps.image-cache.outputs.cache-hit != 'true' | ||
run: | | ||
IMAGE=velero VERSION=main make container | ||
docker save velero:main -o ./velero.tar |
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.
Let's call the image version "pr-test" or if possible, something unique. That will keep us from ever getting confused that main is under 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.
updated
ba08d7d
to
be66b55
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.
lgtm
1. Run the E2E test with kind(provision various versions of k8s cluster) and MinIO on Github Action 2. Bug fix: the variable "stdoutBuf" is assigned to both "installPluginCmd.Stdout" and "installPluginCmd.Stderr", this causes 'if !strings.Contains(stderrBuf.String(), "Duplicate value")' takes no effect as the "stderrBuf.String()" is always empty 3. Print the stdout and stderr for easy debugging Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
be66b55
to
bb05ed3
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.
LGTM, thanks!
Signed-off-by: Wenkai Yin(尹文开) yinw@vmware.com
Thank you for contributing to Velero!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)
Please indicate you've done the following:
/kind changelog-not-required
.site/content/docs/main
.