Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!54Release 2.0.0
......@@ -130,7 +130,15 @@ deploy {microservice} development:
- kubectl get all
- kubectl apply -f "manifests/$IMAGE_NAME.yaml"
- kubectl get all
when: manual
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))
print("File created in the following path: {file}".format(file=file))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment