mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-31 04:41:56 -05:00
for reasons unknown, using a file descriptor no longer works on concourse (or in that docker container generally). It might be a change within cf-cli v7 vs v6. Either way, it does't work, so use a temporary file. Clean up the temporary file afterwards. If the command fails, the temporary file will still stick around, so I've added the file to the /tmp/ folder instead. it's full of secret keys and things so if you do have a deployment error while running locally, you should make sure you clean up the file (make cf-rollback and make clean will both do this for you).
7.7 KiB
7.7 KiB