Commit Graph
26 Commits
Author SHA1 Message Date
davejrt b196165e53 use healthchecks in pure docker (#276)
* use healthcheck to fix db lock
2021-03-02 07:41:53 -05:00
davejrt d7db46d372 use healthcheck to fix db lock (#274)
* use healthcheck to fix db lock
2021-03-01 17:25:39 -05:00
Stephen Gutekanst 32dbb25d80 add codeinsights-db deployment (#259)
* pure-docker: add codeinsights-db

* test: add codeinsights-db permissions

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* prometheus: add codeinsights-db (optional)

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* docker-compose: add codeinsights-db

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* test: update expected # of containers

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2021-02-19 16:14:01 -07:00
Eric Fritz 4f4a9e6aba Remove bundle manager (#173) 2020-11-09 10:31:19 -06:00
Eric Fritz ba1cda568d Add MinIO deployment (#169) 2020-10-26 16:48:47 -05:00
Eric Fritz 83ac4d0b16 RFC 235: Add code intel postgres container (#153) 2020-10-01 15:59:08 -05:00
Stephen Gutekanst cc8568e241 deploy.sh: do not fork 2020-08-18 20:22:03 -07:00
Stephen Gutekanst f63b551295 pure-docker test fixes (#135)
* do not deploy in parallel

On Ubuntu 18.04 with the `docker-ce` package, launching 59 `docker run -it` downloads
concurrently results in some of the `docker run` commands deadlocking forever and the
containers never starting.

This has not affected https://app.hubspot.com/contacts/2762526/company/407948923/ because
they bake an AMI with each Docker image saved into it first.

This was one cause of deadlocks in https://github.com/sourcegraph/sourcegraph/issues/12996
as well as a cause of other issues (teardown.sh running before deploy.sh finished.)

* test/pure-docker: static DNS and more

- Denote sections of work with `echo`.
- Use static DNS which appears to help in some situations (and at worse, doesn't hurt.)
- Remove sleep statements no longer needed now that deploy.sh does not
  return before finishing.

* test/pure-docker: correct number of containers on customer-replica branch
2020-08-18 20:20:04 -07:00
Stephen Gutekanst 748667da2d remove "replacer" service (#126)
This PR removes the `replacer` service, which is no longer used in Sourcegraph.
See https://github.com/sourcegraph/sourcegraph/pull/12480

Note:

This PR cannot yet be merged, it is blocked on:

- https://github.com/sourcegraph/sourcegraph/issues/12544 being fixed
- `replacer` being removed again from our app.
2020-08-07 14:01:13 -07:00
Dax McDonald 2b3c833a5b Add caddy to teardown script (#117)
Also fixes pgsql deployment issues with an unwritten volume due to permission errors
2020-06-05 09:16:17 -07:00
Eric Fritz 943a108131 Remove precise-code-intel-api-server (#110) 2020-05-21 16:06:56 -05:00
Eric FritzandStephen Gutekanst 00cdc916a8 Rename lsif-server to precise-code-intel (#93)
* Squash commits.

* Update image tags.

* Fix variables after test run.

* Revert unrealted change during testing.

* Fix bad revert.

* Update docker-compose.yaml

* Update deploy-precise-code-intel-worker.sh

* Update docker-compose.yaml

* Update deploy-precise-code-intel-worker.sh

* Quote for consistency.

* Fix insiders tags.

* Remove LSIF_STORAGE envvar.

* Back out some prometheus changes.

Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
2020-04-30 08:49:18 -07:00
Beyang LiuandStephen Gutekanst a2d9f6f863 docker-compose: add jaeger-all-in-one (#94)
* docker-compose: add jaeger-all-in-one

* update image sha

* pure docker: remove old jaeger

* pure docker: add new jaeger

* fix deploy-frontend-internal.sh and deploy-frontend.sh

* fix permissions

Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
2020-04-15 11:20:45 -07:00
Stephen Gutekanst ff8e67c02e remove the management console (#54) 2019-12-16 21:31:19 -07:00
Keegan Carruthers-Smith 99163c61d6 zoekt: Support multiple replicas (#50)
Support scaling zoekt horizontally
2019-11-25 19:04:58 -07:00
Stephen Gutekanst 37556fd037 jaeger: disable for now, see sourcegraph/sourcegraph#5363 2019-08-26 02:45:03 -07:00
Stephen Gutekanst 241d24c263 add cadvisor for exposing more container metrics to Prometheus 2019-08-21 12:33:43 -07:00
Stephen Gutekanst a9c5cc39bd add replacer deployment 2019-08-19 19:30:44 -07:00
Stephen Gutekanst 7edad6200f add lsif-server deployment 2019-08-19 19:22:46 -07:00
Stephen Gutekanst 6ce612ad77 add support for specifying replica counts for cluster deployments (#32) 2019-04-16 00:56:52 -07:00
Stephen Gutekanst 51ca07933b add Grafana + standard dashboards 2019-04-08 20:57:42 -07:00
Stephen Gutekanst 2c2bed7fef all: add Prometheus metrics 2019-04-08 20:35:32 -07:00
Stephen Gutekanst 0804f19a0d all: add Jaeger tracing 2019-04-04 15:56:49 -07:00
Stephen Gutekanst befde854b7 update to v3.0.0-alpha.6
- Remove indexer (no longer used).
- Remove config.json (moved to management console).
- Add management console.
- Properly connect repo-updater to github-proxy.
2018-12-14 19:16:59 -08:00
Stephen Gutekanst 9b0673089e remove lsp-proxy (fixes #10) 2018-11-01 18:52:14 -07:00
Stephen Gutekanst 60470749a9 initial commit 2018-10-19 16:03:16 -07:00