Commit 99c861fa authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

Test kubernetes monitoring

parent 7eb4e7b2
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -27,15 +27,15 @@ kubernetes test:
  stage: build
  script:
    # - kubectl version
    # - kubectl get all
    # - kubectl delete -f "manifests/monitoring.yaml"
    # - sleep 15
    # - kubectl apply -f "manifests/monitoring.yaml"
    # - sleep 30
    # - kubectl get all
    - kubectl --namespace gitlab-ci describe pod monitoring-9df446bb5-jt6zg
    - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-jt6zg influxdb
    - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-jt6zg server
    - kubectl get all
    - kubectl delete -f "manifests/monitoring.yaml"
    - sleep 15
    - kubectl apply -f "manifests/monitoring.yaml"
    - sleep 30
    - kubectl get all
    # - kubectl --namespace gitlab-ci describe pod monitoring-9df446bb5-jt6zg
    # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-jt6zg influxdb
    # - kubectl --namespace gitlab-ci logs monitoring-9df446bb5-jt6zg server

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