Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ steps:
command: .buildkite/verify-release/verify-release.sh
agents: { queue: standard }

- label: ":rice: pure-docker-test"
command: .buildkite/vagrant-run.sh docker-test
artifact_paths: ./*.log
env:
TEST_TYPE: "pure-docker-test"
agents: { queue: "vagrant" }

- label: ":rice: docker-compose-test"
command: .buildkite/vagrant-run.sh docker-test
artifact_paths: ./*.log
Expand Down
7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

### Checklist

<!--
Kubernetes and Docker Compose MUST be kept in sync. You should not merge a change here
without a corresponding change in the other repository, unless it truly is specific to
this repository. If uneeded, add link or explanation of why it is not needed here.
-->
* [ ] Sister [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) change:
* [ ] Sister [customer-replica](https://github.com/sourcegraph/deploy-sourcegraph-docker-customer-replica-1) change (if necessary, for any changes affecting pure-docker or configuration):
* [ ] All images have a valid tag and SHA256 sum
### Test plan

Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@ We've made our deployment configurations open source to better serve our custome

[Open an issue (in sourcegraph/sourcegraph)](https://github.com/sourcegraph/sourcegraph/issues/new?assignees=&labels=deploy-sourcegraph&template=deploy-sourcegraph.md&title=%5Bdeploy-sourcegraph%5D) or contact us (support@sourcegraph.com), we are happy to help!

## Pure-Docker Sourcegraph cluster deployment reference

> ⚠️ **Deprecation Notice:** The pure-Docker deployment method is planned for deprecation.

What if your organization wants a multi-machine deployment without using Kubernetes?
What if you use a different container management platform, for example?
Anyone using a container management platform other than Kubernetes (Netflix's [Titus](https://netflix.github.io/titus/), Apache's [Mesos](http://mesos.apache.org/documentation/latest/docker-containerizer/), etc.) can use our [Pure-Docker Sourcegraph cluster deployment reference](./pure-docker/README.md) to deploy Sourcegraph.

---

### Contributing

#### Releasing
Expand Down
71 changes: 0 additions & 71 deletions RELEASING.md

This file was deleted.

6 changes: 3 additions & 3 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ gcloud auth application-default login
- `VAGRANT_GCP_PROJECT_ID`: Project to run on. (default: `sourcegraph-server`)
- `VAGRANT_SSH_USER`: Your SSH user ID as specified in GCP metadata. (default: `ENV['USER']`)
- `VAGRANT_SSH_KEY`: Path to your SSH Keys as specified in GCP metadata. (default: `~/.ssh/id_rsa`)
- `TEST_TYPE`: Deployment type to test, `pure-docker-test` or `docker-compose-test`.
- `TEST_TYPE`: Deployment type to test, `docker-compose-test`.
```
.buildkite/vagrant-run.sh docker-test
```

This command will start a GCP instance, upload your local copy of the reposistory and run the relevant smoke test for each deployment type, [pure-docker-test](test/pure-docker/smoke-test.sh) or [docker-compose-test](test/docker-compose/smoke-test.sh).
This command will start a GCP instance, upload your local copy of the reposistory and run the relevant smoke test for the docker-compose deployment type.

To run any additional tests or commands, edit [servers.yaml](test/pure-docker/servers.yaml) and add the commands to the `shell_commands` list, eg:
To run any additional tests or commands, edit the servers.yaml and add the commands to the `shell_commands` list, eg:
```
shell_commands:
- [...]
Expand Down
26 changes: 0 additions & 26 deletions batch-change/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,18 @@ internal:
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind compose --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../docker-compose/
- name: docker(shell):tags
cmd: |
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind pure-docker --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../pure-docker/
minor:
- name: docker(compose):tags
cmd: |
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind compose --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../docker-compose/
- name: docker(shell):tags
cmd: |
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind pure-docker --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../pure-docker/
major:
- name: docker(compose):tags
cmd: |
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind compose --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../docker-compose/
- name: docker(shell):tags
cmd: |
set -eu
registry=us-docker.pkg.dev/sourcegraph-images/internal
sg ops update-images --registry ${registry} --kind pure-docker --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../pure-docker/
finalize:
steps:
- name: "git:finalize"
Expand Down Expand Up @@ -122,11 +107,6 @@ promoteToPublic:
set -eu
registry=index.docker.io/sourcegraph
sg ops update-images --registry ${registry} --kind compose --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../docker-compose/
- name: docker(shell):tags
cmd: |
set -eu
registry=index.docker.io/sourcegraph
sg ops update-images --registry ${registry} --kind pure-docker --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../pure-docker/
finalize:
steps:
- name: 'Promote on release registry'
Expand Down Expand Up @@ -198,12 +178,6 @@ promoteToPublic:
registry=index.docker.io/sourcegraph
sg ops update-images --registry ${registry} --kind compose --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../docker-compose/

- name: docker(shell):tags
cmd: |
set -eu
registry=index.docker.io/sourcegraph
sg ops update-images --registry ${registry} --kind pure-docker --pin-tag {{inputs.server.tag}} --docker-username $DOCKER_USERNAME --docker-password $DOCKER_PASSWORD ../pure-docker/

- name: "git:branch"
cmd: |
set -eu
Expand Down
78 changes: 0 additions & 78 deletions pure-docker/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions pure-docker/deploy-blobstore.sh

This file was deleted.

35 changes: 0 additions & 35 deletions pure-docker/deploy-caddy.sh

This file was deleted.

37 changes: 0 additions & 37 deletions pure-docker/deploy-cadvisor.sh

This file was deleted.

Loading
Loading