Rahul Mehta
04/24/2022, 11:00 PMtest
, domain development
& a version v1
, how would I "promote" that workflow to staging
in the same project w/ the same version? With what I've seen in the flytekit API, it only seems possible to register/create a workflow based on what's in the source code (ie. the decorated workflow function). Is it possible to "copy"/promote a workflow to a different domain only w/ the API? I also definitely could be misunderstanding how the domains abstraction is supposed to be applied to enable promotion/a proper CI/CD approach to pipelinesKetan (kumare3)
Rahul Mehta
04/25/2022, 12:03 AMEach domain, may change the data-directory, associated roles or some meta attributes like labels, annotationsIs this something that's configured in the flyte-admin configmap, or elsewhere?
Ketan (kumare3)
flytectl register
all of these things are inputsRahul Mehta
04/25/2022, 1:02 AMwf = sandbox_remote.fetch_launch_plan(
project="flytetester",
domain="development",
name="flyte_tests.example_workflow.example",
version="<commit_hash>",
)
sandbox_remote.execute(
entity=wf,
domain="staging",
inputs={},
)
Ketan (kumare3)