Loading src/monitoring/.gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -23,18 +23,19 @@ build monitoring: - manifests/$IMAGE_NAME.yaml - .gitlab-ci.yml build monitoring: 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 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 logs monitoring-* server - kubectl --namespace gitlab-ci logs monitoring-* influxdb - kubectl --namespace gitlab-ci describe pod monitoring-84fcb785-25knt - kubectl --namespace gitlab-ci logs monitoring-84fcb785-25knt server - kubectl --namespace gitlab-ci logs monitoring-84fcb785-25knt influxdb # # test if the Docker image can be pulled from the gitlab registry # test monitoring pull: Loading Loading
src/monitoring/.gitlab-ci.yml +10 −9 Original line number Diff line number Diff line Loading @@ -23,18 +23,19 @@ build monitoring: - manifests/$IMAGE_NAME.yaml - .gitlab-ci.yml build monitoring: 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 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 logs monitoring-* server - kubectl --namespace gitlab-ci logs monitoring-* influxdb - kubectl --namespace gitlab-ci describe pod monitoring-84fcb785-25knt - kubectl --namespace gitlab-ci logs monitoring-84fcb785-25knt server - kubectl --namespace gitlab-ci logs monitoring-84fcb785-25knt influxdb # # test if the Docker image can be pulled from the gitlab registry # test monitoring pull: Loading