Commit Graph
23 Commits
Author SHA1 Message Date
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