49 Commits

Author SHA1 Message Date
Unbound Release c6538f277c chore(release): prepare for v0.2.2 2025-01-17 12:25:57 +00:00
Renovate c74c31c0e1 chore(deps): update golang docker tag to v1.23.5 2025-01-17 00:55:30 +00:00
Renovate f18ffcf346 chore(deps): update golang:1.23.4 docker digest to 9820aca 2025-01-15 23:11:09 +00:00
Renovate 507e33ff72 chore(deps): update golang:1.23.4 docker digest to 5305905 2025-01-15 18:54:44 +00:00
Renovate 25d7dfe279 chore(deps): update golang:1.23.4 docker digest to 585103a 2025-01-15 00:56:10 +00:00
Renovate dbd75523f3 chore(deps): update golang:1.23.4 docker digest to 08e1417 2025-01-14 12:55:39 +00:00
Renovate e03fdc49a9 chore(deps): update golang:1.23.4 docker digest to 3b1a7de 2025-01-14 07:12:59 +00:00
Unbound Release cebdb8d69e chore(release): prepare for v0.2.1 2024-12-28 17:49:27 +00:00
Renovate 6f883a910a chore(deps): update golang:1.23.4 docker digest to 7ea4c9d 2024-12-26 03:55:46 +00:00
Renovate d9a0c741f9 chore(deps): update golang:1.23.4 docker digest to 7003184 2024-12-12 02:55:51 +00:00
argoyle 9c39290793 ci: remove unused docker configurations from pipeline
Removes unnecessary Docker service and variable configurations from 
the CI pipeline to streamline the build process and reduce complexity.  
This enhances clarity and avoids potential misconfigurations.
2024-12-04 17:51:11 +01:00
Renovate 3f9f58a773 chore(deps): update golang:1.23.4 docker digest to 574185e 2024-12-04 11:56:19 +00:00
Renovate a42eb5b577 chore(deps): update golang docker tag to v1.23.4 2024-12-04 05:54:46 +00:00
Renovate c40b6c919b chore(deps): update golang:1.23.3 docker digest to 017ec6b 2024-12-03 20:56:51 +00:00
Renovate b20d4a8212 chore(deps): update golang:1.23.3 docker digest to 2b01164 2024-12-03 14:56:06 +00:00
Renovate 42d05f16ad chore(deps): update golang:1.23.3 docker digest to b4aabba 2024-12-03 11:54:12 +00:00
Renovate 49d563d9fe chore(deps): update golang:1.23.3 docker digest to ee5f0ad 2024-12-03 08:54:23 +00:00
Renovate b5374135c3 chore(deps): update golang:1.23.3 docker digest to 73f06be 2024-11-14 23:53:42 +00:00
Unbound Release 3883ebe5e6 chore(release): prepare for v0.2.0 2024-11-14 08:03:20 +00:00
argoyle 42dc76f02f feat: add git-cliff configuration for changelog generation
Add a default configuration file for git-cliff to ensure 
consistent changelog generation. This configuration enables 
the use of conventional commits, filters out non-conventional 
commits, and organizes commit messages into defined groups. 
It also provides templates for the changelog header, body, 
and footer, facilitating improved documentation for notable 
changes in the project.
2024-11-14 09:00:40 +01:00
Renovate d27ad44b4d chore(deps): update golang:1.23.3 docker digest to c2d828f 2024-11-13 20:54:53 +00:00
Renovate 27fff9ee8f chore(deps): update golang:1.23.3 docker digest to 2660218 2024-11-13 11:54:07 +00:00
Renovate de064a911b chore(deps): update golang:1.23.3 docker digest to b2ca381 2024-11-13 08:54:05 +00:00
Renovate bd49e640c1 chore(deps): update golang:1.23.3 docker digest to 3694e36 2024-11-13 05:53:51 +00:00
Renovate 80085180ad chore(deps): update golang:1.23.3 docker digest to 8956c08 2024-11-12 08:53:09 +00:00
Renovate e6c8d4ee3b chore(deps): update golang docker tag to v1.23.3 2024-11-07 08:53:07 +00:00
Renovate 8d4394662f chore(deps): pin golang docker tag to ad5c126 2024-11-03 16:33:08 +00:00
Unbound Release d75fa23473 chore(release): prepare for v0.1.0 2024-10-05 19:15:25 +00:00
argoyle 466381aa1b ci: add release flow 2024-10-05 21:13:05 +02:00
Renovate 540b60f83c chore(deps): update golang docker tag to v1.23.2 2024-10-02 01:54:17 +00:00
Renovate a19fecc477 chore(deps): update golang docker tag to v1.23.1 2024-09-06 01:54:07 +00:00
argoyle 7c962c46c8 feat: remove golangci-lint from Dockerfile 2024-08-29 09:02:04 +02:00
argoyle de3056afd5 chore: update golangci-lint version to v1.60.1 2024-08-19 16:26:12 +02:00
Renovate ac3b141d8f chore(deps): update golang docker tag to v1.23.0 2024-08-13 22:53:32 +00:00
Renovate e29e3e0144 chore(deps): update golang docker tag to v1.22.6 2024-08-07 01:53:51 +00:00
Renovate 2945f8e3d2 chore(deps): update golang docker tag to v1.22.5 2024-07-03 01:52:45 +00:00
Renovate b27b413015 chore(deps): update golang docker tag to v1.22.4 2024-06-04 22:53:15 +00:00
argoyle efc55dbb58 ci: add ruby-dev to Dockerfile
Install ruby-dev package to allow native extension compilation in the container.
2024-05-20 06:55:27 +02:00
Renovate 7e7b2a8bc9 chore(deps): update golang docker tag to v1.22.3 2024-05-07 19:52:33 +00:00
argoyle 1150e8683c ci: update to Go 1.22.2 2024-04-09 20:40:12 +02:00
argoyle b1c3f75bbd ci: remove Dependabot config 2024-02-24 01:14:15 +01:00
Renovate 86092b5a9c chore(deps): update node.js to v20 2024-02-23 17:21:31 +00:00
Renovate e5a9e47ce8 Add renovate.json 2024-02-23 16:52:19 +00:00
argoyle 7e5081c587 chore(deps): bump golang from 1.21 to 1.22
Bumps golang from 1.21 to 1.22.
2024-02-08 00:50:26 +00:00
argoyle 777ff37756 chore(deps): bump golang from 1.20 to 1.21 2023-08-09 08:54:25 +00:00
argoyle 9c9c134476 ci: make releases handle multi-line release notes 2023-06-08 16:11:20 +02:00
argoyle c00faf47a8 ci: add dependabot config 2023-06-08 13:33:46 +02:00
argoyle df459aea63 Merge branch 'golangci-lint' into 'main'
ci: update golangci-lint

See merge request unboundsoftware/pre-commit!1
2023-06-04 14:51:09 +00:00
argoyle 06ecd8c0d6 ci: update golangci-lint 2023-06-04 16:49:03 +02:00
5 changed files with 190 additions and 38 deletions
+2 -34
View File
@@ -1,48 +1,16 @@
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/
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
stage: build
services:
- 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
+97
View File
@@ -0,0 +1,97 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.2.2] - 2025-01-17
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang:1.23.4 docker digest to 3b1a7de
- *(deps)* Update golang:1.23.4 docker digest to 08e1417
- *(deps)* Update golang:1.23.4 docker digest to 585103a
- *(deps)* Update golang:1.23.4 docker digest to 5305905
- *(deps)* Update golang:1.23.4 docker digest to 9820aca
- *(deps)* Update golang docker tag to v1.23.5
## [0.2.1] - 2024-12-28
### ⚙️ Miscellaneous Tasks
- *(deps)* Update golang:1.23.3 docker digest to 73f06be
- *(deps)* Update golang:1.23.3 docker digest to ee5f0ad
- *(deps)* Update golang:1.23.3 docker digest to b4aabba
- *(deps)* Update golang:1.23.3 docker digest to 2b01164
- *(deps)* Update golang:1.23.3 docker digest to 017ec6b
- *(deps)* Update golang docker tag to v1.23.4
- *(deps)* Update golang:1.23.4 docker digest to 574185e
- Remove unused docker configurations from pipeline
- *(deps)* Update golang:1.23.4 docker digest to 7003184
- *(deps)* Update golang:1.23.4 docker digest to 7ea4c9d
## [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
View File
@@ -1,9 +1,10 @@
FROM golang:1.20
FROM golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37
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.52.2 && \
pip install pre-commit
pipx install pre-commit
+80
View File
@@ -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"
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}