Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
Leistungsschutzliste
Commits
9e0744a9
Commit
9e0744a9
authored
Nov 25, 2020
by
Dominik Hebeler
Browse files
added ci file
parent
c10d9f8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
9e0744a9
variables
:
DOCKER_HOST
:
"
tcp://docker-dind.gitlab-suma:2375"
AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS
:
"
--network
host"
POSTGRES_ENABLED
:
"
false"
CODE_QUALITY_DISABLED
:
"
true"
CONTAINER_SCANNING_DISABLED
:
"
true"
DAST_DISABLED
:
"
true"
DEPENDENCY_SCANNING_DISABLED
:
"
true"
LICENSE_MANAGEMENT_DISABLED
:
"
true"
PERFORMANCE_DISABLED
:
"
true"
SAST_DISABLED
:
"
true"
TEST_DISABLED
:
"
true"
REVIEW_DISABLED
:
"
true"
include
:
-
template
:
Jobs/Build.gitlab-ci.yml
-
template
:
Jobs/Deploy.gitlab-ci.yml
stages
:
-
build
-
deploy
# dummy stage to follow the template guidelines
-
review
-
dast
-
staging
-
canary
-
development
-
production
-
incremental rollout 10%
-
incremental rollout 25%
-
incremental rollout 50%
-
incremental rollout 100%
-
performance
-
cleanup
.auto-deploy
:
image
:
"
registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.6"
build
:
services
:
review
:
variables
:
HELM_UPGRADE_VALUES_FILE
:
.gitlab/review-apps-values.yaml
ROLLOUT_RESOURCE_TYPE
:
deployment
environment
:
name
:
review/$CI_COMMIT_REF_NAME
on_stop
:
stop_review
auto_stop_in
:
2 days
rules
:
-
if
:
'
$CI_KUBERNETES_ACTIVE
==
null
||
$CI_KUBERNETES_ACTIVE
==
""'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"development"'
when
:
never
-
if
:
'
$REVIEW_DISABLED'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
||
$CI_COMMIT_BRANCH'
stop_review
:
variables
:
GIT_STRATEGY
:
none
environment
:
name
:
review/$CI_COMMIT_REF_NAME
action
:
stop
rules
:
-
if
:
'
$CI_KUBERNETES_ACTIVE
==
null
||
$CI_KUBERNETES_ACTIVE
==
""'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
==
"development"'
when
:
never
-
if
:
'
$REVIEW_DISABLED'
when
:
never
-
if
:
'
$CI_COMMIT_TAG
||
$CI_COMMIT_BRANCH'
when
:
manual
production
:
variables
:
ADDITIONAL_HOSTS
:
"
www.leistungsschutzliste.de"
HELM_UPGRADE_VALUES_FILE
:
.gitlab/production-values.yaml
ROLLOUT_RESOURCE_TYPE
:
deployment
environment
:
url
:
https://leistungsschutzliste.de
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment