mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
ci: Add commitlint to travis CI
Added commitlint tool to travis CI to test the commit messages. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
9fe7d1612e
commit
f134fe5e86
@ -79,7 +79,13 @@ jobs:
|
|||||||
# install helm for helm lint
|
# install helm for helm lint
|
||||||
- curl -L https://git.io/get_helm.sh
|
- curl -L https://git.io/get_helm.sh
|
||||||
| bash -s -- -v "${HELM_VERSION}"
|
| bash -s -- -v "${HELM_VERSION}"
|
||||||
|
# yamllint disable rule:line-length
|
||||||
|
- mkdir -p /opt/commitlint && pushd /opt/commitlint
|
||||||
|
&& npm init -y && npm install --save-dev @commitlint/travis-cli && popd
|
||||||
|
# yamllint enable rule:line-length
|
||||||
|
- export PATH=/opt/commitlint/node_modules/.bin:$PATH
|
||||||
script:
|
script:
|
||||||
|
- commitlint-travis
|
||||||
- make go-lint
|
- make go-lint
|
||||||
- make lint-extras
|
- make lint-extras
|
||||||
- make gosec
|
- make gosec
|
||||||
|
Loading…
Reference in New Issue
Block a user