-
Notifications
You must be signed in to change notification settings - Fork 2.7k
ci: cleanup ci workflow #3644
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
ci: cleanup ci workflow #3644
Conversation
ae72e00
to
aa5bf43
Compare
CC: @thaJeztah |
fi | ||
|
||
verbosity="${DCO_VERBOSITY--v}" | ||
GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -range "$COMMIT_RANGE" -run DCO,short-subject,dangling-whitespace |
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 old script was also validating for dangling whitespaces in the commit messages, and for a maximum subject length; do we have a replacement for that?
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.
Added it back the sandboxed way so we are aligned with the rest of our validation process. See the respective commit.
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.
Wondering now; if we keep the script, should we keep the DCO in the dockerfile check as well (to allow a local validate)?
Not a blocker for me, but wondering if it's worth keeping, as it's only a extra check in that stage now
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.
Don't think we need a local validation for DCO imo.
b9012da
to
f5f3c98
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
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, thanks!
follow-up #3634 #3640
remove dco check that is already done by probot and move test step from ci workflow to build workflow and makes build job depends on it so we make sure tests passed before building distribution. tests are not sandboxed yet in our Dockerfile but could do that in a follow-up.