Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compat Flows
def main():
if product_one_env():
build = build_one()
deploy = deploy_one(build)
run_one(deploy, build)
elif product_two_env():
build = build_two()
deploy = deploy_two(build)
run_two(deploy, build)
def main():
if product_one_env():
raise NotImplementedError('Unsupported')
elif product_two_env():
build = build_two()
deploy = deploy_two(build)
run_two(deploy, build)
def main():
product = get_env()
build = build_generic(product)
deploy = deploy_generic(product, build)
run_generic(product, deploy, build)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.