Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f8de378f4 | |||
| 9b61f39539 | |||
| 34bdeb4970 | |||
|
8b0294fd9b
|
|||
| 871ad5d3b1 | |||
| ce11a81ee6 | |||
| 58c72fc8c9 | |||
| 06e9fdee4d | |||
| fd4c9b17f0 | |||
| 972665a2a5 | |||
| 6932a38313 | |||
| 2c1c9a16c7 | |||
| 35cef35196 | |||
| da75836def | |||
| bee63c104d | |||
| 81c1093d42 | |||
| 11821176c6 | |||
| 36d5aaa874 | |||
| 5333a8eb05 | |||
| 331cda981a |
+2
-14
@@ -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:
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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
|
||||||
|
|||||||
@@ -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 (
|
||||||
|
|||||||
@@ -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=
|
||||||
|
|||||||
Reference in New Issue
Block a user