zulip-archive icon indicating copy to clipboard operation
zulip-archive copied to clipboard

Print the executed commands in entrypoint.sh

Open refeed opened this issue 3 years ago • 1 comments

Currently it is just printing the result of the command instead of the command that being run. e.g https://github.com/refeed/zarchive-refeed/runs/7280779778?check_suite_focus=true

I think it would be better to print the commands that are being run for easier debugging.

My current idea is to add set -x in the beginning of entrypoint.sh.

refeed avatar Jul 11 '22 11:07 refeed

I just remembered that we have some commands that uses the secrets directly, I am afraid those will be exposed in the logs

refeed avatar Jul 11 '22 11:07 refeed