Commit f74a1379 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix job names

parent b61d63de
Pipeline #747 passed with stages
in 7 minutes and 9 seconds
......@@ -627,6 +627,9 @@ class Image(models.Model):
manifest = str(self).replace(':', '/manifests/')
return f'https://{project.registry()}/v2/{project.main_namespace.slug}/{manifest}'
def get_job_name(self):
return f'robotpkg-{self}'.replace(':', '-')
def build(self):
args = self.get_build_args()
build_args = sum((['--build-arg', f'{key}={value}'] for key, value in args.items()), list())
......
......@@ -25,7 +25,7 @@ cache:
- mv doc/doxygen-html ${CI_PROJECT_DIR}{% endif %}
{% for image in robotpkg.valid_images %}
robotpkg-{{ image }}:
{{ image.get_job_name }}:
<<: *robotpkg-{{ robotpkg }}
image: {{ image.get_image_name }}
{% if project.docs and image.target.name == '16.04' and not image.py3 %} artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment