Commit Graph
611 Commits
Author SHA1 Message Date
Eric Fritz 83ac4d0b16 RFC 235: Add code intel postgres container (#153) 2020-10-01 15:59:08 -05:00
davejrt 867f807e40 remove old shell block (#160) 2020-09-24 10:34:23 -05:00
davejrt 59a56a9e4a use prebuilt image (#159)
* use prebuilt image
2020-09-22 13:55:09 -05:00
uwedeportivo 0b60cc831f upgrade to 3.20.1 (#157) 2020-09-22 07:55:53 -07:00
uwedeportivo 5dc01ec4f1 update docker image tags to 3.20.0 (#154) 2020-09-18 14:35:27 -07:00
renovate[bot]andRenovate Bot 94fafb30d3 Update Sourcegraph Prometheus / Grafana Docker images Docker tags to v3.20.0 (#152)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 14:28:00 -07:00
renovate[bot]andRenovate Bot 5f640fff12 Update Sourcegraph Docker images Docker tags to v3.20.0 (#151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-18 14:27:37 -07:00
davejrt 1d0cfbc679 E2e/compose (#150)
* add in compose tests
2020-09-10 14:35:23 -05:00
Robert Lin f86153dcf8 Revert "add buildkite status"
This reverts commit 626b28d850 - accidental push to master
2020-09-04 15:28:59 +08:00
Robert Lin 626b28d850 add buildkite status 2020-09-04 15:26:07 +08:00
31fab4eb7e e2e testing (#141)
* add Vagrant-based smoke tests for pure Docker deployments

Co-authored-by: Stephen Gutekanst <stephen.gutekanst@gmail.com>
Co-authored-by: Gonzalo Peci <pecigonzalo@users.noreply.github.com>
2020-09-01 17:48:10 -05:00
uwedeportivo 5b8965c818 readme deploy instructions change to 3.19.2 (#149) 2020-09-01 14:31:01 -07:00
uwedeportivo c35eec8c21 upgrade docker image tags to 3.19.2 (#148) 2020-09-01 14:12:19 -07:00
Stephen Gutekanst a197119b29 docker-compose: release v3.19.1 2020-08-20 19:29:21 -07:00
Stephen Gutekanst 5cbef5c387 update image tags to v3.19.1 2020-08-20 19:27:14 -07:00
Stephen Gutekanst 2c6f972786 jaeger: correct image tag 2020-08-20 18:12:06 -07:00
Stephen Gutekanst d3c1040e98 update image tags to v3.19.1-rc.2 2020-08-20 17:52:38 -07:00
uwedeportivo 7f52937cfb image tags: move to 3.19 (#138) 2020-08-20 09:15:17 -07:00
davejrt 92f2dd1e71 Update smoke-test.sh (#137) 2020-08-19 11:12:39 -05:00
Stephen Gutekanst 20281d1ca2 test/pure-docker: update # of expected containers 2020-08-18 21:12:08 -07: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 3a12f8fa54 test/pure-docker: correct Bash string containment check 2020-08-14 17:59:54 -07:00
Stephen Gutekanst e70a219391 pure docker / customer replica smoke tests (#127)
* add Vagrant-based smoke tests for pure Docker deployments
2020-08-14 17:10:56 -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
Stephen Gutekanst a89c7d61b9 RELEASING: do not block on me 2020-07-16 13:26:37 -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 86003f5b21 RELEASING: update to reflect current practice 2020-06-26 14:38:55 -07:00
Stephen Gutekanst 4bd500c00a update Docker image tags to 3.17.2 2020-06-26 13:09:03 -07:00
Robert Lin 983aab5fcf grafana: add jaeger datasource (#120) 2020-06-23 09:40:29 +08: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 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
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 dd722037bf add PR template to keep Kubernetes and Docker Compose in sync (#103)
* add PR template to keep Kubernetes and Docker Compose in sync

See sister change for information:

* prettier: ignore .github

* Update package.json

* Create .prettierignore
2020-05-07 16:43:07 -07:00