diff options
author | Georg Pfuetzenreuter | 2023-02-19 20:10:34 +0100 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-02-19 20:43:10 +0100 |
commit | 68e41ceab84c614e67745ef5dba9640f2ddac795 (patch) | |
tree | af00b9618e3377ba814710167e350866c37a2416 | |
parent | d082729a664b479ca020e81596db06ae34fd00d4 (diff) | |
download | salt-68e41ceab84c614e67745ef5dba9640f2ddac795.tar.gz salt-68e41ceab84c614e67745ef5dba9640f2ddac795.tar.bz2 salt-68e41ceab84c614e67745ef5dba9640f2ddac795.zip |
Enable commit linting
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
-rw-r--r-- | .pipeline.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.pipeline.yml b/.pipeline.yml index 1c2352f..cdbafd4 100644 --- a/.pipeline.yml +++ b/.pipeline.yml @@ -3,7 +3,17 @@ skip_clone: true pipeline: - lint: + commit_lint: + image: registry.opensuse.org/home/crameleon/libertacasa/containers/containerfile/libertacasa/pipeline-gommit:latest + secrets: [ci_netrc_username, ci_netrc_password, ci_netrc_machine] + when: + event: [push] + commands: + - git clone --single-branch -b $CI_COMMIT_BRANCH $CI_REPO_LINK ../salt-libertacasa-commit-linting + - cd ../salt-libertacasa-commit-linting + - bin/lint-commits.pl production + + code_lint: image: registry.opensuse.org/home/crameleon/libertacasa/containers/containerfile/libertacasa/pipeline-lint:latest secrets: [ci_netrc_username, ci_netrc_password, ci_netrc_machine] when: |