Skip to content

Commit

Permalink
Removed one test job and disabled pager in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSaleh committed Sep 27, 2023
1 parent e5de355 commit bcc4db0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/centos-stream8.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions tests/0_lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcc4db0

Please sign in to comment.