Questions tagged [linting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

gitlab -ci script not being updated on runner

I have a problem I can't get my head around in gitlab-ci: I have a monorepo where I store some infra code (IaC), in this repo I have a script which allow me to lint the saltstack states code, as : #!/...
2
votes
2answers
309 views

Coding conventions for docker-compose files?

Is there some globally admitted coding conventions for docker-compose files? Below is a sample docker-compose.yml from a small project we have here: version: 3 networks: net: driver: 'bridge' ...
1
vote
1answer
526 views

How to exclude a certain linenumber of an Ansible playbook when testing it using Molecule?

The aim is to exclude a certain line that contains a checksum and cannot be smaller than 80 characters. --> Scenario: 'default' --> Action: 'lint' --> Executing Yamllint on files found in /...
5
votes
1answer
683 views

Why does the jenkins-cli.jar linting functionality not work?

The jenkins-cli.jar has been downloaded. It is able to run. When one tries to check the syntax of a jenkinsfile by running java -jar ~/Desktop/jenkins-cli.jar -s https://<jenkins_url> -...
11
votes
1answer
70 views

Assertions and constraints

I'm constructing a template to build a configuration file, and the service that consumes this file places constraints on identifier lengths. If an identifier is longer than, say, 6 characters, the ...