Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mapas
MapasBR - PA
Commits
899f809c
Commit
899f809c
authored
4 years ago
by
Heverton Medeiros
Browse files
Options
Download
Email Patches
Plain Diff
Add develop pipeline config and change production pipeline
parent
43a114ac
Pipeline
#9423
failed with stages
in 1 minute and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
.gitlab-ci.yml
.gitlab-ci.yml
+3
-4
No files found.
.gitlab-ci.yml
View file @
899f809c
...
...
@@ -29,15 +29,14 @@ deploy to homolog:
stage
:
deploy
image
:
hacklab/kubectl:latest
script
:
-
echo ${kube_config} | base64 -d > ${KUBECONFIG}
-
kubectl -n mapas-br --record deployment.apps/mapas set image deployment.v1.apps/mapas mapas=$HOMOLOG_IMAGE
-
echo ${kube_config
-develop
} | base64 -d > ${KUBECONFIG}
-
kubectl -n mapas-br
-dev
--record deployment.apps/mapas set image deployment.v1.apps/mapas mapas=$HOMOLOG_IMAGE
only
:
-
/master/
environment
:
homolog
tags
:
-
docker
build to production
:
stage
:
build
script
:
...
...
@@ -58,7 +57,7 @@ deploy to production:
image
:
hacklab/kubectl:latest
script
:
-
echo ${kube_config} | base64 -d > ${KUBECONFIG}
-
kubectl -n mapas-br
-prod
--record deployment.apps/mapas set image deployment.apps/mapas mapas=$RELEASE_IMAGE
-
kubectl -n mapas-br --record deployment.apps/mapas set image deployment.apps/mapas mapas=$RELEASE_IMAGE
only
:
-
tags
environment
:
production
...
...
This diff is collapsed.
Click to expand it.
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