Skip to content

Commit f72295c

Browse files
committed
merged wrong rollout yml
1 parent 2b5887f commit f72295c

1 file changed

Lines changed: 8 additions & 17 deletions

File tree

.github/workflows/rollout.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
name: Eval Protocol Rollout
22

3-
run-name: rollout:${{ inputs.rollout_id }}
3+
run-name: rollout:${{ fromJSON(inputs.metadata).rollout_id }}
44

55
on:
66
workflow_dispatch:
77
inputs:
88
model:
9-
description: 'Model to use for the rollout'
9+
description: 'Model to use'
1010
required: true
1111
type: string
12-
rollout_id:
13-
description: 'Rollout ID for tracking'
12+
metadata:
13+
description: 'JSON serialized metadata object'
1414
required: true
1515
type: string
16-
prompt:
17-
description: 'User prompt for the rollout'
16+
model_base_url:
17+
description: 'Base URL for the model API'
1818
required: true
1919
type: string
2020

2121
jobs:
2222
rollout:
2323
runs-on: ubuntu-latest
24-
name: rollout-${{ inputs.rollout_id }}
2524

2625
steps:
2726
- name: Checkout code
@@ -43,13 +42,5 @@ jobs:
4342
run: |
4443
python tests/github_actions/rollout_worker.py \
4544
--model "${{ inputs.model }}" \
46-
--rollout-id "${{ inputs.rollout_id }}" \
47-
--prompt "${{ inputs.prompt }}"
48-
49-
- name: Upload rollout trace
50-
uses: actions/upload-artifact@v4
51-
if: always() # Upload even if the rollout failed
52-
with:
53-
name: rollout-trace-${{ inputs.rollout_id }}
54-
path: rollout_trace_${{ inputs.rollout_id }}.json
55-
retention-days: 7
45+
--metadata '${{ inputs.metadata }}' \
46+
--model-base-url "${{ inputs.model_base_url }}"

0 commit comments

Comments
 (0)