So, Deployments are taking a realllly long time on...
# ask-community
m
So, Deployments are taking a realllly long time on our CI/CD machine. They're reasonable-ish when I run them interactively, but in CI/CD a super-stripped down "Hello World" flow took about 20 minutes to deploy. I'm using
ECSTask
and
s3
storage, and an
s3
filesystem. And while it's deploying it keeps repeating
botocore.credentials - Found credentials in environment variables.
n
Are you uploading many small files? Maybe there are files/dirs which you could add to the .prefectignore file if you don’t need them
m
Oh, I didn't realize the behavior now was to upload everything in the Working Directory. So the solution will be Find every file in our Flows directory Make a new folder for each one
cd
into them one-by-one and run the
py
files