mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/873904194
This commit is contained in:
parent
9a051c75bd
commit
f6d05f3d99
3 changed files with 10 additions and 2 deletions
|
|
@ -8,3 +8,11 @@
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
paths:
|
paths:
|
||||||
- $CI_PROJECT_DIR/output
|
- $CI_PROJECT_DIR/output
|
||||||
|
.golang-lint:
|
||||||
|
image: registry.durp.info/golangci/golangci-lint:latest
|
||||||
|
script:
|
||||||
|
# Begin of golang-lint.sh
|
||||||
|
- |
|
||||||
|
#Build golang api
|
||||||
|
golangci-lint run ./...
|
||||||
|
# End of golang-lint.sh
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
||||||
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
|
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
|
||||||
image:
|
image:
|
||||||
name: sonarsource/sonar-scanner-cli:latest
|
name: registry.durp.info/sonarsource/sonar-scanner-cli:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
cache:
|
cache:
|
||||||
key: "${CI_JOB_NAME}"
|
key: "${CI_JOB_NAME}"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.version:
|
.version:
|
||||||
image: gittools/gitversion:5.12.0
|
image: registry.durp.info/gittools/gitversion:5.12.0
|
||||||
variables:
|
variables:
|
||||||
GIT_DEPTH: "0"
|
GIT_DEPTH: "0"
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue