fix templates

This commit is contained in:
stewartshea
2026-07-06 21:53:03 -04:00
parent 9ffb28d773
commit b0732eaf8b
12 changed files with 136 additions and 157 deletions
@@ -58,7 +58,7 @@
- Generated by `runwhen-platform-mcp` `render_codecollection_skill` v0.0.0-dev
- Source workspace: `stg-test`
- Generated at: `2026-07-06T19:23:12Z`
- Generated at: `2026-07-07T01:52:25Z`
## Deploying this codecollection
@@ -1,26 +1,26 @@
apiVersion: runwhen.com/v1
kind: ServiceLevelX
metadata:
name: {{slx_name}}
labels:
{% include "common-labels.yaml" %}
annotations:
{% include "common-annotations.yaml" %}
spec:
imageURL: https://storage.googleapis.com/runwhen-nonprod-shared-images/icons/runwhen.svg
alias: Staging Workspace Smoke Check
asMeasuredBy: >-
Tool Builder task via rw-generic-codecollection tool-builder runtime.
owners:
- {{workspace.owner_email}}
statement: >-
Verify tool-builder runtime can execute a simple custom task against the stg-test workspace.
additionalContext:
qualified_name: "{{ match_resource.qualified_name }}"
tags:
- name: platform
value: runwhen
- name: access
value: read-only
- name: data
value: logs-bulk
apiVersion: runwhen.com/v1
kind: ServiceLevelX
metadata:
name: {{slx_name}}
labels:
{% include "common-labels.yaml" %}
annotations:
{% include "common-annotations.yaml" %}
spec:
imageURL: https://storage.googleapis.com/runwhen-nonprod-shared-images/icons/runwhen.svg
alias: Staging Workspace Smoke Check
asMeasuredBy: >-
Tool Builder task via rw-generic-codecollection tool-builder runtime.
owners:
- {{workspace.owner_email}}
statement: >-
Verify tool-builder runtime can execute a simple custom task against the stg-test workspace.
additionalContext:
qualified_name: "{{ match_resource.qualified_name }}"
tags:
- name: platform
value: runwhen
- name: access
value: read-only
- name: data
value: logs-bulk
@@ -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
+1 -1
View File
@@ -11,7 +11,7 @@ Custom Discovery CodeCollection bundle generated from MCP tool-builder output.
```
.runwhen/
SKILL_TEMPLATE.md # Human-readable review (decoded script + match rules)
raw_script.py # Decoded script for reviewers and automated inspection
raw_script.py # Decoded script for reviewers and automated inspection
generation-rules/
stg-workspace-smoke.yaml
templates/