Commit e6729f06 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat(ci): move linting to components

parent b786001c
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -15,4 +15,7 @@ include:
  # deployment
  - local: ".gitlab/build.yaml"
  - local: ".gitlab/deployment.yaml"
  - local: ".gitlab/linting.yaml"

  # linting
  - component: "$CI_SERVER_FQDN/components/markdownlint/markdownlint@1.0.0"
  - component: "$CI_SERVER_FQDN/components/yamllint/yamllint@1.0.2"

.gitlab/linting.yaml

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
---

# linting
linting:
  stage: "linting"
  image:
    name: "cr.simoncor.net/siempie/ansible-deployment:latest"
    entrypoint: ["/bin/sh", "-c"]

  # start linting
  script:
    - "yamllint ."