From b68c04f36b09de3458724686befd085e8fc414e1 Mon Sep 17 00:00:00 2001 From: Sergio <sergio.gonzalez.diaz@atos.net> Date: Thu, 28 Oct 2021 18:02:43 +0200 Subject: [PATCH] Update monitoring .gitlab-ci.yml --- manifests/monitoring.yaml | 8 -------- src/monitoring/.gitlab-ci.yml | 19 ------------------- 2 files changed, 27 deletions(-) diff --git a/manifests/monitoring.yaml b/manifests/monitoring.yaml index 15885b547..ca5f71088 100644 --- a/manifests/monitoring.yaml +++ b/manifests/monitoring.yaml @@ -14,14 +14,6 @@ spec: spec: terminationGracePeriodSeconds: 5 restartPolicy: Always - # initContainers: - # - name: influxdb - # image: influxdb:1.8 - # ports: - # - containerPort: 8086 - # envFrom: - # - secretRef: - # name: influxdb-secrets containers: - name: influxdb image: influxdb:1.8 diff --git a/src/monitoring/.gitlab-ci.yml b/src/monitoring/.gitlab-ci.yml index 679a5056d..ff10ac52d 100644 --- a/src/monitoring/.gitlab-ci.yml +++ b/src/monitoring/.gitlab-ci.yml @@ -61,25 +61,6 @@ unit test monitoring: reports: 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 deploy monitoring test: variables: -- GitLab