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
9 changes: 7 additions & 2 deletions k8s-sidecar.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package:
name: k8s-sidecar
version: 1.24.6
epoch: 0
description: "python 2 and 3 compatibility library"
epoch: 1
description: "container intended to run inside a kubernetes cluster to collect config maps with a specified label and store the included files in a local folder"
copyright:
- license: MIT
dependencies:
Expand Down Expand Up @@ -32,7 +32,12 @@ pipeline:
mv src/* ${{targets.destdir}}/usr/share/app
cd ${{targets.destdir}}/usr/share/app
python -m venv .venv

# Mitigate CVE-2022-40897 / GHSA-r9hx-vwmv-q579
.venv/bin/pip install --upgrade setuptools

.venv/bin/pip install --no-cache-dir -r requirements.txt

rm requirements.txt
find .venv \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' \+

Expand Down
3 changes: 3 additions & 0 deletions maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ pipeline:

- runs: |
cd maven

# Mitigate CVE-2023-2976 / GHSA-7g45-4rm6-3mm3
mvn versions:set-property -Dproperty=guavaVersion -DnewVersion=32.1.1-jre

mkdir -p ${{targets.destdir}}/usr/share/java/maven
mkdir -p ${{targets.destdir}}/usr/share/java/maven/bin
mkdir -p ${{targets.destdir}}/usr/share/java/maven/boot
Expand Down