-
Notifications
You must be signed in to change notification settings - Fork 590
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
refactor(ci): introduce meta backend agnostic e2e tests #19568
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
d27d964
to
5a5255b
Compare
52500b9
to
e802bee
Compare
a43d77e
to
3a7df77
Compare
e638784
to
be023ee
Compare
3a7df77
to
c197fb8
Compare
c197fb8
to
f8e36b8
Compare
a2f39c6
to
985cb45
Compare
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Bugen Zhao <[email protected]>
1299e28
to
6f02e68
Compare
docker-compose-common: &docker-compose-common | ||
config: ci/docker-compose.yml | ||
mount-buildkite-agent: true | ||
propagate-environment: 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.
So that RISEDEV_SQL_ENDPOINT
can be propagated into the container.
config: ci/docker-compose.yml | ||
mount-buildkite-agent: true | ||
<<: *docker-compose-common | ||
run: pg-mysql-backend-test-env |
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.
Can override the entry in *docker-compose-common
.
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
See ideas in #19527.
Reimplement #19152 with the approach introduced in #19560.
Change
meta-backend
toenv
forci-3streaming-2serving-3fe
, so that we can use this single profile for running e2e tests against 3 backends.Based on above, introduce a build matrix for all 3 backends and their endpoints to merge end-to-end tests against 3 backends in
main-cron
.For
pull-request
, only MySQL and Postgres are included in the matrix since I still want to make it optional to run tests against them, which was triggered by PR labelci/run-e2e-test-other-backends
.Note that this PR does not introduce any new tests but only refactors existing pipelines.
For the future plan, personally I prefer keeping steps lightweight in
pull-request
, that is, maintain the status quo that only the basic and common (may also include thesource
one?) end-to-end tests are covered with PG/MySQL backends. Formain-cron
, we may extend the coverage as much as possible by simply adding 2 lines for every step.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.