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

feat: add testing stage

parent 614047c3
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ stages:
  # deployment
  - "gitleaks"
  - "linting"
  - "testing"
  - "deployment"


@@ -13,8 +14,9 @@ stages:
include:

  # deployment
  - local: ".gitlab/gitleaks.yaml"
  - local: ".gitlab/deployment.yaml"
  - local: ".gitlab/gitleaks.yaml"
  - local: ".gitlab/testing.yaml"

  # linting
  - component: "$CI_SERVER_FQDN/components/ansible/linting@v2.0.1"

.gitlab/testing.yaml

0 → 100644
+19 −0
Original line number Diff line number Diff line
---

stages:
  - "test"

variables:
  DOCKER_DRIVER: "overlay2"

molecule:
  stage: "test"
  image: "cr.simoncor.net/siempie/molecule-ci:v25.07.18"
  services:
    - "docker:dind"
  variables:
    DOCKER_HOST: "tcp://docker:2375/"
    ANSIBLE_FORCE_COLOR: "true"
    PY_COLORS: "1"
  script:
    - "molecule test"