Commit 3228ca74 authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

update monitoring gitlab-ci.yml

parent 871b5be9
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -98,12 +98,18 @@ deploy monitoring development:
  needs:
    - build monitoring
    - test monitoring run
  before_script:
    - kubectl get all
  script:
    - kubectl version
#    - kubectl get all
#    - kubectl apply -f "manifests/$IMAGE_NAME.yaml"
#    - kubectl get all
  when: manual
    - kubectl get all
    - kubectl apply -f "manifests/$IMAGE_NAME.yaml"
    - kubectl get all
  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
    - when: manual