Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Modify jenkins worker task to run the wheel script #1055

Merged
merged 1 commit into from
Apr 30, 2014

Conversation

jzoldak
Copy link
Contributor

@jzoldak jzoldak commented Apr 29, 2014

to populate the python virtualenv.

I didn't realize this was being done by the Jenkins master config, and needs to be moved here when I submitted #1049.

Needed to get edx-platform/pull/3498 working, though it can be merged independently.

@@ -45,11 +45,26 @@
src=wheel_venv.sh.j2 dest={{ jenkins_home }}/wheel_venv.sh
owner={{ jenkins_user }} group={{ jenkins_group }} mode=700

# Run the wheel_venv.sh script for the first time
# This was previously done in the Jenkins global
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be removed from the global init or does it still make sense to run it there as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be removed. Won't cause problems if it's not, just it is redundant will cause the workers to take more time to spin up. I will remove it at the same time as I update it to the new AMI that I create after this PR gets merged.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, for some reason I thought we were dropping that as a template file for the worker role but that doesn't seem to be the case.

@feanil
Copy link
Contributor

feanil commented Apr 30, 2014

👍

jzoldak pushed a commit that referenced this pull request Apr 30, 2014
Modify jenkins worker task to run the wheel script
@jzoldak jzoldak merged commit d9b9bdb into master Apr 30, 2014
@jzoldak jzoldak deleted the zoldak/jenkins-reset-venv2 branch April 30, 2014 16:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants