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
Stackage Curators
7ee12a9d91
Fix Dockerfile minor version
2021-08-20 09:46:16 +00: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
Stackage Curators
ba347bb39a
Add Dockerfiles
2021-08-19 08:37:17 +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
Emanuel Borsboom
5af2268aca
Add automated/dockerfiles/lts-17.10/Dockerfile
2021-05-07 14:37:06 -07: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
Michael Snoyman
48bfa85f7b
Add dockerfiles for lts 17.0 and 17.3
2021-03-31 22:47:56 +03: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
b6320f213e
Bump GHC version for LTS 16.12
...
Fixes #5642
2020-09-15 08:49:49 +00:00
Michael Snoyman
448f4e45a5
Use official Stack 2.3.3
2020-08-31 13:13:57 +03:00
Emanuel Borsboom
9c5642ed97
Add automated/dockerfiles/lts-16.8/Dockerfile
2020-08-06 04:51:26 -07:00
Emanuel Borsboom
f130e511ab
Dockerfile for fpco/stack-build:lts-16.x
2020-06-18 19:05:16 -07: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
a6d666a0bf
Download jq
2020-05-03 04:42:01 +00:00
Michael Snoyman
4aec71898c
Install jq
2020-05-03 07:36:57 +03:00
Emanuel Borsboom
9734fa9eca
Add automated/dockerfiles/lts-15.10/Dockerfile
...
For stack-2.3.1
2020-04-29 13:52:49 -07: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
Emanuel Borsboom
286bdeea57
Merge pull request #5265 from jeffhappily/update-docker-build
...
Update docker build
2020-04-12 11:45:26 -07:00
Michael Snoyman
551069dfdb
Follow redirects
2020-04-04 21:55:47 +03:00
Jeff Happily
c45ea76fe5
Modify logic to allow building old version
2020-03-27 17:21:06 +08:00
Jeff Happily
19cdd05b84
Add dockerfile for lts-15.5
2020-03-26 23:25:05 +08:00
Jeff Happily
92f939c609
Add dockerfile for lts 15
2020-02-17 16:06:48 +08:00
Jeff Happily
0f114e0414
Modify docker build script
2020-02-14 12:04:53 +08:00
Jeff Happily
d6b16c49a9
Migrate dockerfiles from stack
2020-02-14 11:29:11 +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
15fff9b976
Reduce ignore list
2020-02-09 14:24:13 +02:00
Michael Snoyman
4fe976b252
Ignore log files
2020-02-09 12:21:32 +00: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
b07c52c2e6
legacy-bulk inside Docker
2020-02-09 14:02:30 +02:00
Michael Snoyman
860facc9b3
Build script improvements
2020-02-09 14:00:56 +02:00
Michael Snoyman
bacf777658
Newer curators EXE
2020-02-04 13:56:09 +00:00
Michael Snoyman
cc8589aa3b
New curator exe with unpacked GC
2019-11-26 09:46:48 +02:00
Michael Snoyman
cc4e4ea13d
Add curator-exes script/Dockerfile
2019-08-27 14:49:29 +03:00
Michael Snoyman
41a56f8406
Better method for downloading curator and stack exes
2019-08-27 08:42:29 +00: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
a90e8fab0d
Regenerate LTS snapshots when using NOPLAN
2019-08-13 07:42:09 +00:00
Michael Snoyman
3eb7e4de71
Newer convert-old-stackage
2019-06-26 16:04:56 +00:00
Michael Snoyman
388ebd6668
Get AWS creds from aws.sh
2019-06-26 10:04:51 +00:00
Kirill Zaborsky
42e58d6f9d
Die on build failure hidden by pipe
2019-06-22 11:09:33 +03:00
Michael Snoyman
3433b88dc1
Switch nightly over to the new curator tool
2019-06-21 12:48:07 +00:00
Michael Snoyman
42662ba432
Use Stack 1.9.3 in the build script (unpack compatibility)
2019-06-16 05:23:40 -07:00
Kirill Zaborsky
6dad76dbba
New versions of Stack and curator tool
2019-05-15 16:25:06 +03:00
Kirill Zaborsky
6c63017ae2
New versions: fixed repo url in curator + proper reuse
2019-04-24 13:03:04 +03:00
Kirill Zaborsky
42737f9ea8
tee build console output into a file
2019-04-24 12:07:38 +03:00
Kirill Zaborsky
56c2bf8165
Newer Stack/curator (with disabled interleaved output)
2019-04-24 12:07:38 +03:00
Kirill Zaborsky
5ad601c411
Share pantry dir but otherwise use different STACK_ROOT in lts/nightly
2019-04-24 12:07:00 +03:00
Michael Snoyman
a5bfe089ae
Newer convert program
2019-04-15 09:07:02 +03:00
Kirill Zaborsky
7f50a181d4
Use newer Stack/curator versions
2019-04-11 16:41:08 +03:00
Kirill Zaborsky
f49e0b3ed4
build.sh variant with the new curator version (and new Stack)
2019-04-08 10:45:33 +03:00
Kirill Zaborsky
d7817d5653
Code to build Stackage with Nix
2019-02-06 17:56:44 +03:00
Jens Petersen
61ff98c12d
run-nightly.sh: output date after stackage format conversion
...
to show finished
2018-09-10 12:23:14 +09:00
Michael Snoyman
d33f12a59d
Add a script to convert to the new Stackage format
2018-08-22 12:29:42 +00: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
e6193c29f1
cron.sh: log date and drop the tail echo
...
could probably remove the first 'Running...' echo too
2017-01-06 17:12:04 +09: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
Jens Petersen
f7cc359fed
run-nightly.sh: blank line between runs
2016-12-09 09:25:20 +09:00
Jens Petersen
c73c1b4cf5
Revert "run-nightly.sh: remove the extra date"
...
This reverts commit 01627f7f89 .
2016-12-08 10:50:39 +09:00
Jens Petersen
01627f7f89
run-nightly.sh: remove the extra date
2016-12-07 18:13:46 +09:00
Michael Snoyman
5e6350c8cc
cron.sh: change directory
2016-12-06 09:53:56 -05:00
Michael Snoyman
b01d84974e
Stop running cron from build scripts
2016-12-06 09:50:13 -05:00
Michael Snoyman
8b77287ca6
Bind port in cron.sh
2016-12-06 09:48:22 -05:00
Jens Petersen
37b14ac860
run-nightly.sh: run cron.sh in the background
...
Check that cron.sh is not already running.
With no new snapshot cron.sh takes about 1min.
2016-12-06 16:24:50 +09:00
Jens Petersen
d13516a3a9
run-nightly.sh: discourage interrupting cron.sh
2016-12-06 12:00:21 +09:00
Stackage Curators
acbdd495b8
Fix a buggy shell script
2016-12-02 04:52:50 +00:00
Michael Snoyman
287bbcea0e
Provide ~/.stack to cron job
2016-11-30 19:15:56 +02:00
Michael Snoyman
12a894ccdd
cron.sh: pull the image
2016-11-30 16:05:55 +02:00
Stackage Curators
7c18f4b6b0
Do pre-build actions even with NOPLAN=1
2016-11-01 09:20:45 +00:00
Jens Petersen
7e83f0d070
run-nightly.sh: move newline after cron.sh
2016-10-10 12:42:08 +09:00
Jens Petersen
c2170ddcea
run-nightly.sh: remove newline before cron.sh
...
I keep Ctrl-c'ing cron.sh by mistake, thinking it has already finished
2016-10-10 12:37:16 +09:00
Jens Petersen
94f2a5c09b
run-nightly.sh: don't print date until end
2016-10-09 23:11:34 +09: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
Stackage Curators
2b67fe1202
run-nightly: hide cron.sh output
2016-09-16 09:58:56 +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
28c9a16b43
Avoid verbose output
2016-08-12 07:00:18 +03: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
30cdbf6969
Use tee instead of >>
2016-08-07 07:42:57 +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
379476cdc5
run-nightly.sh: no longer output stackage-server-cron
2016-05-23 13:15:25 +09:00
Jens Petersen
f79fc1ee0d
new automated/run-nightly.sh driving nightly builds and stackage-server-cron
2016-05-22 18:17:56 +09: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
Stackage Build host
6a3ed76da4
Initial check-cabal.sh
2016-04-24 16:23:25 +00: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
Michael Snoyman
d65e54a777
Add WIP nightly.sh script
2015-04-22 12:20:28 +03:00