Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hetzner-dynamic-firewall
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sheogorath
hetzner-dynamic-firewall
Commits
42086fcd
Verified
Commit
42086fcd
authored
3 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
feat(ci): Add semantic-releases to CI tooling
parent
b5ed345d
No related branches found
No related tags found
No related merge requests found
Pipeline
#10356
passed
3 years ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
.semrelrc
+19
-0
19 additions, 0 deletions
.semrelrc
with
31 additions
and
0 deletions
.gitlab-ci.yml
+
12
−
0
View file @
42086fcd
...
...
@@ -18,6 +18,7 @@ stages:
-
test
-
build
-
deploy
-
release
format
:
stage
:
test
...
...
@@ -41,3 +42,14 @@ upload:
-
'
curl
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
--upload-file
"${CI_PROJECT_DIR}/hcloud-dynfw"
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/hcloud-dynfw/$CI_COMMIT_TAG/hcloud-dynfw"'
rules
:
-
if
:
$CI_COMMIT_TAG
release
:
image
:
name
:
ghcr.io/go-semantic-release/semantic-release:2.15.0
entrypoint
:
[
"
"
]
stage
:
release
only
:
-
feature/semrel
script
:
# Set GITLAB_TOKEN in variables section with API access for the project
-
semantic-release
This diff is collapsed.
Click to expand it.
.semrelrc
0 → 100644
+
19
−
0
View file @
42086fcd
{
"plugins": {
"commit-analyzer": {
"name": "default@^1.0.0"
},
"ci-condition": {
"name": "default"
},
"changelog-generator": {
"name": "default",
"options": {
"emojis": "true"
}
},
"provider": {
"name": "gitlab"
}
}
}
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