[SERVER-20106] Add virtualenv to Evergreen Created: 12/Aug/15  Updated: 13/Oct/15  Resolved: 08/Sep/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.1.8

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Security 9 (09/18/15)
Participants:

 Description   

Support virtualenv in evergreen so tasks can install and use python packages



 Comments   
Comment by Githook User [ 13/Oct/15 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-20106 add requirements file for encryptdb
Branch: artree
https://github.com/10gen/mongo-enterprise-modules/commit/65d1183422a662c4eb91a1670308149b212d5d38

Comment by Githook User [ 08/Sep/15 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-20106 function to setup virtualenv in evergreen and use it for
the ESE suite
Branch: master
https://github.com/mongodb/mongo/commit/e91261bd2ee20f1616ae8a5ff2db4613927c4b03

Comment by Githook User [ 08/Sep/15 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-20106 add requirements file for encryptdb
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/65d1183422a662c4eb91a1670308149b212d5d38

Comment by Ernie Hershey [ 24/Aug/15 ]

Here are some simple examples of projects using it in Evergreen.

https://github.com/10gen/evergreen-packer/blob/89398436427a8a60cdc642c5c05f3124ff1a6c2a/evergreen.yml#L69
https://github.com/mongodb/mongo/blob/86c9f8bd1e1e0fe61bf18b71b06b43933f99d722/etc/perf.yml#L58

And since using it in the server config is probably more complicated, we can talk it out more and I can help look at tests / code reviews for it or anything else that comes up.

Comment by Robert Guo (Inactive) [ 19/Aug/15 ]

Oh that should work. I'll try it out.

Comment by Ernie Hershey [ 19/Aug/15 ]

Virtualenv should be available on every evergreen distro. Can you use it to install the module locally in your task?

Generated at Thu Feb 08 03:53:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.