cds
cds copied to clipboard
cdsctl apply template demo
trafficstars
[root@localhost ~]# ./cdsctl workflow applyTemplate
? Found one CDS project 'DEMO - FirstProject'. Is it correct? Yes
? Choose the CDS template to apply: Demo workflow hello world (shared.infra/demo-workflow-hello-world)
? Give a valid name for the new generated workflow MyFirstWorkflow
? Push the generated workflow to the DEMO project Yes
Error(d61896dd-fd68-11e9-a1ef-0242ac120004): application name must respect '^[a-zA-Z0-9.-_-]{1,}$'
logs is
cds-api_1 | unable to import workflow status=400
cds-api_1 | 2019-11-02 12:03:52 [INFO] ParseAndImport>> Import workflow in project DEMO (force=true)
cds-api_1 | 2019-11-02 12:03:52 [INFO] Parse>> Parse workflow in project DEMO
cds-api_1 | 2019-11-02 12:03:52 [WARN] pprofLabel>recoverWrap>Handle>postWorkflowPushHandler>Push>ParseAndImport>Parse: application name must respect '^[a-zA-Z0-9.--]{1,}$' (caused by: unable to import workflow : Workflow name do not respect pattern ^[a-zA-Z0-9.-]{1,}$) error_uuid=d61896dd-fd68-11e9-a1ef-0242ac120004 method=POST request_uri=/project/DEMO/push/workflows stack_trace=Workflow name do not respect pattern ^[a-zA-Z0-9._-]{1,}$
cc @willhope
from https://github.com/ovh/cds/issues/4737