diff --git a/manifests/monitoring.yaml b/manifests/monitoring.yaml index 15885b5472ae9302e3dabc3ff0435bd5a9aecb83..ca5f7108860570044fed9b149ec500c547010f9c 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 679a5056d170e67df244842bc74e9b44e7ec7eb6..ff10ac52d90f3dd16bb04a882468b9fa44ce5e81 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: