You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
498 B
YAML
22 lines
498 B
YAML
---
|
|
kind: pipeline
|
|
name: check-code
|
|
type: docker
|
|
|
|
steps:
|
|
- name: yamllint
|
|
image: cytopia/yamllint
|
|
commands:
|
|
- yamllint etc/ site/profile/
|
|
|
|
- name: puppetlint
|
|
image: jetpulp/puppet-lint-gitlab-ci
|
|
commands:
|
|
- puppet-lint --no-documentation-check --no-parameter_order-check manifests/
|
|
- puppet-lint --no-documentation-check site/
|
|
|
|
- name: validatetemplates
|
|
image: ruby:2.5-slim
|
|
commands:
|
|
- for i in site/profile/templates/*.erb ; do erb -P -x -T '-' $i | ruby -c; done
|