Frank Shen
02/27/2024, 4:49 PMflytectl update launchplan -p mlp -d development mlp-demo_train_lp --version 5aa6c427ad8c15bd0ac1ad2df00af536195a091f --activate
The error is:
Error: update aborted by user
{"json":{},"level":"error","msg":"update aborted by user","ts":"2024-02-26T23:50:45Z"}
The following changes are to be applied.
--- before
+++ after
@@ -1,2 +1,2 @@
-state: 0
+state: 1
Continue? [y/n]:
Error: Process completed with exit code 1.
However, I can run flytectl get launchplan & pyflyte register workflows commands fine in Git Actions. (I have installed flytectl 0.8+ and configured the .flyte/config.yaml in the Git actions workflow.
And I can run the same flytectl update launchplan as above from my local PC fine. (flytectl 0.6+).
Has anyone had this experience and what is the issue?
It seems flytectl version 0.8+ is waiting for user input to confirm the launchplan update, while flytectl 0.6 is not.
Continue? [y/n]:
Git actions workflow is not interactive terminal, so it’ll abort/fail.Justin Boutwell
02/27/2024, 6:25 PM--force
flag to push the change without user inputJustin Boutwell
02/27/2024, 6:25 PMFrank Shen
02/27/2024, 6:26 PMflytectl update launchplan -p mlp -d development mlp-demo_train_lp --force --version 5aa6c427ad8c15bd0ac1ad2df00af536195a091f --activate
Justin Boutwell
02/27/2024, 6:28 PMFrank Shen
02/27/2024, 6:28 PM