Skip to content

apko include can loop forever by recursively included files. #1627

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

Open
justinvreeland opened this issue Apr 17, 2025 · 0 comments
Open

apko include can loop forever by recursively included files. #1627

justinvreeland opened this issue Apr 17, 2025 · 0 comments

Comments

@justinvreeland
Copy link

The feature is marked deprecated but it's useful and I'd like to use it. We could probably track the files that were included to check against.

~/scratch
❯ cat apko-loop.yaml 
include: ./apko-loop.yaml
❯ apko build ./apko-loop.yaml test test
2025/04/17 09:14:07 INFO including ./apko-loop.yaml for configuration
2025/04/17 09:14:07 INFO including ./apko-loop.yaml for configuration
...
2025/04/17 09:14:12 INFO including ./apko-loop.yaml for configuration
fish: Job 1, 'apko build ./apko-loop.yaml tes…' terminated by signal SIGTERM (Polite quit request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant