-
Notifications
You must be signed in to change notification settings - Fork 500
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
Update e2e workflow in CONTRIBUTING.md #392
Conversation
@@ -27,7 +27,7 @@ spec: | |||
serviceAccount: tidb-operator-e2e | |||
containers: | |||
- name: tidb-operator-e2e | |||
image: "" |
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.
@xiaojingchen
Not sure why it is empty in your #346 PR, can we give it a default value, then it can be applied by kubectl
?
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.
this's ok. in fact the image will be replaced when e2e ci running.
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
/run-e2e-tests |
- use `[` instead of `[[` to be sh-compatible (SHELL defaults to sh on linux)
CI failed, because these is a gofmt issue caused by pr #386, you can fix it in this pr or just ignore it. |
It has been fixed here, so I rebased on master and try again. |
[[ -d tests/images/e2e/tidb-operator ]] && rm -r tests/images/e2e/tidb-operator || true | ||
[[ -d tests/images/e2e/tidb-cluster ]] && rm -r tests/images/e2e/tidb-cluster || true | ||
[[ -d tests/images/e2e/tidb-backup ]] && rm -r tests/images/e2e/tidb-backup || true | ||
[ -d tests/images/e2e/tidb-operator ] && rm -r tests/images/e2e/tidb-operator || true |
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.
@onlymellb PTAL
[
instead of[[
to be sh-compatible (more portable)make e2e-docker
builds e2e image fromtests/images/e2e
instead ofimages/tidb-operator-e2e
, we should use new e2e yaml filetests/manifests/e2e/e2e.yaml
.xref: #346