Skip to content
Snippets Groups Projects
Commit b68c04f3 authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

Update monitoring .gitlab-ci.yml

parent d13159fe
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -14,14 +14,6 @@ spec: ...@@ -14,14 +14,6 @@ spec:
spec: spec:
terminationGracePeriodSeconds: 5 terminationGracePeriodSeconds: 5
restartPolicy: Always restartPolicy: Always
# initContainers:
# - name: influxdb
# image: influxdb:1.8
# ports:
# - containerPort: 8086
# envFrom:
# - secretRef:
# name: influxdb-secrets
containers: containers:
- name: influxdb - name: influxdb
image: influxdb:1.8 image: influxdb:1.8
......
...@@ -61,25 +61,6 @@ unit test monitoring: ...@@ -61,25 +61,6 @@ unit test monitoring:
reports: reports:
junit: src/$IMAGE_NAME/tests/report.xml junit: src/$IMAGE_NAME/tests/report.xml
monitoring test:
variables:
IMAGE_NAME: 'monitoring' # name of the microservice
IMAGE_TAG: 'develop' # tag of the container image (production, development, etc)
stage: unit_test
script:
- 'sed -i "s/$IMAGE_NAME:.*/$IMAGE_NAME:$IMAGE_TAG/" manifests/$IMAGE_NAME.yaml'
- ls manifests
- cat manifests/$IMAGE_NAME.yaml
- echo 'sed -i "s/$IMAGE_NAME:.*/$IMAGE_NAME:$IMAGE_TAG/" manifests/$IMAGE_NAME.yaml'
rules:
- changes:
- src/$IMAGE_NAME/**/*.{py,in,yml}
- src/$IMAGE_NAME/Dockerfile
- src/$IMAGE_NAME/tests/*.py
- src/$IMAGE_NAME/tests/Dockerfile
- manifests/$IMAGE_NAME.yaml
- .gitlab-ci.yml
# Deployment of the monitoring service in Kubernetes Cluster # Deployment of the monitoring service in Kubernetes Cluster
deploy monitoring test: deploy monitoring test:
variables: variables:
......
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