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