@@ -28,7 +28,7 @@ sample_umbrella_buf:
2828 {% for buf_child in range(25) %}
2929 {% set buf_child_name = fake.catch_phrase().title() %}
3030 - json :
31- slug : {{ buf_child_name | lower | replace(" ", "-" ) }}
31+ slug : {{ slug_from_project_name(buf_child_name ) }}
3232 name : {{ buf_child_name }} Project
3333 description : >-
3434 {{ buf_child_name }}
@@ -39,8 +39,8 @@ sample_umbrella_buf:
3939 parent_uid : !ref "sample_umbrella_buf.steps[0]._response.uid"
4040 legal_entity_name : {{ buf_child_name }} Project
4141 legal_entity_type : Subproject
42- repository_url : https://example.com/{{ buf_child_name | lower | replace(" ", "-" ) }}
43- website_url : https://{{ buf_child_name | lower | replace(" ", "-" ) }}.example/
42+ repository_url : https://example.com/{{ slug_from_project_name(buf_child_name ) }}
43+ website_url : https://{{ slug_from_project_name(buf_child_name ) }}.example/
4444 {% endfor %}
4545
4646sample_umbrella_iubp :
@@ -71,7 +71,7 @@ sample_umbrella_iubp:
7171 {% for iubp_child in range(15) %}
7272 {% set iubp_child_name = fake.catch_phrase().title() %}
7373 - json :
74- slug : {{ iubp_child_name | lower | replace(" ", "-" ) }}
74+ slug : {{ slug_from_project_name(iubp_child_name ) }}
7575 name : {{ iubp_child_name }} Project
7676 description : >-
7777 {{ iubp_child_name }}
@@ -85,6 +85,6 @@ sample_umbrella_iubp:
8585 # Children's parent is the umbrella; legal parent is LF Projects, LLC.
8686 parent_uid : !ref "sample_umbrella_iubp.steps[0]._response.uid"
8787 legal_parent_uid : !ref "base_projects.steps[?json.slug == 'lfprojects']._response.uid | [0]"
88- repository_url : https://example.com/{{ iubp_child_name | lower | replace(" ", "-" ) }}
89- website_url : https://{{ iubp_child_name | lower | replace(" ", "-" ) }}.example/
88+ repository_url : https://example.com/{{ slug_from_project_name(iubp_child_name ) }}
89+ website_url : https://{{ slug_from_project_name(iubp_child_name ) }}.example/
9090 {% endfor %}
0 commit comments