File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ jobs:
4747 ANSIBLE_FORCE_COLOR : True
4848 OS_CLOUD : openstack
4949 CI_CLOUD : ${{ vars.CI_CLOUD }}
50+ outputs :
51+ ci_cloud : ${{ steps.ci.outputs.CI_CLOUD }}
5052 steps :
5153 - uses : actions/checkout@v2
5254
5355 - name : Record which cloud CI is running on
56+ id : ci
5457 run : |
55- echo CI_CLOUD: ${{ env.CI_CLOUD }}
58+ echo " CI_CLOUD= ${{ env.CI_CLOUD }}" >> "$GITHUB_OUTPUT"
5659
5760 - name : Setup environment
5861 run : |
@@ -111,7 +114,7 @@ jobs:
111114 - RL9
112115 - RL9-cuda
113116 exclude :
114- - cloud : LEAFCLOUD
117+ - cloud : ${{ needs.image_upload.outputs.ci_cloud }}
115118
116119 env :
117120 ANSIBLE_FORCE_COLOR : True
Original file line number Diff line number Diff line change 5353 bash .github/bin/get-s3-image.sh ${{ inputs.image_name }} ${{ inputs.bucket_name }}
5454
5555 - name: Cleanup OpenStack Image (on error or cancellation)
56- if: cancelled()
56+ if: cancelled() || failure()
5757 run: |
5858 . venv/bin/activate
5959 image_hanging=$(openstack image list --name ${{ inputs.image_name }} -f value -c ID -c Status | grep -v ' active$' | awk '{print $1}')
You can’t perform that action at this time.
0 commit comments