acquia / moonshot

Moonshot: Because releasing services shouldn't be a moonshot!
Apache License 2.0
53 stars 49 forks source link

Discussion: Build Management #83

Open askreet opened 8 years ago

askreet commented 8 years ago

@ghaabor introduces a list-builds command in #82, which highlights a very real need for the Moonshot pattern: builds management.

I see 3 basic needs:

I wonder if we want to use a Thor Subcommand pattern for the CLI interface, like:

bin/environment builds list --filter=release
bin/environment builds prune --filter=dev --days=30
bin/environment builds delete v1.0.7-rc2

I have a couple questions I'd love feedback on:

Thoughts?

janost commented 8 years ago

@askreet I like your CLI proposal. As for deleting old builds, I believe prune should only delete the dev builds generated by deploy-code. This seems to be a very useful feature for most users, implementing it as a core functionality would be great.

unn commented 8 years ago

I'm :+1: for supporting this in moonshot.

ghaabor commented 8 years ago

Sorry for the late answer, I'm on vacation this week. I like the idea of extending moonshot with a builds subcommand and I think all three of your CLI proposals are perfectly valid.

For your questions: