Jack Chang
01/28/2022, 6:59 PM[28 January 2022 10:46am]: Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/Users/jackchang/'")
I went through some threads and added a gitlab repo as the storage and added that to my flow. Any ideas on what I should try next? 🙂Kevin Kho
01/28/2022, 7:11 PMJack Chang
01/28/2022, 7:52 PMFailed to load and execute Flow's environment: GitlabGetError('404 Project Not Found')
I've set up cloud secret with the gitlab and set a deploy key 😕Anna Geller
01/28/2022, 8:06 PMexport PREFECT__CLOUD__USE_LOCAL_SECRETS=false
it could be your local Prefect version tries to get local Secretsaccess_token_secret
?GITLAB_ACCESS_TOKEN
. If you want to use a different name for the Secret, you can configure that using the argument access_token_secret
. Note: this is just a reference to the PrefectSecret (i.e. Secret’s name), rather than the Secret itselfJack Chang
01/28/2022, 8:17 PMGITLAB_ACCESS_TOKEN
and exported the env variable - still getting the same error 😞Anna Geller
01/28/2022, 8:18 PMKevin Kho
01/29/2022, 1:29 AMflow..storage = SomeStorage(.., secrets=["GITLAB_ACCESS_TOKEN"]