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

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

Closed
ll7 opened this issue Sep 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ll7
Copy link
Member

ll7 commented Sep 30, 2024

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

�[00;31mTask failed, see error above�[0m

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

�[00;31mTask failed, see error above�[0m

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

�[00;31mTask failed, see error above�[0m

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

�[00;31mTask failed, see error above�[0m
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

�[00;31mTask failed, see error above�[0m
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 ll7 added bug Something isn't working p2 labels Sep 30, 2024
@ll7 ll7 added this to the Before WS24 milestone Sep 30, 2024
@ll7
Copy link
Member Author

ll7 commented Sep 30, 2024

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

@ll7 ll7 modified the milestones: Before WS24, before ros training Oct 7, 2024
@JulianTrommer
Copy link
Member

This is fixed since b5 and precommit hooks were removed from the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants