mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
Update 10 files
- /pipelines/terraform.yml - /templates/codescan.tpl.yml - /templates/docker.tpl.yml - /templates/gitlab.tpl.yml - /templates/golang.tpl.yml - /templates/helm.tpl.yml - /templates/nuget.tpl.yml - /templates/octopus.tpl.yml - /templates/sonarqube.tpl.yml - /templates/version.tpl.yml
This commit is contained in:
parent
1828e12361
commit
e50d42d982
10 changed files with 16 additions and 16 deletions
|
|
@ -8,7 +8,7 @@ variables:
|
||||||
GITLAB_TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${ENVIRONMENT_NAME}
|
GITLAB_TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${ENVIRONMENT_NAME}
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: registry.internal.durp.info/opentofu/opentofu:latest
|
name: registry.durp.info/opentofu/opentofu:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
- ./scripts/scanner/syft-install.sh
|
- ./scripts/scanner/syft-install.sh
|
||||||
- ./scripts/scanner/syft-mkdir.sh
|
- ./scripts/scanner/syft-mkdir.sh
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
- $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:
|
||||||
- ./scripts/scanner/grype-install.sh
|
- ./scripts/scanner/grype-install.sh
|
||||||
- ./scripts/scanner/grype.sh
|
- ./scripts/scanner/grype.sh
|
||||||
|
|
|
||||||
|
|
@ -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: ""
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
|
|
||||||
.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: ""
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
- $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: ""
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
- ./scripts/gitlab/movefiles.sh
|
- ./scripts/gitlab/movefiles.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
- ./scripts/golang-build.sh
|
- ./scripts/golang-build.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -13,6 +13,6 @@
|
||||||
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:
|
||||||
- ./scripts/golang-lint.sh
|
- ./scripts/golang-lint.sh
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
- ./scripts/helm-package.sh
|
- ./scripts/helm-package.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
- $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:
|
||||||
- ./scripts/helm-addrepo.sh
|
- ./scripts/helm-addrepo.sh
|
||||||
- ./scripts/helm-push.sh
|
- ./scripts/helm-push.sh
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
.nuget_push:
|
.nuget_push:
|
||||||
image: registry.internal.durp.info/dotnet/core/sdk:latest
|
image: registry.durp.info/dotnet/core/sdk:latest
|
||||||
script:
|
script:
|
||||||
- ./scripts/nuget/push.sh
|
- ./scripts/nuget/push.sh
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
- ./scripts/octopus/pack.sh
|
- ./scripts/octopus/pack.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -7,6 +7,6 @@
|
||||||
- $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:
|
||||||
- ./scripts/octopus/create_release.sh
|
- ./scripts/octopus/create_release.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: 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}"
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue