Compare commits

...
12 Commits
3 changed files with 49 additions and 32 deletions

No files matched your search

+2 -29
View File
@@ -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
+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 -->
+2 -3
View File
@@ -1,11 +1,10 @@
FROM golang:1.22.2 FROM golang:1.23.2
ENV PATH=${PATH}:/root/.local/bin 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/* && \
go install github.com/lietu/go-pre-commit@latest && \ go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@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.53.2 && \
pipx install pre-commit pipx install pre-commit