Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3883ebe5e6 | |||
|
42dc76f02f
|
|||
| d27ad44b4d | |||
| 27fff9ee8f | |||
| de064a911b | |||
| bd49e640c1 | |||
| 80085180ad | |||
| e6c8d4ee3b | |||
| 8d4394662f | |||
| d75fa23473 | |||
|
466381aa1b
|
|||
| 540b60f83c | |||
| a19fecc477 | |||
|
7c962c46c8
|
|||
|
de3056afd5
|
|||
| ac3b141d8f | |||
| e29e3e0144 | |||
| 2945f8e3d2 | |||
| b27b413015 | |||
| efc55dbb58 | |||
| 7e7b2a8bc9 | |||
|
1150e8683c
|
|||
| b1c3f75bbd | |||
| 86092b5a9c | |||
| e5a9e47ce8 | |||
| 7e5081c587 | |||
| 777ff37756 | |||
| 9c9c134476 | |||
| c00faf47a8 | |||
| df459aea63 | |||
| 06ecd8c0d6 | |||
| 855fdc2810 | |||
| 940d8cb919 |
+3
-30
@@ -1,10 +1,10 @@
|
||||
include:
|
||||
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
||||
- project: unboundsoftware/ci-templates
|
||||
file: Release.gitlab-ci.yml
|
||||
|
||||
stages:
|
||||
- build
|
||||
- prepare
|
||||
- release
|
||||
|
||||
variables:
|
||||
DOCKER_HOST: tcp://docker:2375/
|
||||
@@ -14,35 +14,8 @@ image: buildtool/build-tools:${BUILDTOOLS_VERSION}
|
||||
build:
|
||||
stage: build
|
||||
services:
|
||||
- docker:dind
|
||||
- docker:${DOCKER_DIND_VERSION}
|
||||
script:
|
||||
- unset BUILDTOOLS_CONTENT
|
||||
- build
|
||||
- push
|
||||
|
||||
prepare_release:
|
||||
image: node:18
|
||||
stage: prepare
|
||||
before_script:
|
||||
- npm install -g conventional-changelog-cli
|
||||
script:
|
||||
- echo "DESCRIPTION=$(conventional-changelog -p conventionalcommits)" > variables.env
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: variables.env
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
release:
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
stage: release
|
||||
needs:
|
||||
- job: prepare_release
|
||||
artifacts: true
|
||||
script:
|
||||
- echo "Running release_job for $TAG"
|
||||
release:
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
description: '$DESCRIPTION'
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.2.0] - 2024-11-14
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- Add git-cliff configuration for changelog generation
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(deps)* Pin golang docker tag to ad5c126
|
||||
- *(deps)* Update golang docker tag to v1.23.3
|
||||
- *(deps)* Update golang:1.23.3 docker digest to 8956c08
|
||||
- *(deps)* Update golang:1.23.3 docker digest to 3694e36
|
||||
- *(deps)* Update golang:1.23.3 docker digest to b2ca381
|
||||
- *(deps)* Update golang:1.23.3 docker digest to 2660218
|
||||
- *(deps)* Update golang:1.23.3 docker digest to c2d828f
|
||||
|
||||
## [0.1.0] - 2024-10-05
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- Remove golangci-lint from Dockerfile
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(deps)* Update golang docker tag to v1.22.3
|
||||
- Add ruby-dev to Dockerfile
|
||||
- *(deps)* Update golang docker tag to v1.22.4
|
||||
- *(deps)* Update golang docker tag to v1.22.5
|
||||
- *(deps)* Update golang docker tag to v1.22.6
|
||||
- *(deps)* Update golang docker tag to v1.23.0
|
||||
- Update golangci-lint version to v1.60.1
|
||||
- *(deps)* Update golang docker tag to v1.23.1
|
||||
- *(deps)* Update golang docker tag to v1.23.2
|
||||
- Add release flow
|
||||
|
||||
## [0.0.4] - 2024-04-09
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Add dependabot config
|
||||
- Make releases handle multi-line release notes
|
||||
- *(deps)* Bump golang from 1.20 to 1.21
|
||||
- *(deps)* Bump golang from 1.21 to 1.22
|
||||
- *(deps)* Update node.js to v20
|
||||
- Remove Dependabot config
|
||||
- Update to Go 1.22.2
|
||||
|
||||
## [0.0.3] - 2023-06-04
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update golangci-lint
|
||||
|
||||
## [0.0.2] - 2023-05-18
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- Use Docker DinD version from variable
|
||||
- Update to latest Go version and golangci-lint
|
||||
|
||||
## [0.0.1] - 2023-01-31
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- Initial commit
|
||||
|
||||
<!-- generated by git-cliff -->
|
||||
+5
-4
@@ -1,9 +1,10 @@
|
||||
FROM golang:1.19
|
||||
FROM golang:1.23.3@sha256:c2d828fd49c47ed2b9192d2dbffed83052d8a21af465056d732c3de0d756f217
|
||||
|
||||
ENV PATH=${PATH}:/root/.local/bin
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y python3 python3-pip ruby git && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
go install github.com/lietu/go-pre-commit@latest && \
|
||||
go install golang.org/x/tools/cmd/goimports@latest && \
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 && \
|
||||
pip install pre-commit
|
||||
pipx install pre-commit
|
||||
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
# git-cliff ~ default configuration file
|
||||
# https://git-cliff.org/docs/configuration
|
||||
#
|
||||
# Lines starting with "#" are comments.
|
||||
# Configuration options are organized into tables and keys.
|
||||
# See documentation for more information on available options.
|
||||
|
||||
[changelog]
|
||||
# template for the changelog header
|
||||
header = """
|
||||
# Changelog\n
|
||||
All notable changes to this project will be documented in this file.\n
|
||||
"""
|
||||
# template for the changelog body
|
||||
# https://keats.github.io/tera/docs/#introduction
|
||||
body = """
|
||||
{% if version %}\
|
||||
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
{% else %}\
|
||||
## [unreleased]
|
||||
{% endif %}\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | striptags | trim | upper_first }}
|
||||
{% for commit in commits %}
|
||||
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
|
||||
{% if commit.breaking %}[**breaking**] {% endif %}\
|
||||
{{ commit.message | upper_first }}\
|
||||
{% endfor %}
|
||||
{% endfor %}\n
|
||||
"""
|
||||
# template for the changelog footer
|
||||
footer = """
|
||||
<!-- generated by git-cliff -->
|
||||
"""
|
||||
# remove the leading and trailing s
|
||||
trim = true
|
||||
# postprocessors
|
||||
postprocessors = [
|
||||
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
|
||||
]
|
||||
# render body even when there are no releases to process
|
||||
# render_always = true
|
||||
# output file path
|
||||
# output = "test.md"
|
||||
|
||||
[git]
|
||||
# parse the commits based on https://www.conventionalcommits.org
|
||||
conventional_commits = true
|
||||
# filter out the commits that are not conventional
|
||||
filter_unconventional = true
|
||||
# process each line of a commit as an individual commit
|
||||
split_commits = false
|
||||
# regex for preprocessing the commit messages
|
||||
commit_preprocessors = [
|
||||
# Replace issue numbers
|
||||
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
|
||||
# Check spelling of the commit with https://github.com/crate-ci/typos
|
||||
# If the spelling is incorrect, it will be automatically fixed.
|
||||
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
|
||||
]
|
||||
# regex for parsing and grouping commits
|
||||
commit_parsers = [
|
||||
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
|
||||
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
|
||||
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
|
||||
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
|
||||
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
|
||||
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
|
||||
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
|
||||
{ message = "^chore\\(release\\): prepare for", skip = true },
|
||||
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
|
||||
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
|
||||
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
|
||||
]
|
||||
# filter out the commits that are not matched by commit parsers
|
||||
filter_commits = false
|
||||
# sort the tags topologically
|
||||
topo_order = false
|
||||
# sort the commits inside sections by oldest/newest order
|
||||
sort_commits = "oldest"
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user