Skip to content

Commit 185d093

Browse files
committed
chore(ci/cd): improve build
1 parent d1a9e25 commit 185d093

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/lf-linux-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565
with:
6666
egress-policy: 'audit'
6767

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

73-
- name: 'checkout the lib repo'
73+
- name: 'Checkout the lib repo'
7474
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
7575
with:
7676
repository: 'Linuxfabrik/lib'
@@ -135,7 +135,7 @@ jobs:
135135
with:
136136
egress-policy: 'audit'
137137

138-
- name: 'upload the output as monitoring-plugins-linux-packages'
138+
- name: 'Upload the output as monitoring-plugins-linux-packages'
139139
uses: 'actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08' # v4.6.0
140140
with:
141141
name: 'monitoring-plugins-linux-packages'

build/rocky9/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ fi
2626
# include shared functions
2727
. "$BUILD_SHARED_DIR/shared.sh"
2828

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

3332
compile_plugins "$MONITORING_PLUGINS_DIR"
3433

0 commit comments

Comments
 (0)