CURATORS: Ubuntu Packages Search; mention nightly cronjob

This commit is contained in:
Jens Petersen 2015-10-05 12:07:16 +09:00
parent 866fe6a81b
commit 2074f9401b

View File

@ -45,6 +45,8 @@ Additional (non-Haskell) system libraries or tools should be added to `stackage/
Committing the changes should trigger a DockerHub. Normally only the master branch needs to be updated Committing the changes should trigger a DockerHub. Normally only the master branch needs to be updated
since new packages are not added to the current lts release. since new packages are not added to the current lts release.
Use [Ubuntu Package content search](http://packages.ubuntu.com/) to determine which package provides particular dev files (it defaults to trusty which is the same version as the server).
### Upgrading GHC version ### Upgrading GHC version
The Dockerfile contains information on which GHC versions should be used. You The Dockerfile contains information on which GHC versions should be used. You
can modify it and push it to Github to trigger a DockerHub build. The master can modify it and push it to Github to trigger a DockerHub build. The master
@ -107,8 +109,10 @@ develop this advice over time. For now: if you're not sure, ask Michael for
guidance. guidance.
### Timing ### Timing
A cronjob on the build server keeps trying to build nightly unless it has already succeeded.
Nightly builds should be run once a day. A common technique I use is, after a (Nightly builds should be run once a day. A common technique I use is, after a
build succeeds, write something like `sleep 20h; build succeeds, write something like `sleep 20h;
/opt/stackage-build/stackage/automated/build.sh nightly-2015-01-02`. LTS minor /opt/stackage-build/stackage/automated/build.sh nightly-2015-01-02`.)
bumps typically are run on Sundays.
LTS minor bumps typically are run on Sundays.