Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1150e8683c
|
|||
| b1c3f75bbd | |||
| 86092b5a9c | |||
| e5a9e47ce8 | |||
| 7e5081c587 | |||
| 777ff37756 | |||
| 9c9c134476 | |||
| c00faf47a8 | |||
| df459aea63 | |||
| 06ecd8c0d6 | |||
| 855fdc2810 | |||
| 940d8cb919 |
+6
-6
@@ -14,22 +14,22 @@ 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
|
||||
image: node:20
|
||||
stage: prepare
|
||||
before_script:
|
||||
- npm install -g conventional-changelog-cli
|
||||
script:
|
||||
- echo "DESCRIPTION=$(conventional-changelog -p conventionalcommits)" > variables.env
|
||||
- conventional-changelog -p conventionalcommits > ./release.description
|
||||
artifacts:
|
||||
reports:
|
||||
dotenv: variables.env
|
||||
paths:
|
||||
- release.description
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
@@ -43,6 +43,6 @@ release:
|
||||
- echo "Running release_job for $TAG"
|
||||
release:
|
||||
tag_name: '$CI_COMMIT_TAG'
|
||||
description: '$DESCRIPTION'
|
||||
description: ./release.description
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
+6
-4
@@ -1,9 +1,11 @@
|
||||
FROM golang:1.19
|
||||
FROM golang:1.22.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 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
|
||||
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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user