Skip to content

chore: Remove leftovers from deprecated deployment types - #1433

Open
marcleblanc2 wants to merge 8 commits into
mainfrom
remove-single-container-leftovers
Open

marcleblanc2 wants to merge 8 commits into
mainfrom
remove-single-container-leftovers

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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, plus dead CI bits and stale docs found along the way.

Deleted

  • nginx/ – sourcegraph/server nginx config, unreferenced since 2020
  • tools/ – sourcegraph/server → Docker Compose migration script, and a pin for update-docker-tags (removed in Remove deprecated tools/enforce-tags and tools/update-docker-tags scripts #1249)
  • .buildkite/ci-checkov.sh and its pipeline step – scanned Terraform, of which there is none
  • TESTING.md – the local-run instructions did not work
  • .nvmrc – nothing reads it; CI uses .tool-versions via mise
  • TEST_TYPE plumbing in pipeline.yaml, test/Vagrantfile, test/smoke-test.sh – only one test type left
  • Unused pins and ignores: asdf-checkov and shellcheck in .tool-versions, /right.dhall and nginx lines in .gitignore, a renovate.json rule for a Go module no longer in go.mod

Updated

  • README.md – rewritten for Docker Compose only
  • Stale docs.sourcegraph.com links in compose/config comments, READMEs, and the PR template
  • 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
  • All new URLs return 200
  • CI: validate-docker-compose, prettier-check, and the docker-compose-test Vagrant smoke test pass

Closes #1181

Docker Compose is the only deployment type this repo supports, so remove
what remained 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
- TEST_TYPE plumbing in pipeline.yaml, Vagrantfile, smoke-test.sh and
  TESTING.md: only one test type is left
- .buildkite/ci-checkov.sh: scanned Terraform, of which there is none
- renovate.json rule for a Go module path that no longer exists

Update README.md and TESTING.md to stop recommending the single Docker
container, point at current docs URLs, and use tags instead of the
removed master branch.

Amp-Thread-ID: https://ampcode.com/threads/T-01a13c63-baf9-736a-839c-164204abba6c
Co-authored-by: Amp <amp@ampcode.com>
@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 and others added 7 commits October 14, 2026 17:42
The local-run instructions did not work: IMAGE had no default, the
vagrant-env plugin was missing, vagrant-run.sh needs sourcegraph-ci
secrets rather than your own GCP account, and the manual tag-hopping
upgrade test depended on TEST_TYPE on old tags. Replace them with the
real requirements for vagrant-run.sh and point upgrade testing at
test/upgrade-test.go.

Amp-Thread-ID: https://ampcode.com/threads/T-01a13c63-baf9-736a-839c-164204abba6c
Co-authored-by: Amp <amp@ampcode.com>
The old operations#database-migrations URL redirected to the wrong page;
the others redirected but to new paths.

Amp-Thread-ID: https://ampcode.com/threads/T-01a13c63-baf9-736a-839c-164204abba6c
Co-authored-by: Amp <amp@ampcode.com>
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.

link of "Open an issue (in sourcegraph/sourcegraph)" is not working

1 participant