Commit Graph
120 Commits
Author SHA1 Message Date
uwedeportivo 7f52937cfb image tags: move to 3.19 (#138) 2020-08-20 09:15:17 -07:00
Stephen Gutekanst f9a5faa364 docker-compose: do not quote env var values (#131)
The double quotes meant this Caddy configuration:

```
reverse_proxy {$SRC_FRONTEND_ADDRESSES}
```

Expanded to:

```
reverse_proxy "sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080"
```

Instead of:

```
reverse_proxy sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080
```

Which led to Sourcegraph being unavailable entirely:

```
2020/08/14 00:03:05.971	INFO	using provided configuration	{"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
run: adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': /etc/caddy/Caddyfile:7 - Error during parsing: parsing upstream address: parse "undefined://sourcegraph-frontend-0:3080 sourcegraph-frontend-1:3080 sourcegraph-frontend-2:3080": invalid character " " in host name
```

This came from
2020-08-13 18:54:08 -07:00
Gonzalo Peci c2bf177bfb Increase minimum interval and timeout for all services (#130) 2020-08-13 12:21:27 +02: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
Stephen Gutekanst 70d367a5ef docker-compose: fix observability.alerts 2020-07-27 19:18:29 -07:00
Dax McDonald c284c409e4 Update docs for 3.18 2020-07-20 17:12:22 -07:00
Dax McDonald dcf8f00f28 Update all images to 3.18.0 2020-07-17 19:09:11 -07:00
davejrt 7dafb7f3c3 fix key file name in example (#125) 2020-07-16 12:21:13 -05:00
Robert Lin 4d09da7055 add SRC_FRONTEND_INTERNAL to prometheus, remove from grafana (#122) 2020-07-08 13:19:24 +08:00
Stephen Gutekanst 8654506828 docker-compose: release v3.17.2 2020-06-26 14:39:39 -07:00
Stephen Gutekanst 4bd500c00a update Docker image tags to 3.17.2 2020-06-26 13:09:03 -07:00
Robert Lin 42c017a269 cadvisor: apply args to reduce output (#118) 2020-06-16 10:25:49 +08:00
Robert Lin 545a9181b7 declare SRC_FRONTEND_INTERNAL for docker-compose, docker (#119) 2020-06-16 07:53:46 +08:00
Dax McDonald 150339e8df Add env var for JAEGER_SERVER_URL (#116)
This allows for reverse proxying of the Jaeger dashboard in docker deployments
2020-06-03 09:15:56 -07:00
Robert Lin 5dc1683eee set DEPLOY_TYPE for pure-docker, docker-compose (#115) 2020-06-02 18:16:07 -07:00
Stephen Gutekanst 50d7905245 release v3.16.0 2020-05-22 17:25:27 -07:00
Stephen Gutekanst 3f382768ba update Docker image tags to 3.16.0 2020-05-22 17:19:12 -07:00
Robert Lin fca56e82bc pin cadvisor to sourcegraph mirror (#111) 2020-05-22 15:33:24 -07:00
Eric Fritz 943a108131 Remove precise-code-intel-api-server (#110) 2020-05-21 16:06:56 -05:00
Eric Fritz 8ce23c9e47 Add PRECISE_CODE_INTEL_BUNDLE_MANAGER_URL to frontend deployment (#109) 2020-05-21 12:03:16 -05:00
Robert Lin 79c5a218c3 add prometheus server URL (#108) 2020-05-18 17:03:15 -07:00
Eric Fritz 329e38ed5b Update precise-code-intel service definitions (#104) 2020-05-11 15:13:51 -05:00
Stephen Gutekanst 305967a107 docker-compose: bump version 2020-04-30 09:25:34 -07:00
Stephen Gutekanst 5a15f0fd7d prometheus: undo sideloaded configuration (not working correctly and not important) 2020-04-30 09:21:35 -07:00
Stephen Gutekanst 2ff345e601 update image tags to v3.15.1 2020-04-30 09:13:24 -07: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
renovate[bot]andRenovate Bot 5329569545 Update Sourcegraph Prometheus / Grafana Docker images (#100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 20:18:33 -07:00
renovate[bot]andRenovate Bot 05f4529621 Update Sourcegraph Prometheus / Grafana Docker images (#99)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 17:32:13 -07:00
renovate[bot]andRenovate Bot 614b6a5f3c Update Sourcegraph Prometheus / Grafana Docker images (#96)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 13:13:17 -07:00
Beyang Liu d87b34100f jaeger: set --memory.max-traces (#98) 2020-04-16 00:54:00 -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
renovate[bot]andRenovate Bot 5cb21674ad Update Sourcegraph Prometheus / Grafana Docker images (#95)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-14 19:04:02 -07:00
Stephen Gutekanst c1f185066f docker-compose: correct image name 2020-04-14 06:07:25 -07:00
Stephen Gutekanst 0e8e2bc107 all: use Sourcegraph-versioned images for grafana, redis, etc.
See https://github.com/sourcegraph/sourcegraph/issues/9251
2020-04-14 04:15:24 -07:00
Stephen Gutekanst c2964809bb update image tags 2020-04-08 22:06:09 -07:00
Eric Fritz 5a12716d72 Add LSIF_API_SERVER_URL envvar to replace LSIF_SERVER_URL (#92) 2020-03-26 20:09:01 -05:00
Stephen Gutekanst 7d3c9e012c remove Amazon Linux (non-v2) support 2020-03-25 15:07:06 -07:00
Stephen Gutekanst 2c31a53c18 v3.14.0-1 (#91)
* lsif-server: correct file permissions on new deployments

See https://github.com/sourcegraph/sourcegraph/pull/9321

* cadvisor: add support for Amazon Linux (non-v2)

This volume mount is required for cadvisor to work correctly on Amazon Linux (non-v2)
host OSs, and likely other older Linux distros.

I have also tested on Ubuntu Xenial, and with a volume mount that does not exist,
and neither appear to cause any issues when `/cgroup` does not exist on the host OS
so this should be fine to add for all deployments.
2020-03-25 13:02:29 -07:00
Stephen Gutekanst 07b32c2611 docker-compose: update version in README 2020-03-23 15:34:16 -07:00
Stephen Gutekanst 0993b86ef6 fix indention 2020-03-20 15:13:17 -07:00
Stephen Gutekanst 9ec226b2ec update image tags to v3.14.0 2020-03-20 14:54:59 -07:00
Stephen Gutekanst be311290e4 docker-compose: remove experimental wording, better upgrading documentation (#86) 2020-03-18 13:56:15 -07:00
Stephen Gutekanst 681efd8419 docker-compose: fix syntax error 2020-03-12 22:35:15 -07:00
Stephen Gutekanst 1eb79c6566 update image tags to v3.13.2 2020-03-12 22:04:40 -07:00
Stephen Gutekanst 9d0974e183 properly connect frontends to github-proxy
Prior to this change, a new connection between the frontend and github was introduced
but due to the environment variable `GITHUB_BASE_URL` defaulting to `http://github-proxy`
for our Kubernetes environments this was incorrect in our docker-compose and pure-docker
deployment environments.

In particular, the connection is made for campaigns and authz (i.e. `authorization` in
the github configuration on Sourcegraph).
2020-03-12 21:58:27 -07:00
renovate[bot]andRenovate Bot bfbbf9288b Update index.docker.io/caddy/caddy:alpine Docker digest to ef2f477 (#78)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 21:16:32 -07:00
renovate[bot]andRenovate Bot 9aaea8953d Pin google/cadvisor Docker tag (#56)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 21:15:31 -07:00
Geoffrey Gilmore 9a2c17a16b Update docker-compose.yaml 2020-03-03 11:14:00 -08:00
renovate[bot]andWhiteSource Renovate 4a2ac5f216 Update Sourcegraph Docker images Docker tags (#79)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-03 11:10:06 -08:00
Geoffrey Gilmore 5a8b620506 Revert "add DEPLOY_TYPE=docker-compose to all relevant services (#63)"
This reverts commit f75a88c0a1.
2020-02-28 12:35:30 -08:00