Commit 4e8117e0 authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

check influxdb health

parent 0fc37cfe
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -28,16 +28,16 @@ build influx:
  script:
    - kubectl version
    - kubectl get all
    - kubectl delete -f "manifests/monitoring.yaml"
    - sleep 15
    - kubectl get all
    - kubectl apply -f "manifests/monitoring.yaml"
    - sleep 60
    - kubectl get all
    # - kubectl delete -f "manifests/monitoring.yaml"
    # - sleep 15
    # - kubectl get all
    # - kubectl apply -f "manifests/monitoring.yaml"
    # - sleep 60
    # - kubectl get all
    # - kubectl apply -f "manifests/influx.yaml"
    # - sleep 15
    # - kubectl get all
    - curl -XGET "10.106.2.145:8086/health" 
    - curl -XGET "10.97.74.29:8086/health" 
    # - kubectl delete -f "manifests/influx.yaml"

# test if the Docker image can be pulled from the gitlab registry