EvoBSD is a set of Ansible playbooks and roles providing a customisation of the OpenBSD operating system used by Evolix.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
706 B

  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: default
  5. steps:
  6. - name: lint markdown files
  7. image: pipelinecomponents/remark-lint:latest
  8. commands:
  9. - "remark --no-stdout --color --use preset-lint-recommended ."
  10. - name: lint yaml files
  11. image: pipelinecomponents/yamllint:latest
  12. commands:
  13. - "yamllint ."
  14. - name: lint ansible scripts
  15. image: pipelinecomponents/ansible-lint:latest
  16. commands:
  17. - >
  18. find . -maxdepth 1 -name '*.yml'
  19. | sort
  20. | grep -v '.drone.yml'
  21. | xargs ansible-playbook --syntax-check --list-tasks
  22. - >
  23. find . -maxdepth 1 -name '*.yml'
  24. | sort
  25. | grep -v '.drone.yml'
  26. | xargs ansible-lint