Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks: Fix image cache in local podman container, fix ruff 0.7 errors #626

Merged
merged 2 commits into from
Oct 22, 2024
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
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ select = [
"W", # warnings (mostly whitespace)
"YTT", # flake8-2020
]

ignore = [
"PT001", "PT023", # different versions can't make up their mind how to write decorators
]
2 changes: 1 addition & 1 deletion tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ container like this:
```sh
podman run -it --rm --device=/dev/kvm --memory=6g --pids-limit=4096 --shm-size=256m \
--security-opt label=disable -v ~/.cache/cockpit-images:/cache/images \
-e TEST_JOBS=2 ghcr.io/cockpit-project/tasks bash
-e COCKPIT_IMAGES_DATA_DIR=/cache/images -e TEST_JOBS=2 ghcr.io/cockpit-project/tasks
```

Inside, you can then run a test, for example
Expand Down