Replies: 2 comments 7 replies
-
@tisonkun, @huachaohuang, this proposal may also apply to engula, PTAL. |
Beta Was this translation helpful? Give feedback.
6 replies
-
If there are multiple steps in one action (e.g. test, clippy, fmt), it seems that they won't be shown as separate steps on GitHub Action. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, everyone!
CI is an important part of our community. Every contributor will meet them in every PR. Databend's CI didn't well organize in the past. In this proposal, I will discuss a new design of CI with the whole community.
Goal
How it works?
Github allows us to:
So, instead of splitting jobs into different workflows, we can have a
main.yml
that organizes all related jobs together. In the case of databend, we will have two profiles:developing.yml
: Used in all PRs and non-main branchesproduction.yml
: Used in main branch, build with--release
and publish images.Let's take a look at
developing.yml
for glance:In this way, we don't need to guess which workflow could be run. And we can have a global view of our jobs like:
Benefits
needs
support, we can only allow runningbuild
aftercheck
passed.build
steps intests
so that we don't need to build them again.concurrency
andpaths-ignore
in different workflows.Demo
Here is a working demo: #3344
Welcome for any comments and reviews!
Tracking issues
#3453
Beta Was this translation helpful? Give feedback.
All reactions