From bcc4db0fb0cf20ae1a3ddf49b60c37ac76d36824 Mon Sep 17 00:00:00 2001 From: Adam Saleh Date: Sep 27 2023 09:01:57 +0000 Subject: Removed one test job and disabled pager in tests --- diff --git a/.github/workflows/centos-stream8.yml b/.github/workflows/centos-stream8.yml index bd22584..225ad86 100644 --- a/.github/workflows/centos-stream8.yml +++ b/.github/workflows/centos-stream8.yml @@ -1,19 +1,4 @@ jobs: - test_c8s: - name: test_c8s - runs-on: ubuntu-latest - environment: centosduffy - steps: - - uses: "actions/checkout@v2" - - run: printf '%s\n' "$DUFFYY_SSH_PRIVATE_KEY" > /tmp/id_centos_stream - env: - DUFFYY_SSH_PRIVATE_KEY: ${{ secrets.DUFFYY_SSH_PRIVATE_KEY }} - - run: chmod 600 /tmp/id_centos_stream - - run: sudo python3 -m pip install duffy fabric httpx - - run: python3 t_functional_duffy_runner/src/__main__.py --arch=x86 --release=centos-8s --sshkey=/tmp/id_centos_stream --path=$GITHUB_WORKSPACE - env: - DUFFY_AUTH_NAME: ${{ secrets.DUFFY_AUTH_NAME }} - DUFFY_AUTH_KEY: ${{secrets.DUFFY_AUTH_KEY}} test_c9s: name: test_9s runs-on: ubuntu-latest diff --git a/tests/0_lib/functions.sh b/tests/0_lib/functions.sh index 2b92aa9..1b7231e 100755 --- a/tests/0_lib/functions.sh +++ b/tests/0_lib/functions.sh @@ -233,6 +233,11 @@ function t_Select_Alternative t_Log "Selecing alternative $option for $name--$search" /bin/echo "$option"|/usr/sbin/alternatives --config "$name" >/dev/null 2>&1 } + +# should help with sometimes commands triggering pager and waiting for user input +export PAGER=cat +export SYSTEMD_PAGER=cat + export -f t_Log export -f t_CheckExitStatus export -f t_InstallPackage