Re: global-jjb vs. packer vs. Jenkins jobs
Anil Belur
Greetings Robert: lf-env.sh: Creates a virtual env and sets up the environment, while the python-tools-install.sh Installs the python tools/utils during Job runtime. Since releng/global-jjb is a repo of Generic JJB templates (can be used by any of the CI management repositories), its up to the $project/$job to install the dependencies required for running the job. We have discussed this in the past, installing PyPI dependencies during packer image build time, comes with its own set of problems and added costs: 1. This requires maintaining a large number of packer images (if the project needs to support multiple versions of python/PyPI deps). 2. All releng/global-jjb (templates) scripts do not require all of the PyPi dependencies to be installed and are tied down to the $job or $project, since this approach binding them all into the same env has a risk of the deps being broken more frequently. 3. PyPi libs/modules are updated more frequently. Thanks, Anil On Mon, Jan 25, 2021 at 7:44 PM Robert Varga <nite@...> wrote: Hello everyone, |
|