Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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 docs/getting-started.md +9 −9 Original line number Diff line number Diff line Loading @@ -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`. Loading @@ -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 Loading @@ -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 Loading Loading @@ -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' Loading docs/jobs.md +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading @@ -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 Loading @@ -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` Loading docs/pipelines.md +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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
docs/getting-started.md +9 −9 Original line number Diff line number Diff line Loading @@ -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`. Loading @@ -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 Loading @@ -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 Loading Loading @@ -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' Loading
docs/jobs.md +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading @@ -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 Loading @@ -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` Loading
docs/pipelines.md +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading