[
https://issues.apache.org/jira/browse/BEAM-12621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482671#comment-17482671
]
Giomar Gustavo Osorio Guevara commented on BEAM-12621:
------------------------------------------------------
[Update]
Hi everyone,
We have created a
[_tool_|https://github.com/apache/beam/blob/master/.test-infra/tools/python_installer.sh]
for installing pyenv and the python versions 3.6.13, 3.7.10, 3.8.9 (default),
3.9.4 and 3.10.1.
We have noticed that the commands sent from Jenkins to the nodes are through
SSH, this does not load the environments defined in _.bashrc_ for the jenkins
user, nor those defined in the _/etc/bash.bashrc_ file.
This connection only loads those that are set in the _/etc/environment_ file,
the image was updated and the variables associated with pyenv were added to
_/etc/environment_ so that pyenv is accessible from any user and through SSH
connections.
We have tested the image and some tests in the _Jenkins apache-beam-jenkins-12_
worker and everything looks fine by now. We will proceed with the update of the
rest of the nodes.
The result image is: *_jenkins-worker-boot-image-20220124_*
Thank you.
Regards [~danimartin] & [~GiomarO].
> Update Jenkins VMs to modern Ubuntu version
> -------------------------------------------
>
> Key: BEAM-12621
> URL: https://issues.apache.org/jira/browse/BEAM-12621
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Reporter: Kiley Sok
> Assignee: Daniela Martín
> Priority: P1
> Labels: infra, infrastructure, jenkins
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Update Jenkins VMs to modern Ubuntu version. Document/automate the process
> https://cwiki.apache.org/confluence/display/BEAM/Jenkins+Tips#JenkinsTips-HowtoinstallandupgradesoftwareonJenkinsworkers
--
This message was sent by Atlassian Jira
(v8.20.1#820001)