Yep, that sounds reasonable. (I had suspected as much - there would be no end 
to the possible system packages that plugin developers might want.)

Do the ‘docker’-labelled Jenkins agents support the usual ‘dockerfile’ 
directive to let the build define a Docker image ad-hoc? Or do all images have 
to be pre-packed and hosted on a registry?

Chris

On Wed, 15 May 2019, at 5:36 PM, R. Tyler Croy wrote:
> (replies inline)
> 
> On Wed, 15 May 2019, Chris Kilding wrote:
> 
> > My plugin uses an external dependency, Moto (the AWS mock server) for its
> > integration tests.
> > 
> > Moto is written in Python, installed with Pip, in a virtualenv. It can be 
> > used
> > either directly (where we must do the pip install ourselves) or through the
> > Java wrapper Localstack (which does little more than run those same commands
> > for us).
> > 
> > It appears that ci.jenkins.io agents have *some* kind of Python toolchain
> > installed, but it’s limited: there is no ‘pip’ and maybe no 
> > ‘virtualenv’
> > either.
> > 
> > Do any other Jenkins plugins use Python or Python dependencies, and if so 
> > how
> > are Python/Pip/Virtualenv set up in their builds?
> 
> 
> The fact that there is Python is incidental more than anything. We will not be
> installing any system packages on agents however, so I suggest working out how
> to use Docker containers to meet your needs, as those are definitely supported
> on machines with the 'docker' label.
> 
> Cheers.
> 
> --
> GitHub: https://github.com/rtyler
> 
> GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/20190515163618.jgyeizkbqejmhbpg%40grape.
> For more options, visit https://groups.google.com/d/optout.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/85c23396-ad07-4791-8a65-ef4795f8c852%40www.fastmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to