Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
db80ddd0
Commit
db80ddd0
authored
Jan 21, 2019
by
Laury Bueno
Browse files
[CI] Explicitly define git strategies for submodules and deploy jobs
parent
c8551ac2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
.gitlab-ci.yml
.gitlab-ci.yml
+10
-0
No files found.
.gitlab-ci.yml
View file @
db80ddd0
...
...
@@ -28,6 +28,8 @@ build to production:
only
:
-
tags
environment
:
production
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
tags
:
-
docker
...
...
@@ -39,6 +41,8 @@ build to production:
# only:
# - tags
# environment: production
# variables:
# GIT_STRATEGY: none
# tags:
# - docker
...
...
@@ -60,6 +64,8 @@ build to homolog:
only
:
-
/master/
environment
:
homolog
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
tags
:
-
docker
...
...
@@ -73,6 +79,8 @@ build to homolog:
# only:
# - /master/
# environment: homolog
# variables:
# GIT_STRATEGY: none
# tags:
# - docker
...
...
@@ -100,6 +108,8 @@ build to develop:
only
:
-
/develop/
environment
:
development
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
tags
:
-
docker
...
...
Write
Preview
Markdown
is supported
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