Add a dash to generated k8s job names

This commit is contained in:
Brad Ison 2016-10-01 14:02:28 -04:00
parent 6359cb31da
commit d8aa22103e

View file

@ -361,7 +361,7 @@ class KubernetesExecutor(BuilderExecutor):
'kind': 'Job',
'metadata': {
'namespace': self.namespace,
'generateName': build_uuid,
'generateName': build_uuid + '-',
'labels': {
'build': build_uuid,
'time': datetime.datetime.now().strftime('%Y-%m-%d-%H'),