OpenCHAMI / deployment-recipes

Ochami deployment recipes
MIT License
8 stars 10 forks source link

[BUG] bash_functions.sh causes issues on a Github Runner because it runs in interactive mode. #65

Closed mjohnsonnoya closed 1 month ago

mjohnsonnoya commented 2 months ago

Describe the bug When running the quickstart on a Github Runner, I get errors on step 5:

source bash_functions.sh
# Download the root ca so you can validate the ssl certificates included with your system
get_ca_cert > cacert.pem

This returns an error because the bash_functions.sh expect to be run interactively–because of the -it flag–(a Github runner is not interactive).

Screenshots Screenshot 2024-07-09 at 9 45 14 AM

synackd commented 1 month ago

@middle-membership600 I edited your comment to use a code block so it's more clear which commands you're running.

synackd commented 1 month ago

Does this branch work for you? https://github.com/synackd/deployment-recipes/tree/quickstart-bash-functions-no-it

mjohnsonnoya commented 1 month ago

I have just tested this and this new branch works.

synackd commented 1 month ago

Solved with the merge of #69.