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:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:${DOCKER_DIND_VERSION}
|
||||||
script:
|
script:
|
||||||
- unset BUILDTOOLS_CONTENT
|
- unset BUILDTOOLS_CONTENT
|
||||||
- build
|
- build
|
||||||
- push
|
- push
|
||||||
|
|
||||||
prepare_release:
|
prepare_release:
|
||||||
image: node:18
|
image: node:20
|
||||||
stage: prepare
|
stage: prepare
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g conventional-changelog-cli
|
- npm install -g conventional-changelog-cli
|
||||||
script:
|
script:
|
||||||
- echo "DESCRIPTION=$(conventional-changelog -p conventionalcommits)" > variables.env
|
- conventional-changelog -p conventionalcommits > ./release.description
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
paths:
|
||||||
dotenv: variables.env
|
- release.description
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
@@ -43,6 +43,6 @@ release:
|
|||||||
- echo "Running release_job for $TAG"
|
- echo "Running release_job for $TAG"
|
||||||
release:
|
release:
|
||||||
tag_name: '$CI_COMMIT_TAG'
|
tag_name: '$CI_COMMIT_TAG'
|
||||||
description: '$DESCRIPTION'
|
description: ./release.description
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- 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 && \
|
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/* && \
|
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.50.1 && \
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.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