Commit Graph

758 Commits

Author SHA1 Message Date
Yghor Kerscher
bc49025139 CI image for Hoogle has to match rest of stackage-server 2017-11-23 14:47:16 +01:00
Yghor Kerscher
d082642003 CI/CD for separate Hoogle queries deployment 2017-11-23 14:40:56 +01:00
Michael Snoyman
8f7e3514a3
Merge pull request #241 from kerscher/prometheus-upgrade
Prometheus upgrade
2017-11-20 19:24:53 +02:00
Michael Snoyman
086a6e2cea
Merge pull request #240 from kerscher/load-testing
Load tests
2017-11-20 11:27:48 +02:00
Yghor Kerscher
d7789b4380 Change metric type to Histogram, from Summary
This provides the ability to aggregate results in Prometheus, allowing
metrics such as “average time per handler executed”. Summaries do not
provide this facility, and since their use-case for other views on
Prometheus is similar on `stackage-server`’s use-cases, it has been
completely changed to Histograms.
2017-11-17 18:45:46 +01:00
Yghor Kerscher
296c284ccb Update Stackage snapshot 2017-11-17 18:45:06 +01:00
Yghor Kerscher
a11195a904 Document how to configure and run load tests. 2017-11-02 15:45:31 +01:00
Yghor Kerscher
7ab2d3f841 Add load tests for Haddock pages. 2017-10-31 17:46:02 +01:00
Yghor Kerscher
1e0019cee3 Clean up load tests. 2017-10-31 17:45:39 +01:00
Yghor Kerscher
8514b3d710 Load test with multiple different snapshots. 2017-10-31 16:54:52 +01:00
Yghor Kerscher
173fc4cec2 Load test with Locust.io 2017-10-26 21:53:55 +02:00
Michael Snoyman
4320af064c
Some spacing 2017-10-16 07:49:04 +03:00
Michael Snoyman
af14d5051a
Decrease pool size 2017-09-26 07:26:37 +03:00
Michael Snoyman
ef9b0ddf2e
Merge branch 'master' into ci 2017-09-18 13:57:46 +03:00
Michael Snoyman
a95dfbe396
RSS feed: include package links 2017-09-18 13:42:46 +03:00
Michael Snoyman
a50739e193
Disable review apps; use dedicated ci branch 2017-09-07 14:20:44 +03:00
Michael Snoyman
2e44abc382
ci-cron deployment 2017-09-04 12:35:12 +03:00
Michael Snoyman
fda2b78723 Merge pull request #235 from matthewleon/docs-archive-link
Provide a link to offline snapshot doc archive
2017-08-23 07:45:34 +03:00
Matthew Leon
4a09d4bc4a Provide a link to offline snapshot doc archive 2017-08-22 19:17:37 +01:00
Michael Snoyman
bc228569a9
Docker image: include Stack executable 2017-08-21 18:17:33 +03:00
Michael Snoyman
330637f430
Fix a groupBy 2017-08-20 10:14:33 +03:00
Michael Snoyman
122e34ff12
Migrate from SQLite to PostgreSQL 2017-08-20 09:38:54 +03:00
Michael Snoyman
6dcefdc633
Add a nub (Niklas will kill me) 2017-08-20 08:27:27 +03:00
Michael Snoyman
3a467a5e68
Prefer package versions with generated docs
See fpco/stackage#2777
2017-08-19 21:21:56 +03:00
Michael Snoyman
70891a9799
Ignore spid errors 2017-08-07 21:33:47 +03:00
Michael Snoyman
b86d720954
Fix another typo 2017-08-07 14:23:26 +03:00
Michael Snoyman
7ec9baa9f5
Fix a typo in gitlab config 2017-08-07 14:17:11 +03:00
Michael Snoyman
b5185e0050
Don't assume just one result 2017-08-07 13:55:09 +03:00
Michael Snoyman
3a1da33a71 Merge pull request #231 from fpco/deploy-cron
Deploy cron
2017-07-14 16:27:59 +03:00
Michael Snoyman
e79c2f0c1f
Build store by itself 2017-07-14 15:44:59 +03:00
Michael Snoyman
1d85cac3a2
Deploy stackage-server-cron 2017-07-14 12:19:13 +03:00
Michael Snoyman
a211a148b9
Ignore more files 2017-07-14 09:48:35 +03:00
Emanuel Borsboom
e484d1236d gitlab-ci.yml: fix prod deployment image variable name 2017-07-13 18:50:01 -07:00
Emanuel Borsboom
f2bf4f5722 Merge pull request #225 from ketzacoatl/master
update CI spec to use Gitlab review apps
2017-07-13 18:39:51 -07:00
Michael Snoyman
185a263ba7 Merge pull request #230 from psibi/snapshot-api
Expose JSON Snapshot Api
2017-07-06 14:38:43 +03:00
Sibi Prabakaran
984cc11c92
Provide JSON API interface for snapshot
The motivation for this patch is to implement a option like
`ls-remote` in stack (which is quite similar to the one present in
nvm). The ability to see the latest snapshots via the commandline tool
itself would be a nice addition IMO.
2017-07-06 13:13:28 +05:30
Sibi Prabakaran
589169f205
Update execution instruction 2017-07-06 13:12:58 +05:30
Michael Snoyman
13663c2ce9
Upgrade to lts-8.12 2017-06-20 15:18:32 +03:00
Michael Snoyman
48e944ab81
Remove version bounds in cabal file 2017-06-20 14:57:04 +03:00
ketzacoatl
e0e8e3ee17 update CI spec to use Gitlab review apps
Summary of changes:

* rename DOCKER_IMAGE to DEPLOYMENT_IMAGE
* docker image builds now run for any branch/tag
* include jobs for deploying and stopping the review app on kube
* review apps are deployed to the `fpco-untrusted` cluster
* review apps are available based the following URL scheme:
  https://stackage-server-$CI_BUILD_REF_SLUG.review.fpco-untrusted.fpcomplete.com/
* master deploys to prod, and the previous staging env has been dropped
* import the kube specs we've used in CI/prod, update to use envvars
  for APPROOT, DEPLOYMENT_APP, DEPLOYMENT_NAME, and DEPLOYMENT_IMAGE
2017-04-20 13:23:44 -04:00
Michael Snoyman
f224e1da1c
Better yesod devel instructions (fixes #224) 2017-04-06 11:35:20 +03:00
Emanuel Borsboom
d4a22e29c9 Add .gitlab-ci.yml 2017-03-26 17:24:12 -07:00
Michael Snoyman
8f649e0397 Merge pull request #223 from fpco/master
Fix disk space leak
2017-02-23 22:06:53 +02:00
Michael Snoyman
8547b84f6e Use bugfix version of persistent-sqlite 2017-02-21 16:53:40 +02:00
Michael Snoyman
5a6137f7c6 Try an explicit database close to flush resources 2017-02-13 20:40:44 +02:00
Michael Snoyman
cc1dc6ffe5 Link to FAQ; give age of LTS snapshots 2017-01-28 19:30:08 +02:00
Michael Snoyman
7e44c31152 Prefer ZIP files for Windows 2016-12-13 14:00:07 +02:00
Michael Snoyman
e5a7e9b2e8 Get rid of hours display in date diffs (fixes #217)
Pinging @chrisdone and @juhp
2016-12-12 11:44:29 +02:00
Michael Snoyman
bcf86a1d40 Insist on latest LTS on homepage #216 2016-12-07 09:12:52 -05:00
Michael Snoyman
8fb3678d5b Add package links too #215 2016-12-06 08:30:33 -05:00