Skip to content

Commit

Permalink
Debug CI
Browse files Browse the repository at this point in the history
Signed-off-by: Iker Pedrosa <[email protected]>
  • Loading branch information
ikerexxe committed Dec 17, 2024
1 parent 5094a3d commit 9c06e77
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ jobs:
with:
path: sssd

- name: Setup upterm session
uses: lhotari/action-upterm@v1

- name: Setup containers
uses: SSSD/sssd-ci-containers/actions/setup@master
with:
Expand Down
18 changes: 18 additions & 0 deletions contrib/ci/distro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,24 @@ declare -r DISTRO_BRANCH="-$DISTRO_FAMILY-$DISTRO_ID-$DISTRO_RELEASE-"
# Args: [pkg_name...]
function distro_pkg_install()
{
echo "*****/etc/pam.d/sudo*****"
cat /etc/pam.d/sudo
echo "*****/etc/pam.d/passwd*****"
cat /etc/pam.d/passwd
echo "*****/etc/pam.d/system-auth*****"
cat /etc/pam.d/system-auth
echo "*****/etc/nsswitch.conf*****"
cat /etc/nsswitch.conf
echo "*****/etc/passwd*****"
cat /etc/passwd
echo "*****/etc/group*****"
cat /etc/group
echo "*****/etc/sudo.conf*****"
cat /etc/sudo.conf
dnf info sudo
journalctl -b > output.log
echo "*****journalctl*****"
cat output.log
declare prompt=$'Need root permissions to install packages.\n'
prompt+="Enter sudo password for $USER: "
if [[ "$DISTRO_BRANCH" == -redhat-fedora-* ]]; then
Expand Down

0 comments on commit 9c06e77

Please sign in to comment.