Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d75fa23473 | |||
|
466381aa1b
|
|||
| 540b60f83c | |||
| a19fecc477 | |||
|
7c962c46c8
|
|||
|
de3056afd5
|
|||
| ac3b141d8f | |||
| e29e3e0144 | |||
| 2945f8e3d2 | |||
| b27b413015 | |||
| efc55dbb58 | |||
| 7e7b2a8bc9 | |||
|
1150e8683c
|
|||
| b1c3f75bbd | |||
| 86092b5a9c | |||
| e5a9e47ce8 | |||
| 7e5081c587 | |||
| 777ff37756 | |||
| 9c9c134476 | |||
| c00faf47a8 | |||
| df459aea63 | |||
| 06ecd8c0d6 |
+2
-29
@@ -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/
|
||||
@@ -19,30 +19,3 @@ build:
|
||||
- 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
|
||||
|
||||
@@ -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
@@ -1,9 +1,10 @@
|
||||
FROM golang:1.20
|
||||
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.52.2 && \
|
||||
pip install pre-commit
|
||||
pipx install pre-commit
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user