Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| df88b2c3d2 | |||
|
109884f4b5
|
|||
| 30c4a61730 | |||
| b293b1ac17 | |||
| f490b695be | |||
| 801b557de9 | |||
| 8667d3e03c | |||
| 4c387451f3 | |||
| 34ab02e27b | |||
| 61e4c7cf79 | |||
| 81dd124151 | |||
|
62c2c5e1d6
|
|||
|
a1cc6fdfbb
|
|||
| 9c5ca3c78b | |||
| 5d451d76a3 | |||
| 6cfecc7149 | |||
| b685e433c0 | |||
| 841d4ecd1e | |||
| e6d2f63fe7 | |||
| e50b9ef1ed | |||
| 0de279a8f1 | |||
| 81577546c0 | |||
| dac150019e | |||
| 5175004d52 | |||
| 10839be374 | |||
| 9d66aaa796 | |||
| 11e1f81c87 | |||
| 9688c766a4 | |||
|
7a103b4ed6
|
|||
| d776cd8756 | |||
| 19e78110ef | |||
|
c8e4579ac6
|
+2
-29
@@ -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:20
|
|
||||||
stage: prepare
|
|
||||||
before_script:
|
|
||||||
- npm install -g conventional-changelog-cli
|
|
||||||
script:
|
|
||||||
- conventional-changelog -p conventionalcommits > ./release.description
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- release.description
|
|
||||||
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: ./release.description
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
|
|||||||
+105
@@ -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 -->
|
||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
FROM node:20.12.1
|
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 pipx && \
|
apt install -y python3 python3-pip ruby ruby-dev git pipx && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
pipx 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"
|
||||||
Reference in New Issue
Block a user