python - build/deploy script in product repo or in external repo? -
python - build/deploy script in product repo or in external repo? -
i working on web project written in python. here facts:
project hosted on github fabric (a python library build , deploy automation) script (fabfile.py
) automatic build , deploy jenkins build automation my question is, set fabfile.py
conventionally.
i prefer set fabfile.py
in root of project repo can config jenkins job grab source code git , run fab build
compiled package.
someone insists fabfile.py
should not part of project repo, should kept in external repo instead. in case need config jenkins clone fabfile repo, invoke git clone product repo run packaging.
i know matter of personal flavor, there benefits set fabfile.py
in separate repo set product code?
any suggestions appreciated.
in opinion, can't see benefits besides maybe preventing junior dev accidentally deploying unwanted code.
on other hand, it's nice have in 1 repo don't have maintain multiple repositories. in past experiences, included deployment scripts in root of project.
python configuration jenkins automation fabric
Comments
Post a Comment