Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Semantic Release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Semantic Release
Commits
eff5a0da
Commit
eff5a0da
authored
1 month ago
by
Benguria Elguezabal, Gorka
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'upstream/master'
# Conflicts: # CHANGELOG.md
parents
f43cf250
c72fe3b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#169998
passed
1 month ago
Stage: .pre
Stage: build
Stage: test
Stage: publish
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+4
-4
4 additions, 4 deletions
README.md
templates/gitlab-ci-semrel-vault.yml
+1
-1
1 addition, 1 deletion
templates/gitlab-ci-semrel-vault.yml
templates/gitlab-ci-semrel.yml
+1
-4
1 addition, 4 deletions
templates/gitlab-ci-semrel.yml
with
6 additions
and
9 deletions
README.md
+
4
−
4
View file @
eff5a0da
...
@@ -20,7 +20,7 @@ Add the following to your `.gitlab-ci.yml`:
...
@@ -20,7 +20,7 @@ Add the following to your `.gitlab-ci.yml`:
```
yaml
```
yaml
include
:
include
:
# 1: include the component
# 1: include the component
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.1
1.5
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.1
2.0
# 2: set/override component inputs
# 2: set/override component inputs
inputs
:
inputs
:
changelog-enabled
:
true
# ⚠ this is only an example
changelog-enabled
:
true
# ⚠ this is only an example
...
@@ -34,7 +34,7 @@ Add the following to your `.gitlab-ci.yml`:
...
@@ -34,7 +34,7 @@ Add the following to your `.gitlab-ci.yml`:
include
:
include
:
# 1: include the template
# 1: include the template
-
project
:
'
to-be-continuous/semantic-release'
-
project
:
'
to-be-continuous/semantic-release'
ref
:
'
3.1
1.5
'
ref
:
'
3.1
2.0
'
file
:
'
/templates/gitlab-ci-semrel.yml'
file
:
'
/templates/gitlab-ci-semrel.yml'
variables
:
variables
:
...
@@ -382,9 +382,9 @@ With:
...
@@ -382,9 +382,9 @@ With:
```
yaml
```
yaml
include
:
include
:
# main template
# main template
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.1
1.5
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel@3.1
2.0
# Vault variant
# Vault variant
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel-vault@3.1
1.5
-
component
:
$CI_SERVER_FQDN/to-be-continuous/semantic-release/gitlab-ci-semrel-vault@3.1
2.0
inputs
:
inputs
:
vault-base-url
:
"
https://vault.acme.host/v1"
vault-base-url
:
"
https://vault.acme.host/v1"
# audience claim for JWT
# audience claim for JWT
...
...
This diff is collapsed.
Click to expand it.
templates/gitlab-ci-semrel-vault.yml
+
1
−
1
View file @
eff5a0da
...
@@ -22,7 +22,7 @@ variables:
...
@@ -22,7 +22,7 @@ variables:
.semrel-base
:
.semrel-base
:
services
:
services
:
-
name
:
"
$TBC_TRACKING_IMAGE"
-
name
:
"
$TBC_TRACKING_IMAGE"
command
:
[
"
--service"
,
"
semrel"
,
"
3.1
1.5
"
]
command
:
[
"
--service"
,
"
semrel"
,
"
3.1
2.0
"
]
-
name
:
"
$TBC_VAULT_IMAGE"
-
name
:
"
$TBC_VAULT_IMAGE"
alias
:
"
vault-secrets-provider"
alias
:
"
vault-secrets-provider"
variables
:
variables
:
...
...
This diff is collapsed.
Click to expand it.
templates/gitlab-ci-semrel.yml
+
1
−
4
View file @
eff5a0da
...
@@ -117,9 +117,6 @@ workflow:
...
@@ -117,9 +117,6 @@ workflow:
-
when
:
always
-
when
:
always
variables
:
variables
:
# variabilized tracking image
TBC_TRACKING_IMAGE
:
registry.gitlab.com/to-be-continuous/tools/tracking:master
# Default Docker image (use a public image - can be overridden)
# Default Docker image (use a public image - can be overridden)
SEMREL_IMAGE
:
$[[ inputs.image ]]
SEMREL_IMAGE
:
$[[ inputs.image ]]
SEMREL_HOOKS_DIR
:
$[[ inputs.hooks-dir ]]
SEMREL_HOOKS_DIR
:
$[[ inputs.hooks-dir ]]
...
@@ -803,7 +800,7 @@ stages:
...
@@ -803,7 +800,7 @@ stages:
image
:
$SEMREL_IMAGE
image
:
$SEMREL_IMAGE
services
:
services
:
-
name
:
"
$TBC_TRACKING_IMAGE"
-
name
:
"
$TBC_TRACKING_IMAGE"
command
:
[
"
--service"
,
"
semrel"
,
"
3.1
1.5
"
]
command
:
[
"
--service"
,
"
semrel"
,
"
3.1
2.0
"
]
before_script
:
before_script
:
-
!reference
[
.semrel-scripts
]
-
!reference
[
.semrel-scripts
]
-
install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
-
install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
...
...
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