Skip to content
Snippets Groups Projects
Commit c7d95f72 authored by Mark Pundsack's avatar Mark Pundsack
Browse files

Small fixes

parent cf41b446
No related branches found
No related tags found
1 merge request!63WIP: Flatten further
Pipeline #
# Explanation on the scripts:
# https://gitlab.com/gitlab-examples/kubernetes-deploy/blob/master/README.md
##############################
# Define some helper functions
##############################
Loading
Loading
@@ -167,11 +164,16 @@
# Define basic job definitions
##############################
 
.kubernetes-deploy: &kubernetes-deploy
.auto_deploy_image: &auto_deploy_image
image: registry.gitlab.com/gitlab-examples/kubernetes-deploy
before_script:
- *common
 
# .openshift-deploy: &openshift-deploy
# image: registry.gitlab.com/gitlab-examples/openshift-deploy
# before_script:
# - *common
.build_branches: &build_branches
stage: build
script:
Loading
Loading
@@ -277,8 +279,8 @@
# Define overall pipeline
##############################
 
.auto_deploy_kubernetes: &auto_deploy_kubernetes
<<: *kubernetes-deploy
.auto_deploy: &auto_deploy
<<: *auto_deploy_image
 
stages:
- build
Loading
Loading
@@ -290,6 +292,10 @@
build:
<<: *build_branches
 
# Choose between:
# *manual_deploy_to_production
# *auto_deploy_to_production
# *auto_deploy_tags_to_production
production:
<<: *manual_deploy_to_production
 
Loading
Loading
@@ -302,9 +308,11 @@
stop_review:
<<: *stop_review
 
# -----------------------------------------
##############################
# Project's `.gitlab-ci.yml`
##############################
 
<<: *auto_deploy_kubernetes
<<: *auto_deploy
 
variables:
# Application deployment domain
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment