Skip to content

Commit 8da3daa

Browse files
committed
Enable bash debug in actions for .deb-based distros for issue #477
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 <philip@mondoo.com>
1 parent fb67420 commit 8da3daa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/check_certificate_not_expired.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
shell: bash
1717
run: |
1818
echo Installing Mondoo cnspec...
19-
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
19+
bash -xc "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
2020
2121
- name: Check expiration of public-code-signing.cer
2222
shell: bash

.github/workflows/check_gpg_key_not_expired.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
shell: bash
1818
run: |
1919
echo Installing Mondoo cnspec...
20-
bash -c "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
20+
bash -xc "$(curl -sSL https://install.mondoo.com/sh/cnspec)"
2121
2222
- name: Check expiration of public-package-signing.gpg
2323
shell: bash

.github/workflows/test-released-install-sh.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install.sh/${{ matrix.package }} on ${{ matrix.distro }}
4343
run: |
4444
docker run --rm -v $(pwd):/work -w /work ${{ matrix.distro }} \
45-
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 }}"
45+
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 }}"
4646
4747
install-sh-yum:
4848
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)