Create a .flyteignore
to ignore additional files whilst fast-registering
#4734
Replies: 3 comments
-
+1 We certainly were in situations as well where people added certain files/dirs to their .gitignore/.dockerignore for Flyte's fast registration but then couldn't actually commit those changes to .gitignore/.dockerignore. While I think it's a good idea to implement this, I don't think it requires an RFC. |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringin this up @bstadlbauer |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion since this has been implemented, see here. |
Beta Was this translation helpful? Give feedback.
-
When a user fast registers, all files which are not in
.gitignore
or.dockerignore
will be packaged up and sent to Flyte (docs). This can lead to unexpected large tarballs and thus long registrations times when users have large files (which might not be under version control) in their project directory.While users can all those files to
.dockerignore
or to.gitignore
, this will always result in the expected side-effects of those tools.Beta Was this translation helpful? Give feedback.
All reactions