Skip to content

Commit

Permalink
Enable bash debug in actions for .deb-based distros for issue #477 (#478
Browse files Browse the repository at this point in the history
)

There is an intermittent issue where the installer will not detect
deb-based distros properly, attempting to understand when this happens

Signed-off-by: Philip Balinov <[email protected]>
  • Loading branch information
philipbalinov authored Sep 26, 2024
1 parent fb67420 commit a9738b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_certificate_not_expired.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
shell: bash
run: |
echo Installing Mondoo cnspec...
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
bash -xc "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
- name: Check expiration of public-code-signing.cer
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_gpg_key_not_expired.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
shell: bash
run: |
echo Installing Mondoo cnspec...
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
bash -xc "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
- name: Check expiration of public-package-signing.gpg
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-released-install-sh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install.sh/${{ matrix.package }} on ${{ matrix.distro }}
run: |
docker run --rm -v $(pwd):/work -w /work ${{ matrix.distro }} \
bash -c "apt-get update && apt-get install -y curl && curl -sSL https://install.mondoo.com/sh/${{ matrix.package }} | bash - && ${{ matrix.package }} version | grep -q ${{ steps.version.outputs.version }}"
bash -c "apt-get update && apt-get install -y curl && curl -sSL https://install.mondoo.com/sh/${{ matrix.package }} | bash -x - && ${{ matrix.package }} version | grep -q ${{ steps.version.outputs.version }}"
install-sh-yum:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a9738b5

Please sign in to comment.