Skip to content
Snippets Groups Projects
Commit fb1d0c17 authored by Benguria Elguezabal, Gorka's avatar Benguria Elguezabal, Gorka
Browse files

Merge remote-tracking branch 'upstream/master'

parents 0701fbb6 ffc8fc67
No related branches found
No related tags found
No related merge requests found
include:
- project: 'to-be-continuous/tools/gitlab-ci'
ref: 'master'
file: '/templates/extract.yml'
- project: 'to-be-continuous/tools/gitlab-ci'
ref: 'master'
file: '/templates/validation.yml'
- project: 'to-be-continuous/kicker'
ref: 'master'
file: '/templates/validation.yml'
- local: 'templates/gitlab-ci-bash.yml'
- project: 'to-be-continuous/semantic-release'
ref: '3.11'
file: '/templates/gitlab-ci-semrel.yml'
stages:
- build
- publish
- project: "to-be-continuous/tools/gitlab-ci"
ref: "master"
file: "/templates/extract.yml"
- project: "to-be-continuous/tools/gitlab-ci"
ref: "master"
file: "/templates/validation.yml"
- project: "to-be-continuous/kicker"
ref: "master"
file: "/templates/validation.yml"
- local: "templates/gitlab-ci-bash.yml"
- component: $CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.11
variables:
GITLAB_CI_FILES: "templates/gitlab-ci-bash.yml"
......
......@@ -4,17 +4,17 @@ This project implements a GitLab CI/CD template to test and analyse your shell c
## Usage
This template can be used both as a [CI/CD component](https://docs.gitlab.com/ee/ci/components/#use-a-component-in-a-cicd-configuration)
This template can be used both as a [CI/CD component](https://docs.gitlab.com/ee/ci/components/#use-a-component)
or using the legacy [`include:project`](https://docs.gitlab.com/ee/ci/yaml/index.html#includeproject) syntax.
### Use as a CI/CD component
Add the following to your `gitlab-ci.yml`:
Add the following to your `.gitlab-ci.yml`:
```yaml
include:
# 1: include the component
- component: gitlab.com/to-be-continuous/bash/gitlab-ci-bash@3.4.1
- component: $CI_SERVER_FQDN/to-be-continuous/bash/gitlab-ci-bash@3.4.1
# 2: set/override component inputs
inputs:
bats-enabled: true # ⚠ this is only an example
......@@ -22,7 +22,7 @@ include:
### Use as a CI/CD template (legacy)
Add the following to your `gitlab-ci.yml`:
Add the following to your `.gitlab-ci.yml`:
```yaml
include:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment