Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Jenkins notebook test #4799

Merged
merged 16 commits into from
Jan 25, 2017
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,7 @@ lib

# Mac OS X
.DS_Store

#Notebook Automated Test
!tests/nightly/test_config.txt
!tests/nightly/TestNotebook
2 changes: 1 addition & 1 deletion mshadow
9 changes: 2 additions & 7 deletions tests/ci_build/Dockerfile.amzn_linux_cpu
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,16 @@ RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so
ENV NOTVISIBLE "in users profile"
RUN echo "export VISIBLE=now" >> /etc/profile

RUN chmod -R 755 install
RUN /install/install_opencv.sh
RUN /install/install_openblas.sh
RUN /install/install_python2.sh
RUN /install/install_python3.sh
RUN /install/install_testdeps.sh
RUN /install/install_julia.sh
RUN /install/install_maven.sh
RUN /install/install_library.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

where are these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are in tests/ci_build/install.


RUN mkdir -p /home/jenkins/workspace/mxnet-main
RUN mkdir /home/jenkins/.ssh
COPY /files/authorized_keys /home/jenkins/.ssh/authorized_keys
RUN chmod 600 /home/jenkins/.ssh/authorized_keys
RUN chmod 700 /home/jenkins/.ssh
RUN chown -R jenkins /home/jenkins
RUN chgrp -R jenkins /home/jenkins

EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
5 changes: 5 additions & 0 deletions tests/ci_build/install/install_library.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

yum install graphviz
pip install graphviz
pip install opencv-python
1 change: 1 addition & 0 deletions tests/ci_build/install/install_python2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ fi

ln -s -f /usr/local/bin/pip /usr/bin/pip
for i in ipython[all] jupyter pandas scikit-image h5py pandas sklearn sympy; do echo "${i}..."; pip install -U $i >/dev/null; done

Loading