Hi Team, I'm trying to deploy a workflow using the...
# ask-the-community
y
Hi Team, I'm trying to deploy a workflow using these steps: 1.
pyflyte init my_project
- init project 2.
pyflyte --pkgs workflows package
- packaging the project 3.
flytectl --config .config/local-config.yaml register files flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
The register command failing with non-informative error:
Copy code
Error: input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]
{"json":{"src":"main.go:13"},"level":"error","msg":"input package have some invalid files. try to run pyflyte package again [flyte-package.tgz]","ts":"2023-12-25T12:36:50+02:00"}
Any idea?
k
Can you try pyflyte register
Skip package and flytectl register
y
Yeah, the registration with pyflyte register is working, but not the package and registration with flytectl
k
That is odd we should look into it. Would love to reproduce
e
The
--archive
is missing in the
flytectl
call. Should be:
Copy code
flytectl --config .config/local-config.yaml register files --archive flyte-package.tgz -p data -d development --version 14190df1_1a1a_4b1a_8b1a_1a1a1a1a1a1a
y
I’ll try this thanks for your help @Eduardo Apolinario (eapolinario) 🙏