Compare commits

...

20 Commits

Author SHA1 Message Date
Unbound Release 6f8de378f4 chore(release): prepare for v0.0.6 2024-11-21 10:09:19 +00:00
Renovate 9b61f39539 fix(deps): update kubernetes packages to v0.31.3 2024-11-21 08:53:17 +00:00
Renovate 34bdeb4970 chore(deps): update golang:1.23.3 docker digest to 73f06be 2024-11-14 23:54:18 +00:00
argoyle 8b0294fd9b ci: remove pre-commit stage and include Go pre-commit template
Removes the pre-commit stage from the CI pipeline to streamline 
the build process. Includes a new template for Go pre-commit 
checks to enforce code quality and maintainability standards.
2024-11-14 09:33:49 +01:00
Renovate 871ad5d3b1 chore(deps): update golang:1.23.3 docker digest to c2d828f 2024-11-13 20:56:00 +00:00
Renovate ce11a81ee6 chore(deps): update golang:1.23.3 docker digest to 2660218 2024-11-13 11:55:08 +00:00
Renovate 58c72fc8c9 chore(deps): update golang:1.23.3 docker digest to b2ca381 2024-11-13 08:54:43 +00:00
Renovate 06e9fdee4d chore(deps): update golang:1.23.3 docker digest to 3694e36 2024-11-13 05:54:26 +00:00
Renovate fd4c9b17f0 chore(deps): update unbound/pre-commit docker digest to e78425c 2024-11-12 11:54:55 +00:00
Renovate 972665a2a5 chore(deps): update golang:1.23.3 docker digest to 8956c08 2024-11-12 08:53:49 +00:00
Renovate 6932a38313 chore(deps): update pre-commit hook golangci/golangci-lint to v1.62.0 2024-11-10 20:55:40 +00:00
Renovate 2c1c9a16c7 chore(deps): update unbound/pre-commit docker digest to 596abf5 2024-11-07 11:54:34 +00:00
Renovate 35cef35196 chore(deps): update golang docker tag to v1.23.3 2024-11-07 08:53:46 +00:00
Renovate da75836def chore(deps): update dependency go to v1.23.3 2024-11-06 23:53:56 +00:00
Renovate bee63c104d fix(deps): update module github.com/alecthomas/kong to v1.4.0 2024-11-05 23:54:10 +00:00
Renovate 81c1093d42 chore(deps): pin unbound/pre-commit docker tag to 92fce44 2024-11-03 17:53:24 +00:00
Renovate 11821176c6 chore(deps): pin golang docker tag to ad5c126 2024-11-03 16:33:44 +00:00
Renovate 36d5aaa874 fix(deps): update module github.com/alecthomas/kong to v1.3.0 2024-11-01 02:55:40 +00:00
Unbound Release 5333a8eb05 chore(release): prepare for v0.0.5 2024-10-24 05:35:59 +00:00
Renovate 331cda981a fix(deps): update kubernetes packages to v0.31.2 2024-10-23 16:53:04 +00:00
6 changed files with 59 additions and 53 deletions
+2 -14
View File
@@ -2,6 +2,8 @@ include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: unboundsoftware/ci-templates - project: unboundsoftware/ci-templates
file: Release.gitlab-ci.yml file: Release.gitlab-ci.yml
- project: unboundsoftware/ci-templates
file: Pre-Commit-Go.gitlab-ci.yml
stages: stages:
- build - build
@@ -11,20 +13,6 @@ variables:
image: buildtool/build-tools:${BUILDTOOLS_VERSION} image: buildtool/build-tools:${BUILDTOOLS_VERSION}
run-pre-commit:
stage: .pre
image: unbound/pre-commit
variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
cache:
- key:
files:
- .pre-commit-config.yaml
paths:
- ${PRE_COMMIT_HOME}
script:
- pre-commit run --all-files
build: build:
stage: build stage: build
services: services:
+1 -1
View File
@@ -36,6 +36,6 @@ repos:
- id: go-vet - id: go-vet
- id: gofumpt - id: gofumpt
- repo: https://github.com/golangci/golangci-lint - repo: https://github.com/golangci/golangci-lint
rev: v1.61.0 rev: v1.62.0
hooks: hooks:
- id: golangci-lint - id: golangci-lint
+40 -22
View File
@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.0.6] - 2024-11-21
### 🐛 Bug Fixes
- *(deps)* Update module github.com/alecthomas/kong to v1.3.0
- *(deps)* Update module github.com/alecthomas/kong to v1.4.0
- *(deps)* Update kubernetes packages to v0.31.3
### ⚙️ Miscellaneous Tasks
- Remove pre-commit stage and include Go pre-commit template
## [0.0.5] - 2024-10-24
### 🐛 Bug Fixes
- *(deps)* Update kubernetes packages to v0.31.2
## [0.0.4] - 2024-10-06 ## [0.0.4] - 2024-10-06
### 🐛 Bug Fixes ### 🐛 Bug Fixes
@@ -21,27 +39,7 @@ All notable changes to this project will be documented in this file.
- *(deps)* Update module github.com/alecthomas/kong to v1.2.1 - *(deps)* Update module github.com/alecthomas/kong to v1.2.1
- *(deps)* Update kubernetes packages to v0.31.1 - *(deps)* Update kubernetes packages to v0.31.1
### ⚙️ Miscellaneous Tasks ### 💼 Other
- Remove some duplication and add a first few tests
- Add pre-commit config
- Add checking of pre-commit rules
- Add tests for handler
- Use Docker DinD version from variable
- Switch to manual rebases for Dependabot
- Update to Go 1.20.3 and golangci-lint 1.52.2
- Update pre-commit and fix golangci-lint
- Update golangci-lint
- Use pre-commit image
- Change repo for markdownlint and update golangci-lint
- Remove Dependabot config
- Add release flow
### 🛡️ Security
- *(deps)* [security] bump golang.org/x/net from 0.13.0 to 0.17.0
### Build
- *(deps)* Bump github.com/stretchr/testify from 1.7.2 to 1.8.0 - *(deps)* Bump github.com/stretchr/testify from 1.7.2 to 1.8.0
- *(deps)* Bump golang from 1.19.1 to 1.19.2 - *(deps)* Bump golang from 1.19.1 to 1.19.2
@@ -93,13 +91,33 @@ All notable changes to this project will be documented in this file.
- *(deps)* Bump golang from 1.21.6 to 1.22.0 - *(deps)* Bump golang from 1.21.6 to 1.22.0
- *(deps)* Bump k8s.io/client-go from 0.29.1 to 0.29.2 - *(deps)* Bump k8s.io/client-go from 0.29.1 to 0.29.2
### ⚙️ Miscellaneous Tasks
- Remove some duplication and add a first few tests
- Add pre-commit config
- Add checking of pre-commit rules
- Add tests for handler
- Use Docker DinD version from variable
- Switch to manual rebases for Dependabot
- Update to Go 1.20.3 and golangci-lint 1.52.2
- Update pre-commit and fix golangci-lint
- Update golangci-lint
- Use pre-commit image
- Change repo for markdownlint and update golangci-lint
- Remove Dependabot config
- Add release flow
### 🛡️ Security
- *(deps)* [security] bump golang.org/x/net from 0.13.0 to 0.17.0
## [0.0.3] - 2022-09-27 ## [0.0.3] - 2022-09-27
### 🚀 Features ### 🚀 Features
- Add all existing tags to exclusion filter - Add all existing tags to exclusion filter
### Build ### 💼 Other
- *(deps)* Bump k8s.io/client-go from 0.25.0 to 0.25.1 - *(deps)* Bump k8s.io/client-go from 0.25.0 to 0.25.1
- *(deps)* Bump k8s.io/client-go from 0.25.1 to 0.25.2 - *(deps)* Bump k8s.io/client-go from 0.25.1 to 0.25.2
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.23.2 as build FROM golang:1.23.3@sha256:73f06be4578c9987ce560087e2e2ea6485fb605e3910542cadd8fa09fc5f3e31 as build
WORKDIR /build WORKDIR /build
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
ADD . /build ADD . /build
+5 -5
View File
@@ -2,16 +2,16 @@ module gitlab.com/unboundsoftware/gitlab-cleanup-handler
go 1.22.0 go 1.22.0
toolchain go1.23.2 toolchain go1.23.3
require ( require (
github.com/alecthomas/kong v1.2.1 github.com/alecthomas/kong v1.4.0
github.com/apex/log v1.9.0 github.com/apex/log v1.9.0
github.com/stretchr/testify v1.9.0 github.com/stretchr/testify v1.9.0
gitlab.com/unboundsoftware/apex-mocks v0.2.0 gitlab.com/unboundsoftware/apex-mocks v0.2.0
k8s.io/api v0.31.1 k8s.io/api v0.31.3
k8s.io/apimachinery v0.31.1 k8s.io/apimachinery v0.31.3
k8s.io/client-go v0.31.1 k8s.io/client-go v0.31.3
) )
require ( require (
+10 -10
View File
@@ -1,7 +1,7 @@
github.com/alecthomas/assert/v2 v2.10.0 h1:jjRCHsj6hBJhkmhznrCzoNpbA3zqy0fYiUcYZP/GkPY= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
github.com/alecthomas/assert/v2 v2.10.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
github.com/alecthomas/kong v1.2.1 h1:E8jH4Tsgv6wCRX2nGrdPyHDUCSG83WH2qE4XLACD33Q= github.com/alecthomas/kong v1.4.0 h1:UL7tzGMnnY0YRMMvJyITIRX1EpO6RbBRZDNcCevy3HA=
github.com/alecthomas/kong v1.2.1/go.mod h1:rKTSFhbdp3Ryefn8x5MOEprnRFQ7nlmMC01GKhehhBM= github.com/alecthomas/kong v1.4.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/apex/log v1.9.0 h1:FHtw/xuaM8AgmvDDTI9fiwoAL25Sq2cxojnZICUU8l0= github.com/apex/log v1.9.0 h1:FHtw/xuaM8AgmvDDTI9fiwoAL25Sq2cxojnZICUU8l0=
@@ -199,12 +199,12 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.31.1 h1:Xe1hX/fPW3PXYYv8BlozYqw63ytA92snr96zMW9gWTU= k8s.io/api v0.31.3 h1:umzm5o8lFbdN/hIXbrK9oRpOproJO62CV1zqxXrLgk8=
k8s.io/api v0.31.1/go.mod h1:sbN1g6eY6XVLeqNsZGLnI5FwVseTrZX7Fv3O26rhAaI= k8s.io/api v0.31.3/go.mod h1:UJrkIp9pnMOI9K2nlL6vwpxRzzEX5sWgn8kGQe92kCE=
k8s.io/apimachinery v0.31.1 h1:mhcUBbj7KUjaVhyXILglcVjuS4nYXiwC+KKFBgIVy7U= k8s.io/apimachinery v0.31.3 h1:6l0WhcYgasZ/wk9ktLq5vLaoXJJr5ts6lkaQzgeYPq4=
k8s.io/apimachinery v0.31.1/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= k8s.io/apimachinery v0.31.3/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo=
k8s.io/client-go v0.31.1 h1:f0ugtWSbWpxHR7sjVpQwuvw9a3ZKLXX0u0itkFXufb0= k8s.io/client-go v0.31.3 h1:CAlZuM+PH2cm+86LOBemaJI/lQ5linJ6UFxKX/SoG+4=
k8s.io/client-go v0.31.1/go.mod h1:sKI8871MJN2OyeqRlmA4W4KM9KBdBUpDLu/43eGemCg= k8s.io/client-go v0.31.3/go.mod h1:2CgjPUTpv3fE5dNygAr2NcM8nhHzXvxB8KL5gYc3kJs=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag= k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=