ci: render

Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1222159433
This commit is contained in:
2024-03-21 11:20:46 +00:00
parent 2e2ed2ad14
commit c8b0669596
8 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
.docker-build-container: .docker-build-container:
image: registry.durp.info/docker:20.10.17 image: registry.internal.durp.info/docker:20.10.17
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@@ -22,7 +22,7 @@
docker push "$CI_REGISTRY/$CI_PROJECT_PATH:$VERSION" docker push "$CI_REGISTRY/$CI_PROJECT_PATH:$VERSION"
# End of docker-build.sh # End of docker-build.sh
.docker_build: .docker_build:
image: registry.durp.info/docker:20.10.17 image: registry.internal.durp.info/docker:20.10.17
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@@ -40,7 +40,7 @@
docker save -o $CI_PROJECT_DIR/packages/$containername.$VERSION.tar.gz $containername docker save -o $CI_PROJECT_DIR/packages/$containername.$VERSION.tar.gz $containername
# End of build.sh # End of build.sh
.docker_push_gitlab: .docker_push_gitlab:
image: registry.durp.info/docker:20.10.17 image: registry.internal.durp.info/docker:20.10.17
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""

View File

@@ -1,5 +1,5 @@
.gitlab-move-files: .gitlab-move-files:
image: registry.durp.info/debian:latest image: registry.internal.durp.info/debian:latest
script: script:
# Begin of movefiles.sh # Begin of movefiles.sh
- | - |

View File

@@ -1,7 +1,7 @@
.golang-build-api: .golang-build-api:
variables: variables:
#GOPROXY: https://nexus.durp.info/repository/go/ #GOPROXY: https://nexus.durp.info/repository/go/
image: registry.durp.info/golang:${GO_VERSION} image: registry.internal.durp.info/golang:${GO_VERSION}
script: script:
# Begin of golang-build-api.sh # 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" - "#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: variables:
#GOPROXY: https://nexus.durp.info/repository/go/ #GOPROXY: https://nexus.durp.info/repository/go/
CGO_ENABLED: 0 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: script:
# Begin of golang-lint.sh # Begin of golang-lint.sh
- | - |

View File

@@ -1,5 +1,5 @@
.helm-build: .helm-build:
image: dtzar/helm-kubectl image: registry.internal.durp.info/dtzar/helm-kubectl
script: script:
# Begin of helm-package.sh # Begin of helm-package.sh
- | - |
@@ -16,7 +16,7 @@
paths: paths:
- $CI_PROJECT_DIR/packages - $CI_PROJECT_DIR/packages
.helm-push: .helm-push:
image: dtzar/helm-kubectl image: registry.internal.durp.info/dtzar/helm-kubectl
script: script:
# Begin of helm-addrepo.sh # Begin of helm-addrepo.sh
- | - |

View File

@@ -1,5 +1,5 @@
.nuget_push: .nuget_push:
image: registry.durp.info/dotnet/core/sdk:latest image: registry.internal.durp.info/dotnet/core/sdk:latest
script: script:
# Begin of push.sh # Begin of push.sh
- | - |

View File

@@ -1,5 +1,5 @@
.octo_package: .octo_package:
image: registry.durp.info/octopusdeploy/octo:latest image: registry.internal.durp.info/octopusdeploy/octo:latest
script: script:
# Begin of pack.sh # Begin of pack.sh
- | - |
@@ -15,7 +15,7 @@
paths: paths:
- $CI_PROJECT_DIR/packages - $CI_PROJECT_DIR/packages
.octo_release: .octo_release:
image: registry.durp.info/octopusdeploy/octo:latest image: registry.internal.durp.info/octopusdeploy/octo:latest
script: script:
# Begin of create_release.sh # Begin of create_release.sh
- | - |

View File

@@ -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: registry.durp.info/sonarsource/sonar-scanner-cli:latest name: registry.internal.durp.info/sonarsource/sonar-scanner-cli:latest
entrypoint: [""] entrypoint: [""]
cache: cache:
key: "${CI_JOB_NAME}" key: "${CI_JOB_NAME}"

View File

@@ -1,5 +1,5 @@
.version: .version:
image: registry.durp.info/gittools/gitversion:5.12.0 image: registry.internal.durp.info/gittools/gitversion:5.12.0
variables: variables:
GIT_DEPTH: "0" GIT_DEPTH: "0"
script: script: