Jens Petersen
3ed27a7ca7
build.sh: use stack-2.11.1
2023-06-08 23:10:52 +02:00
Jens Petersen
f72a12f7d0
build.sh: use stack-2.9.3
2022-12-30 22:17:26 +08:00
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
Stackage Curators
7c18f4b6b0
Do pre-build actions even with NOPLAN=1
2016-11-01 09:20:45 +00:00
Stackage Curators
7f80c23b0b
Bind-mount to /usr/bin/stack, avoid using Docker-copy of Stack entirely
2016-09-16 10:01:59 +00:00
Jens Petersen
2ce2fa559c
build.sh: run cron.sh after successful lts build
2016-09-08 19:19:21 +09:00
Jens Petersen
c4bbb49949
build.sh: end with date output
2016-09-08 10:19:40 +09:00
Michael Snoyman
4f1e50f433
Add a bunch of exec calls
...
See: https://twitter.com/denibertovic/status/763676496183582721
2016-08-11 13:33:03 +03:00
Michael Snoyman
5c2912a2ec
Add missing right bracket
2016-08-10 08:01:56 +03:00
Stackage Curators
efce8178b4
Add the NOPLAN environment variable
2016-08-09 02:42:42 +00:00
Stackage Curators
c74397eae1
Better home directory
2016-08-09 02:42:42 +00:00
Michael Snoyman
00b5a73085
s/ubuntu/$USER
2016-08-04 14:02:25 +03:00
Michael Snoyman
f5f87702fe
Modifications for automated builds on new server
2016-08-03 13:38:23 +00:00
Jens Petersen
12c215bbbd
Run stackage-server-cron.sh by hand for the time being
...
Reverting "build.sh: add date's and message for stackage-server-cron.sh"
Reverting "build.sh: run stackage-server-cron.sh at end, instead of cronjob"
2016-05-21 15:27:33 +09:00
Jens Petersen
cb64515b11
build.sh: add date's and message for stackage-server-cron.sh
2016-05-20 18:36:58 +09:00
Jens Petersen
5921640488
build.sh: run stackage-server-cron.sh at end, instead of cronjob
...
avoid build.sh and stackage-server-cron.sh competing for memory
2016-05-20 17:52:31 +09:00
Michael Snoyman
d5df74795c
Only perform nightly duplication checks after building
2016-03-27 13:23:52 +03:00
Stackage Build host
b49c798a28
Change stackage-curator mount point to /usr/bin
2016-02-03 06:58:30 +00:00
Stackage Build host
5903f48982
Get Stack for the build
2016-01-20 10:22:27 +00:00
Michael Snoyman
0cf3641423
Use stack for unpacking
2016-01-20 11:36:17 +02:00
Stackage Build host
99da9c5414
Don't bother installing cabal-install ( fixes fpco/stackage#1107 )
2016-01-20 08:56:00 +00:00
Stackage Build host
5e2ea65d6d
Set PATH properly when building
2016-01-20 08:56:00 +00:00
Michael Snoyman
7704309432
Fix permissions of /home/stackage when building
2016-01-19 19:41:20 +02:00
Stackage Build host
dfb0785155
Share ssh dir for multiple LTS builds
2016-01-05 05:51:39 +00:00
Michael Snoyman
1115520f3d
Use a separate Docker image per LTS major version #1064
2015-12-30 13:09:25 +02:00
Jens Petersen
d7c59dfc4a
build.sh: simplify setup by using $TAG
2015-11-16 15:07:22 +09:00
Michael Snoyman
6facdaf38f
Add variables for new amazonka release
2015-08-29 21:06:17 +03:00
Michael Snoyman
eb26f8401d
Reinstall Cabal library too
2015-06-29 12:27:45 +03:00
Michael Snoyman
dc9e340326
New stackage-server, no longer upload there
2015-06-02 06:44:38 +03:00
Michael Snoyman
882569c740
Bind mount ~/.cabal during upload
2015-05-15 13:01:01 +03:00
Michael Snoyman
fc84810552
Run check-target-available under ARGS_UPLOAD
2015-05-15 05:37:31 +03:00
Michael Snoyman
50dec036de
Use upload-index
2015-05-14 13:00:06 +03:00
Michael Snoyman
f132923d75
check-target-available
2015-05-13 20:20:32 +03:00
Michael Snoyman
ea98e38f37
--bundle-file for upload-docs
2015-05-13 19:17:15 +03:00
Michael Snoyman
b5c6cfcff2
--docmap-file added to automated builds
2015-05-13 19:12:07 +03:00
Michael Snoyman
15cbe97984
Fix bash (I suck at this)
2015-05-13 11:15:34 +03:00
Michael Snoyman
fad55415e1
Fix working directory for nightly
2015-05-13 11:12:05 +03:00
Michael Snoyman
e168f0f037
Account for nightly target name change
2015-05-11 07:51:27 +03:00
Michael Snoyman
9c09182bd7
S3 doc upload
2015-05-11 07:20:17 +03:00
Michael Snoyman
7f927fb99c
No more CURATOR_DIR
2015-05-10 19:41:32 +03:00
Michael Snoyman
fae208eba3
DOT_STACKAGE_DIR
2015-05-10 16:30:00 +03:00
Michael Snoyman
50b2924460
Merge branch 'master' into ghc7.10
...
Conflicts:
automated/build.sh
build-constraints.yaml
2015-05-03 17:43:00 +03:00
Michael Snoyman
241dbca1f1
Allow setting constraints on create-plan
2015-05-03 08:31:04 +03:00
Michael Snoyman
af49d1faa5
Use image tags
2015-05-01 07:54:00 +03:00
Michael Snoyman
c834228419
New build.sh
2015-04-22 17:40:32 +03:00