mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[ci] make wait-ssh the default behavior
I have no idea why I added this option or why we would want it to not be set :/ Fixes #74777 Pull Request resolved: https://github.com/pytorch/pytorch/pull/74816 Approved by: https://github.com/seemethere, https://github.com/janeyx99, https://github.com/malfet, https://github.com/cpuhrsch
This commit is contained in:
parent
8e12d2bf25
commit
f8b0f003c0
2 changed files with 4 additions and 4 deletions
6
.github/actions/teardown-linux/action.yml
vendored
6
.github/actions/teardown-linux/action.yml
vendored
|
|
@ -3,8 +3,8 @@ name: Teardown Linux
|
|||
description: Stuff that should always run at the end of a linux job
|
||||
|
||||
inputs:
|
||||
wait-ssh:
|
||||
description: If set, wait for ssh to drain before tearing down
|
||||
skip-wait-ssh:
|
||||
description: If set, don't wait for ssh to drain before tearing down
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ runs:
|
|||
# TODO working-directory: !{{ pytorch_directory }}
|
||||
# Always hold for active ssh sessions
|
||||
shell: bash
|
||||
if: inputs.wait-ssh != ''
|
||||
if: inputs.skip-wait-ssh == ''
|
||||
run: .github/scripts/wait_for_ssh_to_drain.sh
|
||||
|
||||
- name: Kill containers, clean up images
|
||||
|
|
|
|||
2
.github/workflows/_rocm-test.yml
vendored
2
.github/workflows/_rocm-test.yml
vendored
|
|
@ -162,4 +162,4 @@ jobs:
|
|||
uses: pytorch/pytorch/.github/actions/teardown-linux@master
|
||||
if: always()
|
||||
with:
|
||||
wait-ssh: false
|
||||
skip-wait-ssh: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue