Skip to content
Snippets Groups Projects
Commit 7101db71 authored by Javi Moreno's avatar Javi Moreno
Browse files

Added deploy stage for monitoring

parent c5c08f7e
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
stages: stages:
- build - build
- test - test
# - deploy - deploy
# include the individual .gitlab-ci.yml of each micro-service # include the individual .gitlab-ci.yml of each micro-service
include: include:
......
...@@ -87,4 +87,17 @@ test monitoring pytest: ...@@ -87,4 +87,17 @@ test monitoring pytest:
when: always when: always
paths: paths:
- pytest_report.txt - pytest_report.txt
expire_in: 1 day expire_in: 1 day
\ No newline at end of file
# Deployment of the monitoring service in Kubernetes Cluster
deploy monitoring:
stage: deploy
needs:
- build monitoring
- test monitoring run
script:
- kubectl apply -f "manisfests/monitoringservice.yaml"
when: manual
rules:
- if: '$CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
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