Move mergeAbraShEnv
and use it in deploy, rollback, upgrade
#638
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
kadabra has a handy
mergeAbraShEnv
function, we could potentially use it in regularapp deploy
/app upgrade
/app rollback
.I believe that is already the case 👁️🗨️ I don't think that's documented anywhere for operators to know that these env vars will be put into the app env? I guess it's more for getting config versions and not arbitrary env vars for which the
.env
should be used?Ah sorry for being unclear.
cli/updater/updater.go
(kadabra) has this:The other 3 all copypasta the for loop, e.g.
cli/app/deploy.go#345
:So we'd be saving uhh 2 lines per instance by replacing with
mergeAbraShEnv
, maybe not worth doing idk.Ah gotcha, nah it sounds legit! There's loads of duplication and "moving fast"-isms around the codebase, so feel free go for stuff. If the tests pass then it's usually good to blast stuff out. The integration suite is pretty gnarly so we can be confident if it passes.
Oh wait this was merged with !657