Skip to content

chore: Remove sourcegraph/server and pure-docker leftovers - #1433

Open
marcleblanc2 wants to merge 1 commit into
mainfrom
remove-single-container-leftovers
Open

marcleblanc2 wants to merge 1 commit into
mainfrom
remove-single-container-leftovers

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Problem

  • Docker Compose is the only deployment type this repo still supports, all other deployment types in this repo have been deprecated

  • Much cruft has been left and forgotten in this repo, making it difficult to find which files are used or not

Deleted

  • nginx/ – sourcegraph/server nginx config, unreferenced since 2020

  • tools/migrate.sh, tools/migration_vars – sourcegraph/server → Docker Compose DB migration; the single-container image was removed in 7.0

  • tools/tools.go – pinned update-docker-tags, whose script was removed in Remove deprecated tools/enforce-tags and tools/update-docker-tags scripts #1249; go mod tidy drops it and dev/ci/images

  • renovate.json rule for a Go module path no longer in go.mod

  • nginx cert lines in .gitignore

Updated

  • db-only-migrate.docker-compose.yaml header – it's for backup/restore, not the server migration

Test plan

  • go mod tidy && go vet ./... && go build -o /dev/null ./test/ clean

  • CI: validate-docker-compose, prettier-check, and the docker-compose-test Vagrant smoke test pass

@github-actions

Copy link
Copy Markdown

@marcleblanc2 marcleblanc2 changed the title chore: remove single-container and pure-docker leftovers chore: Remove leftovers from deprecated deployment types Oct 14, 2026
@marcleblanc2
marcleblanc2 requested a review from a team October 15, 2026 00:42
@marcleblanc2
marcleblanc2 enabled stacked auto-merge (squash) October 15, 2026 00:42
Docker Compose is the only deployment type this repo supports. #1386
removed pure-docker/; this removes what was still left over for
sourcegraph/server and pure-docker:

- nginx/: sourcegraph/server nginx config, unreferenced since 2020
- tools/migrate.sh, tools/migration_vars: sourcegraph/server to Docker
  Compose DB migration; the single-container image was removed in 7.0
- tools/tools.go: pinned update-docker-tags, whose script was removed
  in #1249; go mod tidy drops it and dev/ci/images
- renovate.json rule for a Go module path that no longer exists
- .gitignore entries for nginx certs
- db-only-migrate.docker-compose.yaml header: it is for backup/restore,
  not the server migration

Amp-Thread-ID: https://ampcode.com/threads/T-01a18a77-bb16-74a4-b42c-bdbad59a3194
Co-authored-by: Amp <amp@ampcode.com>
@marcleblanc2
marcleblanc2 force-pushed the remove-single-container-leftovers branch from 3da7c50 to c818317 Compare October 30, 2026 01:44
@marcleblanc2 marcleblanc2 changed the title chore: Remove leftovers from deprecated deployment types chore: Remove sourcegraph/server and pure-docker leftovers Oct 30, 2026
@marcleblanc2
marcleblanc2 disabled stacked auto-merge October 30, 2026 03:03
@marcleblanc2
marcleblanc2 added this pull request to stack #1458 October 30, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant