Stream: process-compose-flake

Topic: process-compose log in GitHub runners


view this post on Zulip Shivaraj B H (Feb 21 2024 at 23:00):

On my NixOS it is usually found at /tmp/process-compose-<user>.log but this file doesn’t exist on the GitHub runners, anyone happen to know where else could it be?

view this post on Zulip Shivaraj B H (Feb 22 2024 at 16:11):

That’s probably because nix flake check runs in sandbox mode. I could set the log_location somewhere in the build directory and create a process that will tail -f on the log: https://github.com/F1bonacc1/process-compose/blob/main/www/docs/logging.md

view this post on Zulip Shivaraj B H (Feb 22 2024 at 16:13):

But the problem is that the output is not very readable, need to expose log_configuration options in process-compose-flake

view this post on Zulip Srid (Feb 22 2024 at 16:15):

In the flake check how about cat'ing the log file at the end of a failed run?

view this post on Zulip Shivaraj B H (Feb 22 2024 at 16:16):

But there is no failed run, it’s an infinite loop


Last updated: Nov 21 2024 at 09:18 UTC