Commit 8dcfd751 authored by Simon Cornet's avatar Simon Cornet
Browse files

[ci] feat: add linting stage

parent 8e5732c0
Loading
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -11,11 +11,6 @@ build-image:
  services:
    - name: "docker:27.3.1-dind"
      command: ["--tls=false"]
  rules:

    # run only on push to default branch
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
    - when: "never"

  script:

+0 −5
Original line number Diff line number Diff line
@@ -6,11 +6,6 @@ linting:
  image:
    name: "cr.simoncor.net/siempie/ansible-deployment:latest"
    entrypoint: ["/bin/sh", "-c"]
  rules:

    # run only on push to default branch
    - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
    - when: "never"

  # start linting
  script: