feat: small fixes and added deployment step
This commit is contained in:
parent
649f66fbf1
commit
3cb1a5da32
3 changed files with 8 additions and 6 deletions
|
|
@ -6,6 +6,7 @@ stages:
|
||||||
# stages
|
# stages
|
||||||
- "linting"
|
- "linting"
|
||||||
- "image-build"
|
- "image-build"
|
||||||
|
- "deployment"
|
||||||
|
|
||||||
|
|
||||||
# include jobs
|
# include jobs
|
||||||
|
|
@ -14,3 +15,4 @@ include:
|
||||||
# deployment
|
# deployment
|
||||||
- local: ".gitlab/linting.yaml"
|
- local: ".gitlab/linting.yaml"
|
||||||
- local: ".gitlab/image-build.yaml"
|
- local: ".gitlab/image-build.yaml"
|
||||||
|
- local: ".gitlab/deployment.yaml"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## ansible-lint
|
## ansible-lint
|
||||||
|
|
||||||
```shell
|
```shell title=".ansible-lint"
|
||||||
---
|
---
|
||||||
|
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
|
|
@ -30,7 +30,7 @@ skip_list:
|
||||||
|
|
||||||
## markdownlint
|
## markdownlint
|
||||||
|
|
||||||
```shell
|
```shell title=".markdownlint"
|
||||||
---
|
---
|
||||||
|
|
||||||
default: true
|
default: true
|
||||||
|
|
@ -51,7 +51,7 @@ MD033:
|
||||||
|
|
||||||
## yamllint
|
## yamllint
|
||||||
|
|
||||||
```shell
|
```shell title=".yamllint"
|
||||||
---
|
---
|
||||||
|
|
||||||
extends: "default"
|
extends: "default"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Import jobs
|
## Import jobs
|
||||||
|
|
||||||
```yaml
|
```yaml title=".gitlab-ci.yml"
|
||||||
---
|
---
|
||||||
|
|
||||||
# gitLab ci stages
|
# gitLab ci stages
|
||||||
|
|
@ -24,7 +24,7 @@ include:
|
||||||
|
|
||||||
## Run a docker container
|
## Run a docker container
|
||||||
|
|
||||||
```yaml
|
```yaml title=".gitlab/workflows/linting.yaml"
|
||||||
---
|
---
|
||||||
|
|
||||||
# linting
|
# linting
|
||||||
|
|
@ -46,7 +46,7 @@ linting:
|
||||||
|
|
||||||
## Run a SSH command
|
## Run a SSH command
|
||||||
|
|
||||||
```yaml
|
```yaml title=".gitlab/workflows/deployment.yaml"
|
||||||
---
|
---
|
||||||
|
|
||||||
# deploy ansible code
|
# deploy ansible code
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue