fix templates
This commit is contained in:
+16
-19
@@ -1,27 +1,24 @@
|
||||
apiVersion: runwhen.com/v1
|
||||
kind: Runbook
|
||||
metadata:
|
||||
name: {{slx_name}}
|
||||
labels:
|
||||
{% include "common-labels.yaml" %}
|
||||
annotations:
|
||||
{% include "common-annotations.yaml" %}
|
||||
spec:
|
||||
location: {{default_location}}
|
||||
codeBundle:
|
||||
repoUrl: https://github.com/runwhen-contrib/rw-generic-codecollection.git
|
||||
ref: main
|
||||
pathToRobot: codebundles/tool-builder/runbook.robot
|
||||
configProvided:
|
||||
- name: TASK_TITLE
|
||||
apiVersion: runwhen.com/v1
|
||||
kind: Runbook
|
||||
metadata:
|
||||
name: {{slx_name}}
|
||||
labels:
|
||||
{% include "common-labels.yaml" %}
|
||||
annotations:
|
||||
{% include "common-annotations.yaml" %}
|
||||
spec:
|
||||
location: {{default_location}}
|
||||
codeBundle:
|
||||
repoUrl: https://github.com/runwhen-contrib/rw-generic-codecollection.git
|
||||
ref: main
|
||||
pathToRobot: codebundles/tool-builder/runbook.robot
|
||||
configProvided:
|
||||
- name: TASK_TITLE
|
||||
value: Run staging workspace smoke check
|
||||
...
|
||||
- name: GEN_CMD
|
||||
value: aW1wb3J0IG9zCgoKZGVmIG1haW4oKToKICAgIHdvcmtzcGFjZSA9IG9zLmVudmlyb24uZ2V0KCJXT1JLU1BBQ0VfTkFNRSIsICJ1bmtub3duIikKICAgIGxvY2F0aW9uID0gb3MuZW52aXJvbi5nZXQoIkxPQ0FUSU9OX05BTUUiLCAidW5rbm93biIpCiAgICByZXR1cm4gWwogICAgICAgIHsKICAgICAgICAgICAgImlzc3VlIHRpdGxlIjogIlN0YWdpbmcgc21va2UgY2hlY2sgcGFzc2VkIiwKICAgICAgICAgICAgImlzc3VlIGRlc2NyaXB0aW9uIjogKAogICAgICAgICAgICAgICAgZiJUb29sLWJ1aWxkZXIgc21va2Ugc2NyaXB0IHJhbiBvbiB3b3Jrc3BhY2U9e3dvcmtzcGFjZX0gIgogICAgICAgICAgICAgICAgZiJsb2NhdGlvbj17bG9jYXRpb259LiIKICAgICAgICAgICAgKSwKICAgICAgICAgICAgImlzc3VlIHNldmVyaXR5IjogNCwKICAgICAgICAgICAgImlzc3VlIG5leHQgc3RlcHMiOiAoCiAgICAgICAgICAgICAgICAiTm8gYWN0aW9uIHJlcXVpcmVkIOKAlCB0aGlzIGlzIGFuIGluZm9ybWF0aW9uYWwgc21va2UgdGVzdC4iCiAgICAgICAgICAgICksCiAgICAgICAgfQogICAgXQ==
|
||||
...
|
||||
- name: INTERPRETER
|
||||
value: python
|
||||
...
|
||||
- name: CONFIG_ENV_MAP
|
||||
value: '{}'
|
||||
- name: SECRET_ENV_MAP
|
||||
|
||||
Reference in New Issue
Block a user