mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-28 05:01:06 -04:00
Some time between version 6.32 and 6.34 of the Cloudfoundry CLI the ability to redirect the output of a command into `cf push -f` was broken. The only alternative we can think of is writing the file to disk, doing the deploy, and then deleting it. We’re careful to write to a directory outside the current repo to avoid: - including secrets in the deployed package - accidentally checking the secrets into source control `/tmp/` seems to be a good place to put it, since, even if the delete doesn’t run, it will get cleaned up eventually (probably when the machine next boots). Right now this only applies to people deploying from their local machines. At some point it will affect Jenkins too, but isn’t now. So this commit only fixes the problem for the commands that developers run locally. fixup! Write manifests to disk instead of redirecting
8.5 KiB
8.5 KiB