thousands-car-79657
04/26/2023, 11:34 PMRetrieve all the workflows with limit and sorting:
flytectl get -p flytesnacks -d development workflow --filter.sortBy=created_at --filter.limit=1 --filter.asc
Thanks!freezing-airport-6809
freezing-airport-6809
thousands-car-79657
04/27/2023, 6:21 AMpyflyte register
• Have a versioning scheme so that each workflow version is associated with a git commit while there is no version conflict when two developers are testing different code in the same git branch
◦ I have 3 environments: development, staging, production, and want to be able to:
▪︎ for development: register and execute the same version
▪︎ for staging: the same as development, plus executing workflows on main with previously registered versions (not necessarily the latest main version)
▪︎ for production: execute the latest version registered in production (which is why I’d like to fetch the latest workflow programmatically)
Hope these don’t sound too confusing. I’m open to suggestions on how to do those things the standard way and happy to elaborate more if needed. Thanks simple smilefreezing-airport-6809
freezing-airport-6809
thousands-car-79657
04/27/2023, 4:06 PMlist_workflows_paginated
not recommended?