24 Commits

Author SHA1 Message Date
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
argoyle 855fdc2810 chore: update to latest Go version and golangci-lint 2023-05-18 20:08:19 +02:00
argoyle 940d8cb919 ci: use Docker DinD version from variable 2023-02-09 21:55:55 +01:00
4 changed files with 59 additions and 34 deletions
+3 -30
View File
@@ -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
+45
View File
@@ -0,0 +1,45 @@
# Changelog
All notable changes to this project will be documented in this file.
## [0.1.0] - 2024-10-05
### 🚀 Features
- Remove golangci-lint from Dockerfile
### ⚙️ Miscellaneous Tasks
- Add ruby-dev to Dockerfile
- Update golangci-lint version to v1.60.1
- Add release flow
## [0.0.4] - 2024-04-09
### ⚙️ Miscellaneous Tasks
- Add dependabot config
- Make releases handle multi-line release notes
- 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.19
FROM golang:1.23.2
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
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}