Open cdhanna opened 4 months ago
it would be nice to have explicit switches like this
beam services enable-remote-thing --ids ToastTruck,Fish
Alternatives to --overwrite
--archive-remote
# this is similar to --overwrite
beam services teardown-everything-on-the-server
beam services deploy
What about...
beam deploy --additive
beam deploy --overwrite
beam deploy TunaTruck --disable # turn off TunaTruck, and do nothing else
beam deploy TunaTruck --enable # turn on TunaTruck, and do nothing else
beam deploy plan -o plan.json
beam deploy fire plan.json
beam deploy
internal discussion- https://disruptorbeam.slack.com/archives/C03P1J5NR97/p1716410793532369?thread_ts=1716408419.099319&cid=C03P1J5NR97
Today, if you have a remote-only service, and you do
then the remote only service is left AS IS, and nothing happens to it.
However, it would be nice to offer a flag,
--overwrite
that allows you to ARCHIVE everything on the remote that isn't part of the current local source. If anything is detected as ready to get archived, we should issue a confirmation to the user, and allow them to back out of the operation.Additionally, we should add a
--force
flag that disables those confirmations.