-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fabric2 - fabfile.py in root folder is not found #2272
Comments
@LuckyType Hi, I already have a workaround as described - thanks. |
mcgaw
changed the title
fabric 3 - fabfile.py in root folder is not found
fabric2 - fabfile.py in root folder is not found
Jun 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fab
should seach ancestor folders for afabfile.py
. However it skips the root folder. (This is documented here)Admittedly this might be an unusual place to put the
fabfile.py
, but technically it should work imo.Python 3.10.12 on Linux.
I stumbled on this when looking to have the fabfile found automatically in a Gitlab Docker build (which by default creates a folder at
/builds
, so the fab file needed to be above this).Work around is to use the
-r
flag.The text was updated successfully, but these errors were encountered: