Skip to content

Commit

Permalink
fix: poetry export after 2.0 (#2678)
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Jan 20, 2025
1 parent 74efa09 commit fa683e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd-baremtal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
name: Produce BYOE package
run: |
pip3 install poetry
poetry export --without-hashes >package/etc/requirements.txt
poetry self add poetry-plugin-export
poetry export --without-hashes >package/etc/requirements.txt
tar rvf /tmp/baremetal.tar -C package/etc .
tar rvf /tmp/baremetal.tar -C . pyproject.toml
tar rvf /tmp/baremetal.tar -C . poetry.lock
Expand Down
2 changes: 2 additions & 0 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ RUN apk add -U --upgrade --no-cache \
ca-certificates \
poetry \
gdb \
py3-poetry-plugin-export \
py3-virtualenv \
&& groupadd --gid 1024 syslog \
&& useradd -M -g 1024 -u 1024 syslog \
&& usermod -L syslog \
Expand Down
2 changes: 2 additions & 0 deletions package/Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ RUN apk add -U --upgrade --no-cache \
ca-certificates \
poetry \
gdb \
py3-poetry-plugin-export \
py3-virtualenv \
&& groupadd --gid 1024 syslog \
&& useradd -M -g 1024 -u 1024 syslog \
&& usermod -L syslog \
Expand Down

0 comments on commit fa683e1

Please sign in to comment.