Loading docs/intro.md +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ Any _to be continuous_ template may be [included](https://docs.gitlab.com/ee/ci/ ```yaml include: # <gitlab-host>/to-be-continuous/<project>/<template>@<version> - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 ``` * [`include:project`](https://docs.gitlab.com/ee/ci/yaml/#includeproject) to use it as a regular template: ```yaml Loading docs/usage.md +5 −5 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ For example (CI/CD component): ```yaml include: # Maven template with exact version '3.9.0' - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 # AWS template with minor version alias '5.2' (uses the latest available patch version) - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2 - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2 ``` Our templates are **versioned** (compliant with [Semantic Versioning](https://semver.org/)): Loading Loading @@ -54,7 +54,7 @@ Here is an example of a Maven project that: ```yaml include: # 1: include the component - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 # 2: set/override component inputs inputs: # use Maven 3.6 with JDK 8 Loading Loading @@ -550,7 +550,7 @@ That can be done by simply overriding the `go-mod-outdated` job rules as follows ```yaml include: - component: gitlab.com/to-be-continuous/golang/gitlab-ci-golang@4.8.1 - component: $CI_SERVER_FQDN/to-be-continuous/golang/gitlab-ci-golang@4.8.1 # hard disable go-mod-outdated go-mod-outdated: Loading Loading @@ -584,7 +584,7 @@ Nevertheless if you want to change the strategy to allow a test or analysis job ```yaml include: - component: gitlab.com/to-be-continuous/docker/gitlab-ci-docker@5.7.0 - component: $CI_SERVER_FQDN/to-be-continuous/docker/gitlab-ci-docker@5.7.0 # allow docker-trivy to fail docker-trivy: Loading Loading
docs/intro.md +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ Any _to be continuous_ template may be [included](https://docs.gitlab.com/ee/ci/ ```yaml include: # <gitlab-host>/to-be-continuous/<project>/<template>@<version> - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 ``` * [`include:project`](https://docs.gitlab.com/ee/ci/yaml/#includeproject) to use it as a regular template: ```yaml Loading
docs/usage.md +5 −5 Original line number Diff line number Diff line Loading @@ -20,9 +20,9 @@ For example (CI/CD component): ```yaml include: # Maven template with exact version '3.9.0' - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 # AWS template with minor version alias '5.2' (uses the latest available patch version) - component: gitlab.com/to-be-continuous/aws/gitlab-ci-aws@5.2 - component: $CI_SERVER_FQDN/to-be-continuous/aws/gitlab-ci-aws@5.2 ``` Our templates are **versioned** (compliant with [Semantic Versioning](https://semver.org/)): Loading Loading @@ -54,7 +54,7 @@ Here is an example of a Maven project that: ```yaml include: # 1: include the component - component: gitlab.com/to-be-continuous/maven/gitlab-ci-maven@3.9.0 - component: $CI_SERVER_FQDN/to-be-continuous/maven/gitlab-ci-maven@3.9.0 # 2: set/override component inputs inputs: # use Maven 3.6 with JDK 8 Loading Loading @@ -550,7 +550,7 @@ That can be done by simply overriding the `go-mod-outdated` job rules as follows ```yaml include: - component: gitlab.com/to-be-continuous/golang/gitlab-ci-golang@4.8.1 - component: $CI_SERVER_FQDN/to-be-continuous/golang/gitlab-ci-golang@4.8.1 # hard disable go-mod-outdated go-mod-outdated: Loading Loading @@ -584,7 +584,7 @@ Nevertheless if you want to change the strategy to allow a test or analysis job ```yaml include: - component: gitlab.com/to-be-continuous/docker/gitlab-ci-docker@5.7.0 - component: $CI_SERVER_FQDN/to-be-continuous/docker/gitlab-ci-docker@5.7.0 # allow docker-trivy to fail docker-trivy: Loading