ci: render

Rendered by https://gitlab.durp.info/durfy/ci-includes/yml/-/pipelines/155
This commit is contained in:
DeveloperDurpBot 2026-02-27 11:44:52 +00:00
parent f315a27b10
commit 45e6fdeb57
9 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
.generate_sbom: .generate_sbom:
image: registry.internal.durp.info/nixos/nix:latest image: registry.durp.info/nixos/nix:latest
script: script:
# Begin of syft-install.sh # Begin of syft-install.sh
- | - |
@ -35,7 +35,7 @@
paths: paths:
- $CI_PROJECT_DIR/syft - $CI_PROJECT_DIR/syft
.generate_cve: .generate_cve:
image: registry.internal.durp.info/nixos/nix:latest image: registry.durp.info/nixos/nix:latest
script: script:
# Begin of grype-install.sh # Begin of grype-install.sh
- | - |

View file

@ -1,5 +1,5 @@
.docker-build-container: .docker-build-container:
image: registry.internal.durp.info/docker:20.10.17 image: registry.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.internal.durp.info/docker:20.10.17 image: registry.durp.info/docker:20.10.17
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@ -53,7 +53,7 @@
paths: paths:
- $CI_PROJECT_DIR/packages - $CI_PROJECT_DIR/packages
.docker_push_gitlab: .docker_push_gitlab:
image: registry.internal.durp.info/docker:20.10.17 image: registry.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.internal.durp.info/debian:latest image: registry.durp.info/debian:latest
script: script:
# Begin of movefiles.sh # Begin of movefiles.sh
- | - |

View file

@ -1,7 +1,7 @@
.golang-build: .golang-build:
variables: variables:
#GOPROXY: https://nexus.durp.info/repository/go/ #GOPROXY: https://nexus.durp.info/repository/go/
image: registry.internal.durp.info/golang:${GO_VERSION} image: registry.durp.info/golang:${GO_VERSION}
script: script:
# Begin of golang-build.sh # Begin of golang-build.sh
- "#Build golang project\nexport GOPATH=/go\nexport PATH=$PATH:$GOPATH/bin\nmkdir output\n#go install \ngo mod download\n# Check if go.mod contains \"swag\"\nif grep -q \"swag\" go.mod; then\n echo \"Found 'swag' in go.mod. Running swag init...\"\n go install github.com/swaggo/swag/cmd/swag@latest\n swag init --parseDependency\nfi\nCGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./output/main .\n" - "#Build golang project\nexport GOPATH=/go\nexport PATH=$PATH:$GOPATH/bin\nmkdir output\n#go install \ngo mod download\n# Check if go.mod contains \"swag\"\nif grep -q \"swag\" go.mod; then\n echo \"Found 'swag' in go.mod. Running swag init...\"\n go install github.com/swaggo/swag/cmd/swag@latest\n swag init --parseDependency\nfi\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.internal.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON} image: registry.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: registry.internal.durp.info/dtzar/helm-kubectl image: registry.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: registry.internal.durp.info/dtzar/helm-kubectl image: registry.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.internal.durp.info/dotnet/core/sdk:latest image: registry.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.internal.durp.info/octopusdeploy/octo:latest image: registry.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.internal.durp.info/octopusdeploy/octo:latest image: registry.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.internal.durp.info/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}"

View file

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