Commit 31722779 authored by Thomas Boni's avatar Thomas Boni
Browse files

bump version

parent e17ec1e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,4 +4,4 @@ stages:

include:
  # Go2Scale DevSecOps
  - remote: https://gitlab.com/go2scale/jobs/raw/2020-03-05_2/jobs/documentation.gitlab-ci.yml
  - remote: https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/documentation.gitlab-ci.yml
+9 −9
Original line number Diff line number Diff line
@@ -46,10 +46,10 @@ pipeline template](#kubernetes) in `.gitlab-ci.yml`:

``` yaml
include:
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/pipelines/kubernetes.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/pipelines/kubernetes.gitlab-ci.yml'
```

Note that `2020-03-05_1` in url is the versioning `tag` in jobs repository
Note that `2020-03-05_3` in url is the versioning `tag` in jobs repository
used to set the version to use, if you want to use latest version at each run,
you can use `master` instead of this `tag`.

@@ -60,8 +60,8 @@ Jobs template usage is simillar to pipeline. Select job(s) you want to use in

``` yaml
include:
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/quality_check.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/helm.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/quality_check.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/helm.gitlab-ci.yml'
```

## Full example
@@ -82,9 +82,9 @@ variables:

include:
  # Go2Scale DevSecOps
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/pipelines/kubernetes.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/terraform.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/load.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/pipelines/kubernetes.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/terraform.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/load.gitlab-ci.yml'

unit_tests:
  image: python:3.7-alpine3.10
@@ -121,8 +121,8 @@ stages:

include:
  # Go2Scale DevSecOps
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/quality_check.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/helm.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/quality_check.gitlab-ci.yml'
  - remote: 'https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/helm.gitlab-ci.yml'

code_quality:
  QUALITY_SEVERITY_LEVEL: 'MAJOR'
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Auto-detect file in repo and run all [coala](https://coala.io) relevant linters

**Specifications**

* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/quality_check.gitlab-ci.yml
* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/quality_check.gitlab-ci.yml
* Publications:
    * Full report as artifact
    * Short report in merge request and job logs
@@ -28,7 +28,7 @@ Build HTML documentation form Markdown source and deploy it on Gitlab pages

**Specifications**

* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/documentation.gitlab-ci.yml
* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/documentation.gitlab-ci.yml
* Publications in MR: `Documentation` artifact
* Image:
    * Repository: https://hub.docker.com/r/squidfunk/mkdocs-material
@@ -53,7 +53,7 @@ Deploy on your kubernetes cluster using Helm charts.

**Specifications**

* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/jobs/helm.gitlab-ci.yml
* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/jobs/helm.gitlab-ci.yml
* Publications: *TODO*
* Image:
    * Repository: https://gitlab.com/go2scale/dockerfiles/helm
@@ -66,7 +66,7 @@ Deploy on your kubernetes cluster using Helm charts.
* Values files must be named like `<ENV>.yaml` for clear text and `secrets.<ENV>.yaml` for encrypted
* Variables:
    * `REVIEW_DISABLE`: disable review deployment
    * `S2020-03-05_1ING_DISABLE`: disable staging deployment
    * `S2020-03-05_3ING_DISABLE`: disable staging deployment
    * `PRODUCTION_DISABLE`: disable production deployment
    * `CHART_PATH`: path of helm chart to use. Default: `/charts/$CI_PROJECT_NAME`
    * `VALUES_PATH`: path of values files to use. Default: `./conf/values`
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ Build project as Docker image and deploy it on Kubernetes using Helm.

**Specifications**

* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_1/pipelines/kubernetes.gitlab-ci.yml
* File: https://gitlab.com/go2scale/jobs/raw/2020-03-05_3/pipelines/kubernetes.gitlab-ci.yml
* Integration
    * [quality check](#quality)
    * [build](#build)