Skip to content

Commit d946546

Browse files
committed
Merge branch '2.0' into fanout-jobs
2 parents 294c765 + e7adc1b commit d946546

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_decoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_workflow_name_with_spaces():
130130

131131
# Assert
132132
assert (
133-
error == "'workflow with spaces' does not match '^[a-z][a-z0-9-]{,63}(?<!-)$'"
133+
error == "'workflow with spaces' does not match '^[a-z][a-z0-9-]{0,63}$(?<!-)'"
134134
)
135135

136136

workflow/workflow-schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ definitions:
6565
# See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
6666
rfc1035-label-name:
6767
type: string
68-
pattern: ^[a-z][a-z0-9-]{,63}(?<!-)$
68+
pattern: ^[a-z][a-z0-9-]{0,63}$(?<!-)
6969
description: >-
7070
A value compatible with Kubernetes variables
7171
to allow it to be used ins Pod Label

0 commit comments

Comments
 (0)