Commit acc18d04 authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

update gitlab-ci.yml_generator.py with the las gitlab-ci.yml updates

parent 29d501da
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -130,6 +130,14 @@ deploy {microservice} development:
    - 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
"""
f.write(yml_template.format(microservice = args.microservice, tag=args.tag))