提交 b0f543f1 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Update dev/meta documentation regarding nightly builds.

上级 29a43a50
...@@ -100,8 +100,9 @@ Nightly test ...@@ -100,8 +100,9 @@ Nightly test
============ ============
Each night we execute all the unit tests automatically. The result is sent by Each night we execute all the unit tests automatically. The result is sent by
email to one of the developers, who (at his discretion) forwards it to the email to the `theano-buildbot`_ mailing list.
mailing list. Said developer may not read his email obsessively (especially
on the weekend) so there might be some latency in the process. For more .. _theano-buildbot: https://groups.google.com/group/theano-buildbot
detail :ref:`see <metadocumentation_nightly_build>`.
For more detail, see :ref:`see <metadocumentation_nightly_build>`.
...@@ -129,33 +129,19 @@ You can see a list of all `pylint messages ...@@ -129,33 +129,19 @@ You can see a list of all `pylint messages
The nightly build/tests process The nightly build/tests process
--------------------------------------- ---------------------------------------
The user ``lisa`` runs a cronjob on the computer ``boltzmann``. The user ``lisa`` runs a cronjob on the computer ``ceylon``, this
This happens nightly. happens nightly. (To have the crontab executed, the ``lisa`` user must
The cronjob executes the script ``~/www/nightly_build/do_nightly_build_theano``. be logged into ``ceylon``, Fred leaves a shell open for that.)
This script performs a an "hg pull -u" of theano (and pylearn too).
Then it executes something like
.. code-block:: bash The cronjob executes the scripts
``~/nightly_build/do_nightly_build_{theano,pylearn,deeplearning}``.
THEANO_FLAGS='unittests.rseed=<SEED>,mode=DEBUG_MODE' /usr/bin/nosetests --with-coverage --cover-package=theano --cover-package=pylearn These scripts perform an "hg pull -u" of theano (and pylearn, and
DeepLearningTutorials too), and execute nosetests (in various settings).
in the updated ``theano`` directory.
The output is emailed automatically to one of the developers.
This line is executed with a several fixed ``SEED`` values in DEBUG_MODE. It
is executed in FAST_RUN and FAST_COMPILE with just one SEED value.
We can't email directly to the mailing list as it is emailed as the root user. The output is emailed automatically to the `theano-buildbot`_ mailing list.
We haven't yet found a way to have google groups accept email from a user without sending an email to it.
As we don't have root control from this domain, we won't receive the email.
We haven't pursued the option of configuring the ``lisa`` account to send
email from an official gmail account.
Also, to have the crontab executed, *the ``lisa`` user must be logged into .. _theano-buildbot: https://groups.google.com/group/theano-buildbot
``boltzmann``*.
In a nutshell: Fred keeps a shell open on boltzmann at all times, gets the
email, and forwards it to the mailing list when something interesting shows up
in the report.
TO WRITE TO WRITE
--------------------------------------- ---------------------------------------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论