mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 23:36:12 +00:00
ci: Use shell option to enable tty in gha
A tty is required for testing the debug console Signed-off-by: Ryan Savino <ryan.savino@amd.com>
This commit is contained in:
parent
03923e80c4
commit
f26ba72b52
14
.github/workflows/run-kata-coco-tests.yaml
vendored
14
.github/workflows/run-kata-coco-tests.yaml
vendored
@ -92,7 +92,12 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
timeout-minutes: 100
|
||||
run: bash tests/integration/kubernetes/gha-run.sh run-tests
|
||||
# GHA container doesn't support TTY by default
|
||||
# script shell workaround required to start a session with TTY support
|
||||
# See: https://github.com/actions/runner/issues/241
|
||||
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
|
||||
run: |
|
||||
./tests/integration/kubernetes/gha-run.sh run-tests
|
||||
|
||||
- name: Delete kata-deploy
|
||||
if: always()
|
||||
@ -177,7 +182,12 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
timeout-minutes: 50
|
||||
run: bash tests/integration/kubernetes/gha-run.sh run-tests
|
||||
# GHA container doesn't support TTY by default
|
||||
# script shell workaround required to start a session with TTY support
|
||||
# See: https://github.com/actions/runner/issues/241
|
||||
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
|
||||
run: |
|
||||
./tests/integration/kubernetes/gha-run.sh run-tests
|
||||
|
||||
- name: Delete kata-deploy
|
||||
if: always()
|
||||
|
Loading…
Reference in New Issue
Block a user