Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow staging repos to remain open again
[releng/builder.git]
/
jenkins-scripts
/
robot.sh
diff --git
a/jenkins-scripts/robot.sh
b/jenkins-scripts/robot.sh
index 9b5de98d8af16709346468d765393e0a9e04d10a..a76f691591a8319dba88e6f33c1b215c5101bc82 100755
(executable)
--- a/
jenkins-scripts/robot.sh
+++ b/
jenkins-scripts/robot.sh
@@
-1,7
+1,13
@@
#!/bin/bash
#!/bin/bash
+# make sure we don't require tty for sudo operations
+cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
+Defaults:jenkins !requiretty
+jenkins ALL = NOPASSWD: /usr/bin/sshuttle, /usr/bin/kill, /usr/sbin/iptables
+EOF
+
yum clean all
yum clean all
-yum install -y -q unzip python-netaddr @development
+yum install -y -q unzip python-netaddr
sshuttle
@development
yum remove -y robotframework-{sshlibrary,requests}
## install Latest Robot Framewrok from source
yum remove -y robotframework-{sshlibrary,requests}
## install Latest Robot Framewrok from source
@@
-32,10
+38,10
@@
tar -xvf robotframework-selenium2library-1.7.1.tar.gz > /dev/null 2>&1
cd robotframework-selenium2library-1.7.1
python setup.py install > /dev/null 2>&1
cd robotframework-selenium2library-1.7.1
python setup.py install > /dev/null 2>&1
-##
install netcat
-yum install -y -q nc
+##
Install netcat & docker-py
+yum install -y -q nc
python-docker-py
-#
disable firewall rules
+#
make sure the firewall is stopped
service iptables stop
# vim: sw=2 ts=2 sts=2 et :
service iptables stop
# vim: sw=2 ts=2 sts=2 et :