una-auxme / paf23

MIT License
6 stars 0 forks source link

[Bug]: During commit on the old setup with b5 installed git hooks: `paf23/build/docker-compose.nvidia.yaml: no such file or directory` #299

Open ll7 opened 3 hours ago

ll7 commented 3 hours ago

Current Behavior

Wanted to commit a markdown file.

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -

Starting git hooks

No python files in commit, skip python linting
stat /home/luttkule/git/paf23/build/docker-compose.nvidia.yaml: no such file or directory

Error: '"$@"' exited with status 14
b5 exiting with status 1

Task failed, see error above

Error: '( export COMPOSE_PROJECT_NAME=paf23; export DOCKER_HOST_SYSTEM=linux; export DOCKER_HOST_USERNAME=luttkule; export DOCKER_HOST_UNIX_UID=1000; export DOCKER_HOST_UNIX_GID=1000; "$@" )' exited with status 1
b5 exiting with status 1

Task failed, see error above

Error: '( cd /home/luttkule/git/paf23/build && docker:run docker compose -f docker-compose.yaml -f docker-compose.nvidia.yaml "$@" )' exited with status 1
b5 exiting with status 1

Task failed, see error above

Error: '( cd /home/luttkule/git/paf23/build || return 1; if [ $command_strategy == 'exec' ]; then
    docker:compose exec "${options[@]}" "${exec_options[@]}" "$container" "$@";
else
    docker:compose run "${options[@]}" "${run_options[@]}" "$container" "$@";
fi )' exited with status 1
b5 exiting with status 1

Task failed, see error above
b5 1.4.1
Found project path (/home/luttkule/git/paf23)
Found Taskfile (Taskfile)
Found config (config.yml, config.local.yml)
Config files ending in ".yml" are deprecated, please use ".yaml" instead
Executing task python:lint

Task execution failed, see above

Error: 'b5 python:lint' exited with status 1
b5 exiting with status 1

Task failed, see error above
b5 1.4.1
Found project path (/home/luttkule/git/paf23)
Found Taskfile (Taskfile)
Found config (config.yml, config.local.yml)
Config files ending in ".yml" are deprecated, please use ".yaml" instead
Executing task lint

Task execution failed, see above

Could be related to #274 and #265

Expected Behavior

No response

How to reproduce the issue

No response

ll7 commented 3 hours ago

I have no idea, why the pre-commit hook without python changes is looking for an old nvidia-config file. stat /home/luttkule/git/paf23/build/docker-compose.nvidia.yaml: no such file or directory