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 27, 2025
1 parent a818056 commit 0313ed1
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/debian11/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && \
RUN gem install fpm

RUN python3.9 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
2 changes: 1 addition & 1 deletion build/debian12/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && \
RUN gem install fpm

RUN python3 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
2 changes: 1 addition & 1 deletion build/rocky8/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN dnf --assumeyes install --nodocs make selinux-policy-devel && \
dnf clean all

RUN python3.9 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
2 changes: 1 addition & 1 deletion build/rocky9/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN dnf --assumeyes install --nodocs make selinux-policy-devel && \
dnf clean all

RUN python3.12 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==75.8.0 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==75.8.0 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
8 changes: 4 additions & 4 deletions build/shared/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ prepare_fpm() {
EOF

for file in $(cd /tmp/output/summary/check-plugins || exit 1; find . -type f | sort); do
# strip leading './'
file="'${file#./}'"
file=${file#./} # Remove leading './'
file=${file// /\\ } # Escape all spaces
echo "$file=/usr/lib64/nagios/plugins/$file" >> .fpm
done

Expand Down Expand Up @@ -145,8 +145,8 @@ EOF
EOF

for file in $(cd /tmp/output/summary/notification-plugins || exit 1; find . -type f | sort); do
# strip leading './'
file="'${file#./}'"
file=${file#./} # Remove leading './'
file=${file// /\\ } # Escape all spaces
echo "$file=/usr/lib64/nagios/plugins/notifications/$file" >> .fpm
done

Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu2004/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN gem install dotenv --version 2.8.1 --no-document && \
gem install fpm --ignore-dependencies --no-document

RUN python3.9 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu2204/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && \
RUN gem install fpm

RUN python3 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==50.3.2 && \
/opt/venv/bin/python -m pip install nuitka==2.6

# Verify Python installation
Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu2404/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update && \
RUN gem install fpm

RUN python3 -m venv --system-site-packages /opt/venv && \
/opt/venv/bin/python -m pip install pip==24.3.1 wheel==0.45.1 setuptools==75.8.0 && \
/opt/venv/bin/python -m pip install pip==25.0 wheel==0.45.1 setuptools==75.8.0 && \
/opt/venv/bin/python -m pip install nuitka==2.5.9

# Verify Python installation
Expand Down

0 comments on commit 0313ed1

Please sign in to comment.