-
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
New stability test case for ConfigMap rollout #499
Conversation
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
…ration check instead Signed-off-by: Aylei <rayingecho@gmail.com>
Co-Authored-By: weekface <weekface@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
Signed-off-by: Aylei <rayingecho@gmail.com>
@@ -9,6 +9,9 @@ | |||
# | |||
|
|||
set -uo pipefail | |||
|
|||
{{ .Values.pd.preStartScript }} |
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.
For fault-injection
tests/actions.go
Outdated
@@ -328,6 +336,7 @@ func (oi *OperatorConfig) OperatorHelmSetString(m map[string]string) string { | |||
"scheduler.logLevel": "2", | |||
"controllerManager.replicas": "2", | |||
"scheduler.replicas": "2", | |||
"imagePullPolicy": "Always", |
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.
Typically, we will use the latest
tag of operator image. Always
can avoid using stale image
@@ -1593,7 +1602,7 @@ func releaseIsNotFound(err error) bool { | |||
} | |||
|
|||
func (oa *operatorActions) cloneOperatorRepo() error { | |||
cmd := fmt.Sprintf("git clone https://github.com/pingcap/tidb-operator.git %s", oa.cfg.OperatorRepoDir) | |||
cmd := fmt.Sprintf("git clone %s %s", oa.cfg.OperatorRepoUrl, oa.cfg.OperatorRepoDir) |
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.
If the developers modify the chart in their development branch, they have to configure the git url in order to test the chart modification
/run-e2e-tests |
2 similar comments
/run-e2e-tests |
/run-e2e-tests |
Signed-off-by: Aylei <rayingecho@gmail.com>
/run-e2e-tests |
/run-e2e-tests |
@@ -51,6 +52,7 @@ func main() { | |||
WebhookServiceName: "webhook-service", | |||
WebhookSecretName: "webhook-secret", | |||
WebhookConfigName: "webhook-config", | |||
ImagePullPolicy: v1.PullIfNotPresent, |
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.
The ImagePullPolicy can be omitted. It is set to IfNotPresent
by default.
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.
If I understand correctly, according to the communication in this morning, IfNotPresent
is required for e2e test so I think it's better to enforce this policy explicitly.
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.
ok
/run-e2e-test |
1 similar comment
/run-e2e-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.
LGTM
/run-e2e-test |
What problem does this PR solve?
fix #486
What is changed and how it works?
New stability test case
Check List
Tests
@weekface @xiaojingchen @tennix @onlymellb PTAL