Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core feature] activate launchplans via pyflyte #3587

Closed
2 tasks done
wckdman opened this issue Apr 12, 2023 · 2 comments
Closed
2 tasks done

[Core feature] activate launchplans via pyflyte #3587

wckdman opened this issue Apr 12, 2023 · 2 comments
Labels
enhancement New feature or request flytekit FlyteKit Python related issue

Comments

@wckdman
Copy link

wckdman commented Apr 12, 2023

Motivation: Why do you think this is important?

Launchplan is tied to a specific workflow version, and it needs to be activated with two flytectl commands:

  • flytectl get launchplans -p {project} -d {domain} {launchplan_name} to list all launchplans
  • flytectl update launchplan -p {project} -d {domain} {launchplan_name} --version {version} --activate to activate the correct one

It would be nice to simplify this process.

Goal: What should the final outcome look like, ideally?

Create a CLI command which activates the latest version of a launch plan by default. It could also accept a specific version as a parameter.

Describe alternatives you've considered

I propose to add this feature to pyflyte

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@wckdman wckdman added enhancement New feature or request untriaged This issues has not yet been looked at by the Maintainers labels Apr 12, 2023
@welcome
Copy link

welcome bot commented Apr 12, 2023

Thank you for opening your first issue here! 🛠

@eapolinario eapolinario added flytekit FlyteKit Python related issue and removed untriaged This issues has not yet been looked at by the Maintainers labels Apr 14, 2023
@wckdman
Copy link
Author

wckdman commented Apr 19, 2023

Now we can activate launch plans by this command
pyflyte launchplan --activate -p project-name -d development launch plan_name

It will activate the latest version by default

@wckdman wckdman closed this as completed Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flytekit FlyteKit Python related issue
Projects
None yet
Development

No branches or pull requests

2 participants