File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,8 +333,8 @@ jobs:
333333 OS_PROJECT_DOMAIN_ID : ${{ secrets.OS_PROJECT_DOMAIN_ID }}
334334 OS_USER_DOMAIN_NAME : ${{ secrets.OS_USER_DOMAIN_NAME }}
335335 run : |
336- openstack stack create -t ${{ github.workspace }}/.github/sno_heat_stack.yaml gha_sno_stack_${GITHUB_SHA:0:7 } --wait
337- floating_ip=$(openstack stack output show gha_sno_stack_${GITHUB_SHA:0:7 } heat_server_public_ip -c output_value -f value)
336+ openstack stack create -t ${{ github.workspace }}/.github/sno_heat_stack.yaml gha_sno_stack_${{ github.event.repository.name }}_${{ github.event.pull_request.number } } --wait
337+ floating_ip=$(openstack stack output show gha_sno_stack_${{ github.event.repository.name }}_${{ github.event.pull_request.number } } heat_server_public_ip -c output_value -f value)
338338 echo "$floating_ip api.${{ secrets.SNO_DOMAIN_NAME }}" | sudo tee -a /etc/hosts > /dev/null
339339 echo "$floating_ip console-openshift-console.apps.${{ secrets.SNO_DOMAIN_NAME }}" | sudo tee -a /etc/hosts > /dev/null
340340 echo "$floating_ip integrated-oauth-server-openshift-authentication.apps.${{ secrets.SNO_DOMAIN_NAME }}" | sudo tee -a /etc/hosts > /dev/null
@@ -394,4 +394,4 @@ jobs:
394394 OS_PROJECT_DOMAIN_ID : ${{ secrets.OS_PROJECT_DOMAIN_ID }}
395395 OS_USER_DOMAIN_NAME : ${{ secrets.OS_USER_DOMAIN_NAME }}
396396 run : |
397- openstack stack delete gha_sno_stack_${GITHUB_SHA:0:7 }
397+ openstack stack delete gha_sno_stack_${{ github.event.repository.name }}_${{ github.event.pull_request.number } }
You can’t perform that action at this time.
0 commit comments