atomist / sdm-pack-k8s

Extension Pack for an Atomist SDM to integrate Kubernetes deployments
Apache License 2.0
3 stars 2 forks source link

Support more environments that just staging, production, and independent #17

Closed ddgenome closed 5 years ago

ddgenome commented 5 years ago

Currently, the goal environment for a KubernetesDeploy is limited to "production", which gets converted to ProductionEnvironment, "testing", which gets converted to StagingEnvironment, and anything else gets converted to "IndependencOfEnvironment". This does not really capture many common scenarios. Determine some way to support more environments that does not break the general categorization of goals by environment.

/cc @cdupuis

cdupuis commented 5 years ago

Yeah, I've seen that too in one of the SDMs I recently worked on: https://github.com/atomisthq/xxx-sdm/blob/master/lib/machine/goals.ts#L57