Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bash
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Bash
Commits
fb1d0c17
Commit
fb1d0c17
authored
9 months ago
by
Benguria Elguezabal, Gorka
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
0701fbb6
ffc8fc67
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-17
11 additions, 17 deletions
.gitlab-ci.yml
README.md
+4
-4
4 additions, 4 deletions
README.md
with
15 additions
and
21 deletions
.gitlab-ci.yml
+
11
−
17
View file @
fb1d0c17
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"
...
...
This diff is collapsed.
Click to expand it.
README.md
+
4
−
4
View file @
fb1d0c17
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment