Commit Graph
33 Commits
Author SHA1 Message Date
coury-clark 101ba1b34a remove customer-replica references from this repo (#902) 2023-01-26 09:35:28 -07:00
Stephen Gutekanst b5f8cb92a8 all: replace minio with sourcegraph/blobstore (#883)
* all: replace minio with sourcegraph/blobstore
* all: bump image tags for blobstore change
* pure-docker: update image tags (manually)

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
2022-12-06 13:57:39 -07:00
Geoffrey Gilmore 03fc66c088 docker-compose: add node exporter deployment (#874) 2022-11-07 08:44:35 -08:00
Dave Try 891c5126b2 increase timeout, volume permissions (#870) 2022-10-27 16:04:35 -05:00
Camden Cheek 03ed5b8714 reduce container count for pure-docker tests 2022-10-11 10:29:36 -06:00
Robert Lin 66fac668a6 pure-docker: remove jaeger entirely (#852)
#849 took a conservative approach to sourcegraph/sourcegraph#40455 by keeping Jaeger around. I've since reached out to the only customer using this deployment mechanism (https://sourcegraph.slack.com/archives/C012V43N8E7/p1662138872279299) which indicates there is no strong interest in keeping Jaeger around, so this change removes it entirely.
2022-09-06 10:56:29 -07:00
Robert Lin 6d8ecf323d pure-docker: deploy otel-collector by default (#849)
* pure-docker: deploy otel-collector, send traces via otel-collector

* prettier

* fixups
2022-09-01 15:45:34 -07:00
Crystal Augustus f5b45da29f CI Test improvements, fixes (#833)
* Don’t exit early if docker ps failed

* Remove temporary sed command used during timescale migration

* Update expected container counts

* Fix missing variable

* Add timeout to docker-compose up command

* Upgrade caddy in 2.5.1

* Add timeout to pure-docker deployment

* Don’t start deployment in preparation to start deployment?
2022-06-23 14:00:28 -04:00
davejrt 26892f7921 log all errors on exit (#757)
* log all errors on exit
2022-02-10 02:40:14 +00:00
Camden Cheek 8fb0e833bd Remove query-runner from the deployment (#649)
* Remove query-runner from the deployment

* remove docker-compose block for query-runner

* remove remaining references to query-runner

* update smoke tests
2021-11-30 22:31:46 -07:00
Robert Lin 76ea424bd2 pure-docker: move pure-docker to ./pure-docker (#454)
This change will require additional actions for users using the pure-docker deployment option upgrading past 3.30.x - Please refer to https://docs.sourcegraph.com/admin/updates/pure_docker for more details.
2021-07-25 20:34:38 +08:00
Eric Fritz 2c0a88149b Introduce worker service (#440) 2021-06-07 21:20:05 -05:00
davejrt b196165e53 use healthchecks in pure docker (#276)
* use healthcheck to fix db lock
2021-03-02 07:41:53 -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
Gonzalo Peci 29d43e5883 Add self-destroy permissions to tests (#205)
* Add self-destroy permissions to tests

Fixes https://github.com/sourcegraph/sourcegraph/issues/17020

* Update test image to 'e2e-cd59179f-2020-12-04t18-24-14z'
2021-01-06 19:35:18 +01:00
davejrt 13e09d2d19 qa: add logging (#186)
* increase logging 
* refactor scripts with less repeated code.
2020-11-27 15:57:57 -05:00
davejrt 9043cf0fed qa: update base image for test instances (#185)
* update base image for test instances
2020-11-26 08:22:03 -05:00
davejrt 77bb196c48 fix expect containers for branches (#184)
* fix expect containers for branches

* increase wait

* echo failing containers for debug
2020-11-24 17:01:39 -05:00
davejrt 1720d9d7c5 fix branch logic for buildkite (#183) 2020-11-20 17:41:42 -05:00
davejrt bc6c2094f9 remove lsif volume (#182) 2020-11-20 13:58:33 -05:00
Gonzalo Peci a88fc285c8 Increase expected containers to 59 (#181) 2020-11-20 14:58:35 +01: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
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
davejrt 1d0cfbc679 E2e/compose (#150)
* add in compose tests
2020-09-10 14:35:23 -05: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
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 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