Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
67951c98
Commit
67951c98
authored
5 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
added deployment stage for development
parent
9694fc03
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1502
Development
,
!1481
Resolve "Put MetaGer into our Kubernetes Cluster"
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+40
-0
40 additions, 0 deletions
.gitlab-ci.yml
with
40 additions
and
0 deletions
.gitlab-ci.yml
+
40
−
0
View file @
67951c98
...
...
@@ -22,6 +22,7 @@ stages:
-
dast
-
staging
-
canary
-
development
-
production
-
incremental rollout 10%
-
incremental rollout 25%
...
...
@@ -104,6 +105,45 @@ review:
variables
:
HELM_UPGRADE_EXTRA_ARGS
:
--set service.externalPort=80 --set service.internalPort=80 --set service.commonName= --set ingress.tls.enabled=false --set ingress.annotations.kubernetes\.io/tls-acme="false" --set ingress.annotations.nginx\.ingress\.kubernetes\.io/ssl-redirect="false"
ROLLOUT_RESOURCE_TYPE
:
deployment
.development
:
&development_template
extends
:
.auto-deploy
stage
:
development
script
:
-
auto-deploy check_kube_domain
-
auto-deploy download_chart
-
auto-deploy ensure_namespace
-
auto-deploy initialize_tiller
-
auto-deploy create_secret
-
auto-deploy deploy
-
auto-deploy delete canary
-
auto-deploy delete rollout
-
auto-deploy persist_environment_url
environment
:
name
:
development
url
:
https://$CI_PROJECT_PATH_SLUG.$KUBE_INGRESS_BASE_DOMAIN
artifacts
:
paths
:
[
environment_url.txt
]
development
:
<<
:
*development_template
only
:
refs
:
-
development
kubernetes
:
active
variables
:
HELM_UPGRADE_EXTRA_ARGS
:
--set service.externalPort=80 --set service.internalPort=80 --set service.commonName= --set ingress.annotations.certmanager\.k8s\.io/cluster-issuer=letsencrypt-prod
ROLLOUT_RESOURCE_TYPE
:
deployment
environment
:
name
:
development
url
:
https://metager3.de
except
:
variables
:
-
$STAGING_ENABLED
-
$CANARY_ENABLED
-
$INCREMENTAL_ROLLOUT_ENABLED
-
$INCREMENTAL_ROLLOUT_MODE
production
:
variables
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment