Skip to content

Commit

Permalink
chore(ci/cd): improve build
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Jan 25, 2025
1 parent d1a9e25 commit 185d093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lf-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ jobs:
with:
egress-policy: 'audit'

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

- name: 'checkout the lib repo'
- name: 'Checkout the lib repo'
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
repository: 'Linuxfabrik/lib'
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
with:
egress-policy: 'audit'

- name: 'upload the output as monitoring-plugins-linux-packages'
- name: 'Upload the output as monitoring-plugins-linux-packages'
uses: 'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08' # v4.6.0
with:
name: 'monitoring-plugins-linux-packages'
Expand Down
5 changes: 2 additions & 3 deletions build/rocky9/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ fi
# include shared functions
. "$BUILD_SHARED_DIR/shared.sh"

source /opt/venv/bin/activate
python3 --version
python3 -m pip install --requirement="$MONITORING_PLUGINS_DIR/requirements.txt" --require-hashes
/opt/venv/bin/python --version
/opt/venv/bin/python -m pip install --requirement="$MONITORING_PLUGINS_DIR/requirements.txt" --require-hashes

compile_plugins "$MONITORING_PLUGINS_DIR"

Expand Down

0 comments on commit 185d093

Please sign in to comment.