Skip to content

Commit

Permalink
chore: fix ci/cd workflow definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Jan 8, 2025
1 parent 7a0219b commit 7e2e59f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
egress-policy: audit

- name: 'checkout the monitoring-plugins repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
path: '${{ env.BASE_DIR }}/repos/monitoring-plugins'

- name: 'checkout the lib repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
repository: 'Linuxfabrik/lib'
ref: '${{ inputs.lib-repo-ref || github.ref_name }}'
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
egress-policy: audit

- name: 'upload the output as monitoring-plugins-linux-packages'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b' # v4.5.0
with:
name: 'monitoring-plugins-linux-packages'
path: '${{ env.BASE_DIR }}/build/'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-test-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
egress-policy: audit

- name: 'checkout the monitoring-plugins repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
path: '${{ env.BASE_DIR }}/repos/monitoring-plugins'
ref: '${{ github.event.workflow_run.head_sha }}'
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
egress-policy: audit

- name: 'upload the output as monitoring-plugins-test-output'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b' # v4.5.0
with:
name: 'monitoring-plugins-test-output'
path: '${{ env.BASE_DIR }}/output/'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/nuitka-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
egress-policy: audit

- name: 'checkout the monitoring-plugins repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2

- name: 'create list of windows checks'
run: |
Expand Down Expand Up @@ -71,19 +71,19 @@ jobs:
egress-policy: audit

- name: 'checkout the monitoring-plugins repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
# Relative path under $GITHUB_WORKSPACE to place the repository
path: 'monitoring-plugins'

- name: 'checkout the lib repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
repository: 'Linuxfabrik/lib'
path: 'lib'

- name: 'install python3.11'
uses: 'actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1'
uses: 'actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236' # v4.7.1
with:
python-version: '3.11' # update as soon as nuitka supports latest python

Expand All @@ -101,7 +101,7 @@ jobs:
- run: 'python.exe -m nuitka --assume-yes-for-downloads --mingw64 --follow-imports --include-plugin-directory="${{ github.workspace }}\lib" --output-dir=C:\nuitka-compile-temp --remove-output --standalone ${{ github.workspace }}\monitoring-plugins\check-plugins\${{ matrix.check }}\${{ matrix.check}}'

- name: 'Upload build output as artifact for later zipping'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b' # v4.5.0
with:
name: 'nuitka-build-output-${{ matrix.check }}'
path: 'C:\nuitka-compile-temp\${{ matrix.check }}*'
Expand All @@ -122,7 +122,7 @@ jobs:
egress-policy: audit

- name: 'download all artifacts'
uses: 'actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8'
uses: 'actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16' # v4.1.8
with:
path: 'C:\artifacts'

Expand All @@ -138,7 +138,7 @@ jobs:
done
- name: 'upload the output as monitoring-plugins'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0'
uses: 'actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b' # v4.5.0
with:
name: 'monitoring-plugins'
path: 'C:\output\'

0 comments on commit 7e2e59f

Please sign in to comment.