File tree 3 files changed +11
-3
lines changed 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change
1
+ jenkins_jobs.ini
2
+ jenkins_jobs_rhscl.ini
3
+ local /
Original file line number Diff line number Diff line change 34
34
35
35
# Prepare docker
36
36
ssh -F ssh_config host yum -y install docker perl git centos-release-scl-rh rsync golang-github-cpuguy83-go-md2man groff-base centos-release-openshift-origin epel-release
37
- ssh -F ssh_config host yum -y install source-to-image python27 -python-virtualenv origin-clients distgen
37
+ ssh -F ssh_config host yum -y install source-to-image rh-python36 -python-virtualenv origin-clients distgen
38
38
ssh -F ssh_config host "sed -i \"s|OPTIONS='|OPTIONS='--insecure-registry 172.30.0.0/16 |\" /etc/sysconfig/docker; iptables -F"
39
39
ssh -F ssh_config host service docker start
40
40
# Install docker-squash
41
- ssh -F ssh_config host 'scl enable python27 -- virtualenv --python /usr/bin/python /usr/local/docker-squash && . /usr/local/docker-squash/bin/activate && \
42
- pip install "docker-squash==1.0.5" && echo ". /usr/local/docker-squash/bin/activate" > ~ /.bashrc'
41
+ ssh -F ssh_config host 'scl enable rh-python36 -- virtualenv --python python3 /usr/local/docker-squash && . /usr/local/docker-squash/bin/activate && \
42
+ pip install "docker-squash==1.0.5" && echo ". /usr/local/docker-squash/bin/activate" > /root /.bashrc'
43
43
# Enable sudo for ssh (required by test cases)
44
44
ssh -F ssh_config host 'sed -i -e "s|Defaults requiretty||" /etc/sudoers'
45
45
Original file line number Diff line number Diff line change 32
32
# Prepare distgen (TEMPORARY FIX - https://gitlab.cee.redhat.com/platform-eng-core-services/coreservices-jenkins-slaves/merge_requests/16)
33
33
ssh -F ssh_config host yum -y install epel-release
34
34
ssh -F ssh_config host yum -y install distgen
35
+
36
+ # Install docker-squash (TEMPORARY FIX - https://gitlab.cee.redhat.com/platform-eng-core-services/coreservices-jenkins-slaves/merge_requests/17)
37
+ ssh -F ssh_config host yum -y install rh-python36-python-virtualenv
38
+ ssh -F ssh_config host 'scl enable rh-python36 -- virtualenv --python python3 /usr/local/docker-squash && . /usr/local/docker-squash/bin/activate && \
39
+ pip install "docker-squash==1.0.5" && echo ". /usr/local/docker-squash/bin/activate" > /root/.bashrc'
You can’t perform that action at this time.
0 commit comments