summaryrefslogtreecommitdiffstats
path: root/.pipeline.yml
diff options
context:
space:
mode:
authorPratyush Desai2023-02-19 20:54:59 +0100
committerPratyush Desai2023-02-19 20:54:59 +0100
commit6e43bbbe4482752b919001b6db2c641b7ce02039 (patch)
treeaf00b9618e3377ba814710167e350866c37a2416 /.pipeline.yml
parent51da14de69ac98ddd49cae393a76d64bded041b0 (diff)
parent68e41ceab84c614e67745ef5dba9640f2ddac795 (diff)
downloadsalt-6e43bbbe4482752b919001b6db2c641b7ce02039.tar.gz
salt-6e43bbbe4482752b919001b6db2c641b7ce02039.tar.bz2
salt-6e43bbbe4482752b919001b6db2c641b7ce02039.zip
Merge pull request 'Enable commit message linting' (#36) from commit-lint into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/36 Reviewed-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to '.pipeline.yml')
-rw-r--r--.pipeline.yml12
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: