Jens Petersen
a37fba8d55
build.sh: update to newest curator (quieten docs s3 upload)
2022-10-25 17:40:29 +08:00
Jens Petersen
76403e4be4
build.sh: update to latest curator
2022-10-25 17:20:46 +08:00
Michael Snoyman
5dab6d26d2
Bump Stack version
2022-09-24 19:54:19 +03:00
Jens Petersen
fb338c496e
build.sh: formally change to JOBS=3
...
This change was originally done locally in the build-server by Adam Bergmark
and seems to be work okay for some time now
2022-08-30 11:27:04 +08:00
Jens Petersen
e3eb59e4cc
build.sh: use stack-2.7.5
2022-08-29 18:44:03 +08:00
Adam Bergmark
6b0dd33f06
Update curator
2022-06-05 22:45:47 +02:00
Jens Petersen
62ae47ba61
build.sh: keep a copy of the previous build.log for reference
...
This should be quite useful specially when looping with run-nightly.sh
since otherwise the old log file is immediately lost.
We might consider later if we want to keep more logs around,
though with nightly they would build up quite fast
[skip ci]
2022-03-19 12:13:24 +08:00
Jens Petersen
10b2fcffe6
build.sh: commit JOBS=1 for nightly
...
This has already been the case in production for quite a while,
so just formalizing this for nightly (already used for longer on lts)
There are too frequent load collisions between heavy packages otherwise:
unfortunately the non-parallel-builds section has no effect with curator2
2022-03-19 11:46:08 +08:00
Jens Petersen
71d7ec6ee5
build.sh: use stack-2.7.3
...
but then do we need stack already in the build image?
2021-10-07 00:35:48 +08:00
Michael Snoyman
5dd77186e6
Fix NOPLAN=2 case
2021-08-20 12:37:58 +03:00
Stackage Curators
576eda726f
Switch to ghcr.io registry
2021-08-19 08:41:11 +00:00
Stackage Curators
5057346ca6
Support NOPLAN=2
2021-08-19 08:37:49 +00:00
Jens Petersen
53190f7156
build.sh: use stack-2.7.1
...
stack-2.5 warns about not supporting Cabal-3.2 or ghc > 8.10
2021-06-17 14:06:13 +08:00
Jens Petersen
549f5bf09c
Merge pull request #5893 from commercialhaskell/revert-5815-jkachmar/preserve-noplan-snapshot-overrides
...
Revert "Preserves snapshot-incomplete with NOPLAN=1"
2021-04-20 01:22:16 +08:00
Jens Petersen
cf5a7625b3
build.sh: update to latest curator build
...
with commercialhaskell/curator#24
2021-04-19 23:16:44 +08:00
Jens Petersen
6cf1307ce3
build.sh: hackage distro upload should work soon again
...
https://github.com/commercialhaskell/curator/issues/8
2021-04-19 19:48:26 +08:00
Jens Petersen
b932a4f408
build.sh: update to latest curator
...
already being used in production
2021-03-26 13:01:07 +08:00
Joe Kachmar
79a26debdf
Revert "Preserves snapshot-incomplete with NOPLAN=1"
2021-03-04 02:19:36 +00:00
Joe Kachmar
e160b7aa3e
Preserves snapshot-incomplete with NOPLAN=1
...
Previously, 'NOPLAN=1' would overwrite the 'snapshot-incomplete.yaml'
file. This makes it difficult tweak things (e.g. by explicitly bumping a
package in response to maintainer request).
Now 'NOPLAN=1' will skip generating 'snapshot-incomplete.yaml' entirely,
and it will be up to a previous run w/out a 'NOPLAN' override to set
this up properly.
2021-01-06 00:15:35 -05:00
Jens Petersen
c801372762
Revert back to stack-2.5.1 from stack-2.3.3: seems same rebuilding
...
This reverts commit f40638cf5c .
2020-12-31 16:52:39 +08:00
Jens Petersen
f40638cf5c
revert to stack-2.3.3 for building
...
to see if it reduces build churn
2020-12-30 13:22:29 +08:00
Jens Petersen
b5c18cd1a7
build.sh: update stack to 2.5.1
2020-12-25 14:26:26 +08:00
Michael Snoyman
448f4e45a5
Use official Stack 2.3.3
2020-08-31 13:13:57 +03:00
Jens Petersen
3fe1e38cec
build.sh: remove legacy-bulk conversion and commits
...
this allowed saving some server diskspace:
ie removing dot-stackage/curator/stackage-{lts,nightly}
2020-05-16 12:55:18 +08:00
Michael Snoyman
a5361ec29c
Newer Stack executable with more debugging
2020-04-21 07:15:53 +03:00
Michael Snoyman
4bb6147268
Newer curator exe
2020-04-16 13:32:19 +03:00
Michael Snoyman
1afd08ff0a
Newer curator
2020-04-16 12:20:39 +03:00
Michael Snoyman
551069dfdb
Follow redirects
2020-04-04 21:55:47 +03:00
Jeff Happily
0f114e0414
Modify docker build script
2020-02-14 12:04:53 +08:00
Michael Snoyman
c9240400cc
Add new packages to constraints, not snapshot-incomplete
2020-02-12 08:46:59 +00:00
Michael Snoyman
303b1c0603
Fix legacy conversion script
2020-02-10 09:06:25 +02:00
Michael Snoyman
0fecc4e522
Cleaner dir structure
2020-02-09 12:15:01 +00:00
Michael Snoyman
98b227a06f
Reversed dash logic
2020-02-09 14:10:12 +02:00
Michael Snoyman
953281e263
More cleanups to build script
2020-02-09 14:08:59 +02:00
Michael Snoyman
cd70ba8942
Remove no-longer-used build.sh
2019-08-27 08:42:29 +00:00
Michael Snoyman
5da38815ae
build.sh changes on server
2019-08-27 08:42:29 +00:00
Michael Snoyman
42662ba432
Use Stack 1.9.3 in the build script (unpack compatibility)
2019-06-16 05:23:40 -07:00
Alexey Zabelin
d8ff9f369f
Update build script to point to commercialhaskell
2018-08-08 10:54:58 -04:00
Michael Snoyman
2af8ca8873
No more bundle file
2018-06-05 11:55:24 -06:00
Jens Petersen
da369bc547
use --jobs 2 for nightly and --jobs 1 for lts
...
lts (and/or ghc-8.2) seems more resource hungry
2018-05-21 11:40:59 +09:00
Jens Petersen
b1bcb3cc63
build.sh: we are actually using --jobs 2
2018-05-21 11:33:24 +09:00
Michael Snoyman
b3f67d7669
Use userid to work around new Docker version
2017-11-06 13:50:50 +00:00
Jens Petersen
fafdf988f5
make build.sh output "Completed" message to make finish clearer
2017-04-02 23:05:36 +09:00
Michael Snoyman
7490543122
Limit jobs
2017-01-25 07:22:27 +02:00
Michael Snoyman
f3bf4bd610
Add a niceness level of 15 for performing builds
2017-01-22 12:00:22 +02:00
Jens Petersen
81d3cbc81a
build.sh: fix local stackage-curator
2017-01-02 23:01:23 +09:00
Adam Bergmark
f16ed6eec1
Print the version/git hash of stackage-curator
2016-12-19 18:28:20 +01:00
Jens Petersen
acf180a758
build.sh: do not update Hackage packages list for LTS
...
New packages from Hackage should only be pulled by Nightly.
ie LTS should never be ahead of Nightly in terms of package versions.
2016-12-13 14:41:50 +09:00
Jens Petersen
ba321e5359
build.sh: quieten builds with set +x
2016-12-13 11:54:18 +09:00
Michael Snoyman
b01d84974e
Stop running cron from build scripts
2016-12-06 09:50:13 -05:00