diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 771f03d..b943a00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ stages: # stages - "linting" - "image-build" + - "deployment" # include jobs @@ -14,3 +15,4 @@ include: # deployment - local: ".gitlab/linting.yaml" - local: ".gitlab/image-build.yaml" + - local: ".gitlab/deployment.yaml" diff --git a/docs/development/linters.md b/docs/development/linters.md index 661fb53..4f1de51 100644 --- a/docs/development/linters.md +++ b/docs/development/linters.md @@ -2,7 +2,7 @@ ## ansible-lint -```shell +```shell title=".ansible-lint" --- exclude_paths: @@ -30,7 +30,7 @@ skip_list: ## markdownlint -```shell +```shell title=".markdownlint" --- default: true @@ -51,7 +51,7 @@ MD033: ## yamllint -```shell +```shell title=".yamllint" --- extends: "default" diff --git a/docs/gitlab/ci.md b/docs/gitlab/ci.md index afb2383..ccc1d7b 100644 --- a/docs/gitlab/ci.md +++ b/docs/gitlab/ci.md @@ -2,7 +2,7 @@ ## Import jobs -```yaml +```yaml title=".gitlab-ci.yml" --- # gitLab ci stages @@ -24,7 +24,7 @@ include: ## Run a docker container -```yaml +```yaml title=".gitlab/workflows/linting.yaml" --- # linting @@ -46,7 +46,7 @@ linting: ## Run a SSH command -```yaml +```yaml title=".gitlab/workflows/deployment.yaml" --- # deploy ansible code