43 Commits

Author SHA1 Message Date
Unbound Release df88b2c3d2 chore(release): prepare for v0.0.11 2024-11-14 08:06:28 +00:00
argoyle 109884f4b5 chore: add default configuration for git-cliff
Adds a default configuration file for git-cliff to manage the 
changelog generation process. This configuration includes templates 
for the changelog header, body, and footer, as well as settings for 
parsing commits following the conventional commits specification. 
The change aims to streamline the process of documenting notable 
changes in the project, improving maintainability and consistency.
2024-11-14 09:04:09 +01:00
Renovate 30c4a61730 chore(deps): update node.js to 5c76d05 2024-11-13 23:52:59 +00:00
Renovate b293b1ac17 chore(deps): update node.js to 6eb1af3 2024-11-13 14:53:33 +00:00
Renovate f490b695be chore(deps): update node.js to f1f8564 2024-11-13 11:53:08 +00:00
Renovate 801b557de9 chore(deps): update node.js to db556c2 2024-11-13 05:53:17 +00:00
Renovate 8667d3e03c chore(deps): update node.js to f496dba 2024-11-12 08:52:35 +00:00
Renovate 4c387451f3 chore(deps): pin node.js to de4c8be 2024-11-03 16:32:32 +00:00
Renovate 34ab02e27b chore(deps): update node.js to v22.11.0 2024-10-30 02:53:14 +00:00
Renovate 61e4c7cf79 chore(deps): update node.js to v22.10.0 2024-10-17 22:52:50 +00:00
Unbound Release 81dd124151 chore(release): prepare for v0.0.10 2024-10-05 19:17:57 +00:00
argoyle 62c2c5e1d6 ci: add release flow 2024-10-05 21:14:17 +02:00
argoyle a1cc6fdfbb ci: update prepare_release to use git-cliff for CHANGELOG generation 2024-09-22 09:20:22 +02:00
Renovate 9c5ca3c78b chore(deps): update node.js to v22.9.0 2024-09-18 01:53:20 +00:00
Renovate 5d451d76a3 chore(deps): update node.js to v22.8.0 2024-09-03 22:52:57 +00:00
Renovate 6cfecc7149 chore(deps): update node.js to v22.7.0 2024-08-22 22:53:08 +00:00
Renovate b685e433c0 chore(deps): update node docker tag to v22.6.0 2024-08-06 22:51:54 +00:00
Renovate 841d4ecd1e chore(deps): update node.js to v22.5.1 2024-07-19 19:52:58 +00:00
Renovate e6d2f63fe7 chore(deps): update node.js to v22.5.0 2024-07-18 16:51:54 +00:00
Renovate e50b9ef1ed chore(deps): update node.js to v22.4.1 2024-07-09 16:51:56 +00:00
Renovate 0de279a8f1 chore(deps): update node.js to v22.4.0 2024-07-02 22:51:39 +00:00
Renovate 81577546c0 chore(deps): update node.js to v22.3.0 2024-06-12 01:52:58 +00:00
Renovate dac150019e chore(deps): update node.js to v22.2.0 2024-05-20 05:18:28 +00:00
argoyle 5175004d52 Merge branch 'update-ruby-dev-to-dockerfile' into 'main'
ci: add ruby-dev to Dockerfile for pre-commit installation.

See merge request unboundsoftware/pre-commit-node!10
2024-05-20 05:16:04 +00:00
argoyle 10839be374 ci: add ruby-dev to Dockerfile for pre-commit installation. 2024-05-20 07:13:23 +02:00
argoyle 9d66aaa796 Merge branch 'renovate/node-22.x' into 'main'
chore(deps): update node.js to v22.1.0

See merge request unboundsoftware/pre-commit-node!8
2024-05-03 05:01:13 +00:00
Renovate 11e1f81c87 chore(deps): update node.js to v22.1.0 2024-05-02 19:52:35 +00:00
argoyle 9688c766a4 Merge branch 'node-22' into 'main'
ci: update to Node 22

See merge request unboundsoftware/pre-commit-node!7
2024-05-02 14:25:19 +00:00
argoyle 7a103b4ed6 ci: update to Node 22 2024-05-02 16:23:40 +02:00
argoyle d776cd8756 Merge branch 'renovate/node-20.x' into 'main'
chore(deps): update node.js to v20.12.2

See merge request unboundsoftware/pre-commit-node!6
2024-04-12 11:38:56 +00:00
Renovate 19e78110ef chore(deps): update node.js to v20.12.2 2024-04-11 13:52:36 +00:00
argoyle c8e4579ac6 fix: add pipx bin-dir to PATH 2024-04-08 08:09:40 +02:00
argoyle 86c8c7659a Merge branch 'renovate/node-20.x' into 'main'
chore(deps): update node.js to v20.12.1

See merge request unboundsoftware/pre-commit-node!5
2024-04-07 16:43:54 +00:00
Renovate e9dc641b68 chore(deps): update node.js to v20.12.1 2024-04-06 16:53:21 +00:00
argoyle caed076db6 ci: update to node 20.9.0 2024-04-06 16:48:11 +02:00
argoyle 8d5df03ad5 ci: remove Dependabot config 2024-02-26 09:17:45 +01:00
argoyle 90eba865cf Merge branch 'renovate/node-20.x' into 'main'
chore(deps): update node.js to v20

See merge request unboundsoftware/pre-commit-node!4
2024-02-24 11:45:16 +00:00
Renovate c75e88a6f3 chore(deps): update node.js to v20 2024-02-24 00:51:22 +00:00
argoyle 9fb6ded315 Merge branch 'renovate/configure' into 'main'
chore: Configure Renovate

See merge request unboundsoftware/pre-commit-node!3
2024-02-24 00:31:48 +00:00
Renovate 28b10a5452 Add renovate.json 2024-02-24 01:26:48 +01:00
argoyle 342e639b24 fix: install pre-commit with pipx 2024-02-24 01:26:40 +01:00
argoyle 712375c502 build(deps): bump node from 18 to 20
Bumps node from 18 to 20.
2023-06-08 16:04:56 +02:00
argoyle 88bfb3caeb ci: add dependabot config 2023-06-08 13:31:56 +02:00
5 changed files with 198 additions and 32 deletions
+2 -29
View File
@@ -1,10 +1,10 @@
include: include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates
file: Release.gitlab-ci.yml
stages: stages:
- build - build
- prepare
- release
variables: variables:
DOCKER_HOST: tcp://docker:2375/ DOCKER_HOST: tcp://docker:2375/
@@ -19,30 +19,3 @@ build:
- unset BUILDTOOLS_CONTENT - unset BUILDTOOLS_CONTENT
- build - build
- push - 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
+105
View File
@@ -0,0 +1,105 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.0.11] - 2024-11-14
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v22.10.0
- *(deps)* Update node.js to v22.11.0
- *(deps)* Pin node.js to de4c8be
- *(deps)* Update node.js to f496dba
- *(deps)* Update node.js to db556c2
- *(deps)* Update node.js to f1f8564
- *(deps)* Update node.js to 6eb1af3
- *(deps)* Update node.js to 5c76d05
- Add default configuration for git-cliff
## [0.0.10] - 2024-10-05
### ⚙️ Miscellaneous Tasks
- Add release flow
## [0.0.9] - 2024-09-22
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v22.3.0
- *(deps)* Update node.js to v22.4.0
- *(deps)* Update node.js to v22.4.1
- *(deps)* Update node.js to v22.5.0
- *(deps)* Update node.js to v22.5.1
- *(deps)* Update node docker tag to v22.6.0
- *(deps)* Update node.js to v22.7.0
- *(deps)* Update node.js to v22.8.0
- *(deps)* Update node.js to v22.9.0
- Update prepare_release to use git-cliff for CHANGELOG generation
## [0.0.8] - 2024-05-20
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v22.1.0
- Add ruby-dev to Dockerfile for pre-commit installation.
- *(deps)* Update node.js to v22.2.0
## [0.0.7] - 2024-05-02
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v20.12.2
- Update to Node 22
## [0.0.6] - 2024-04-08
### 🐛 Bug Fixes
- Add pipx bin-dir to PATH
## [0.0.5] - 2024-04-07
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v20.12.1
## [0.0.4] - 2024-04-06
### 🐛 Bug Fixes
- Install pre-commit with pipx
### ⚙️ Miscellaneous Tasks
- *(deps)* Update node.js to v20
- Remove Dependabot config
- Update to node 20.9.0
## [0.0.3] - 2023-06-08
### ⚙️ Miscellaneous Tasks
- Add dependabot config
### Build
- *(deps)* Bump node from 18 to 20
## [0.0.2] - 2023-02-22
### 🚀 Features
- Upgrade to Node 18
### ⚙️ Miscellaneous Tasks
- Use Docker DinD version from variable
## [0.0.1] - 2023-01-31
### 🚀 Features
- Initial version
<!-- generated by git-cliff -->
+5 -3
View File
@@ -1,6 +1,8 @@
FROM node:18 FROM node:22.11.0@sha256:5c76d05034644fa8ecc9c2aa84e0a83cd981d0ef13af5455b87b9adf5b216561
ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \ 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/* && \ rm -rf /var/lib/apt/lists/* && \
pip3 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"
]
}