File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ defaults:
1616
1717jobs :
1818
19- trigger_orca :
20- name : orca
19+ orca_trigger :
20+ name : Trigger
2121 runs-on : ubuntu-latest
2222 outputs :
2323 pipeline_id : ${{ steps.trigger.outputs.pipeline_id }}
@@ -47,13 +47,13 @@ jobs:
4747 echo "web_url=$web_url" >> $GITHUB_OUTPUT
4848 echo "Pipeline triggered successfully!"
4949 echo "Pipeline URL: $web_url"
50- echo "Pipeline URL: <$web_url>" >> $GITHUB_STEP_SUMMARY
50+ echo "Orca Pipeline URL: <$web_url>" >> $GITHUB_STEP_SUMMARY
5151
52- wait_for_orca :
53- name : wait
52+ orca_wait :
53+ name : Wait
5454 runs-on : ubuntu-latest
5555 needs :
56- - trigger_orca
56+ - orca_trigger
5757 steps :
5858 - name : trigger orca pipeline
5959 id : trigger
6969 --show-error \
7070 --fail \
7171 --header "PRIVATE-TOKEN: ${{ secrets.ORCA_READ_TOKEN }}" \
72- "https://code.jlab.org/api/v4/projects/${{ secrets.ORCA_PROJECT_ID }}/pipelines/${{ needs.trigger_orca .outputs.pipeline_id }}")
72+ "https://code.jlab.org/api/v4/projects/${{ secrets.ORCA_PROJECT_ID }}/pipelines/${{ needs.orca_trigger .outputs.pipeline_id }}")
7373 status=$(echo $response | jq -r '.status')
7474 echo "Current status: $status (elapsed: ${elapsed}s)"
7575 case $status in
You can’t perform that action at this time.
0 commit comments