ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1222159433
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.docker-build-container:
|
||||
image: registry.durp.info/docker:20.10.17
|
||||
image: registry.internal.durp.info/docker:20.10.17
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
@@ -22,7 +22,7 @@
|
||||
docker push "$CI_REGISTRY/$CI_PROJECT_PATH:$VERSION"
|
||||
# End of docker-build.sh
|
||||
.docker_build:
|
||||
image: registry.durp.info/docker:20.10.17
|
||||
image: registry.internal.durp.info/docker:20.10.17
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
@@ -40,7 +40,7 @@
|
||||
docker save -o $CI_PROJECT_DIR/packages/$containername.$VERSION.tar.gz $containername
|
||||
# End of build.sh
|
||||
.docker_push_gitlab:
|
||||
image: registry.durp.info/docker:20.10.17
|
||||
image: registry.internal.durp.info/docker:20.10.17
|
||||
variables:
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.gitlab-move-files:
|
||||
image: registry.durp.info/debian:latest
|
||||
image: registry.internal.durp.info/debian:latest
|
||||
script:
|
||||
# Begin of movefiles.sh
|
||||
- |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.golang-build-api:
|
||||
variables:
|
||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||
image: registry.durp.info/golang:${GO_VERSION}
|
||||
image: registry.internal.durp.info/golang:${GO_VERSION}
|
||||
script:
|
||||
# Begin of golang-build-api.sh
|
||||
- "#Build golang api\nexport GOPATH=/go\nexport PATH=$PATH:$GOPATH/bin\nmkdir output\ngo install \ngo install github.com/swaggo/swag/cmd/swag@v1.8.12 \nswag init\nCGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .\n"
|
||||
@@ -14,7 +14,7 @@
|
||||
variables:
|
||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||
CGO_ENABLED: 0
|
||||
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON}
|
||||
image: registry.internal.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON}
|
||||
script:
|
||||
# Begin of golang-lint.sh
|
||||
- |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.helm-build:
|
||||
image: dtzar/helm-kubectl
|
||||
image: registry.internal.durp.info/dtzar/helm-kubectl
|
||||
script:
|
||||
# Begin of helm-package.sh
|
||||
- |
|
||||
@@ -16,7 +16,7 @@
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/packages
|
||||
.helm-push:
|
||||
image: dtzar/helm-kubectl
|
||||
image: registry.internal.durp.info/dtzar/helm-kubectl
|
||||
script:
|
||||
# Begin of helm-addrepo.sh
|
||||
- |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.nuget_push:
|
||||
image: registry.durp.info/dotnet/core/sdk:latest
|
||||
image: registry.internal.durp.info/dotnet/core/sdk:latest
|
||||
script:
|
||||
# Begin of push.sh
|
||||
- |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.octo_package:
|
||||
image: registry.durp.info/octopusdeploy/octo:latest
|
||||
image: registry.internal.durp.info/octopusdeploy/octo:latest
|
||||
script:
|
||||
# Begin of pack.sh
|
||||
- |
|
||||
@@ -15,7 +15,7 @@
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/packages
|
||||
.octo_release:
|
||||
image: registry.durp.info/octopusdeploy/octo:latest
|
||||
image: registry.internal.durp.info/octopusdeploy/octo:latest
|
||||
script:
|
||||
# Begin of create_release.sh
|
||||
- |
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
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
|
||||
image:
|
||||
name: registry.durp.info/sonarsource/sonar-scanner-cli:latest
|
||||
name: registry.internal.durp.info/sonarsource/sonar-scanner-cli:latest
|
||||
entrypoint: [""]
|
||||
cache:
|
||||
key: "${CI_JOB_NAME}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.version:
|
||||
image: registry.durp.info/gittools/gitversion:5.12.0
|
||||
image: registry.internal.durp.info/gittools/gitversion:5.12.0
|
||||
variables:
|
||||
GIT_DEPTH: "0"
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user