callawaycloud / generator-ccc

Yeoman Generator for Callaway Cloud Salesforce Projects
19 stars 8 forks source link

Require Affirmative Action Before Deploying With Manual Runs #19

Open ralphcallaway opened 4 years ago

ralphcallaway commented 4 years ago

Currently if you run either of the manual deploy options it goes straight to prod if it's successful. Would be nice if it just validated and then we could quick deploy if we're ready.

Accidentally deployed expecting the same pattern of build/validate/quick deploy to happen as the primary pipeline. Not that the name of the pipeline wasn't clear about the action.

This also opens up letting the client quick deploy, and just validating work in progress that you're not ready to deploy (so you know it'll deploy on the deploy date).

ChuckJonas commented 4 years ago

I kinda disagree. I really prefer this being one and done as I can fire off a deployment and just check back in on it when it's done.

There are also certain metadata packages that cannot be deployed via quick-deploy, in which cases this these manual pipelines are fallbacks.

We could add a separate manual pipeline with two steps, (or perhaps combine it with a flag and an optional second step)

It's worth noting that if you let your client deploy the quick-deploy, you are likely to lose your commit history as it may be picked up by the auto-checkout