cockroachdb / cockroachdb/cockroach-operator

e2e testing enhancements for upgrades and installs

未关闭
#351 0 条评论 0 个 reaction 已指派 2 人 已被 @alinadonisa 认领 在 GitHub 查看
enhancement next release
主要语言
Go
星标
318
派生
104
平均合并
1 天 6 小时
30 天内合并 PR
1

描述

We need to create or validate e2e testing for installs and upgrades for the following cases:

Positive Test Cases (Should Pass) (most of these are already done using provided image field, need to make sure we have similar tests using the API field):

new cluster
New Cluster install with valid customer provided image field
New cluster install with valid customer provided cockroachVersion using provided env variable
New cluster install with valid customer provided cockroachVersion using valid provided customer overriden env variable

existing cluster
Patch upgrade customer provided image field
Patch upgrade with customer provided cockroachVersion using provided env variable
Patch upgrade with customer provided cockroachVersion using provided customer overriden env variable
Feature upgrade customer provided image field
Feature upgrade with customer provided cockroachVersion using provided env variable
Feature upgrade with customer provided cockroachVersion using provided customer overriden env variable

Negative cases we need to test (expected fails):

new cluster
New cluster install with bad customer provided image field (can't pull)
New cluster install with bad customer provided cockroachVersion (can't pull)
New cluster install with valid cockroachVersion using bad customer overriden env variable (can't pull)
New cluster install with valid cockroachVersion using invalid customer overriden env variable (can pull - nginx example)
New cluster install with invalid customer provided image field (can pull - nginx example)
New cluster install with invalid customer provided cockroachVersion

existing cluster
Upgrade with bad customer provided image field (can't pull)
Upgrade with invalid customer provided image field (can pull - nginx example)
Upgrade with valid cockroachVersion using bad customer overriden env variable (can't pull)
Upgrade with valid cockroachVersion using invalid customer overriden env variable (can pull - nginx example)
Upgrade with invalid customer provided cockroachVersion
Upgrade with everything valid except customer is trying to skip a feature release (19.2 directly to 20.2)
Upgrade with everything valid except customer hasn't finalized previous upgrade

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。