Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build_deb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:

env:
ACT: false
GOSS_VERSION: v0.4.9

jobs:
setup:
Expand Down Expand Up @@ -216,8 +217,13 @@ jobs:
DEBIAN_FRONTEND=noninteractive apt-get install -y "$deb_file"

- name: Install Goss
env:
ARCH: ${{ inputs.arch == 'x86_64' && 'amd64' || inputs.arch == 'aarch64' && 'arm64'}}
run: |
curl -fsSL https://goss.rocks/install | sh
curl -L "https://github.com/goss-org/goss/releases/download/${GOSS_VERSION}/goss-linux-${{ env.ARCH }}" -o /usr/local/bin/goss
chmod +rx /usr/local/bin/goss

echo "/usr/local/bin" >> "$GITHUB_PATH"

- name: Run Goss tests
id: goss-tests
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/build_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on:
required: false
default: true

env:
GOSS_VERSION: v0.4.9

jobs:

setup:
Expand Down Expand Up @@ -209,9 +212,17 @@ jobs:
name: ${{ needs.packaging.outputs.artifact_name }}
path: ./docker-artifacts

- name: Install Goss / Dgoss
- name: Install Dgoss
env:
ARCH: ${{ inputs.arch == 'x86_64' && 'amd64' || inputs.arch == 'aarch64' && 'arm64'}}
run: |
curl -fsSL https://goss.rocks/install | sh
curl -L "https://github.com/goss-org/goss/releases/download/${GOSS_VERSION}/goss-linux-${{ env.ARCH }}" -o /usr/local/bin/goss
chmod +rx /usr/local/bin/goss

curl -L "https://github.com/goss-org/goss/releases/download/${GOSS_VERSION}/dgoss" -o /usr/local/bin/dgoss
chmod +rx /usr/local/bin/dgoss

echo "/usr/local/bin" >> "$GITHUB_PATH"

- name: Run Dgoss tests
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build_rpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:

env:
ACT: false
GOSS_VERSION: v0.4.9

jobs:
setup:
Expand Down Expand Up @@ -195,8 +196,13 @@ jobs:
dnf install -y ${{ steps.download_rpm.outputs.download-path }}/*.rpm

- name: Install Goss
env:
ARCH: ${{ inputs.arch == 'x86_64' && 'amd64' || inputs.arch == 'aarch64' && 'arm64'}}
run: |
curl -fsSL https://goss.rocks/install | sh
curl -L "https://github.com/goss-org/goss/releases/download/${GOSS_VERSION}/goss-linux-${{ env.ARCH }}" -o /usr/local/bin/goss
chmod +rx /usr/local/bin/goss

echo "/usr/local/bin" >> "$GITHUB_PATH"

- name: Run Goss tests
id: goss-tests
Expand Down
Loading