nginxinc / kic-reference-architectures

MARA: Modern Application Reference Architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: startup scripts hang on "Checking for required secrets"

qdzlug opened this issue · comments

Describe the bug
As noted in the title, the startup scripts hang looking for the database passwords; the workaround is to add these manually to the configuration file:

          pulumi config set sirius:accounts_pwd --secret "Password" -C pulumi/python/kubernetes/applications/sirius -s marajenkaws${BUILD_NUMBER}
          pulumi config set sirius:ledger_pwd --secret "Password" -C pulumi/python/kubernetes/applications/sirius -s marajenkaws${BUILD_NUMBER}

To Reproduce
Steps to reproduce the behavior:

  1. Run deployment w/o setting passwords first.
  2. Deployment will hang.

Expected behavior
Deployment should work as designed.

Your environment
n/a

Additional context
Most likely introduced by #131

Interestingly, this only appears to happen when the jobs are run via Jenkins; running from the CLI works as expected. The shell scripts being run are bash scripts, and the shebang definitely is for bash. The scripts are interpreted by sh on the Jenkins side (I believe that is the default but have to check).

I will put some debugging in place in my repo and test from there.