Repository navigation
executors: set EXECUTOR_DEPLOY_TYPE=docker-compose - #1513
Draft
marcleblanc2 wants to merge 1 commit into
Draft
marcleblanc2 wants to merge 1 commit into
marcleblanc2 wants to merge 1 commit into
Conversation
Pings report which artifact deployed the executors.
This was referenced Nov 25, 2026
executors: set EXECUTOR_DEPLOY_TYPE in both executor charts
sourcegraph/deploy-sourcegraph-helm#1032
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
We can't tell which customers deploy which kind of executor. Pings report only each executor's runtime mode (
docker,firecracker,kubernetes), so the Helm and Kustomize Docker-in-Docker charts, Docker Compose, and manual Docker installs all reportdocker, and Helm vs Kustomize or Terraform vs manual installs can't be told apart.Solution
Set
EXECUTOR_DEPLOY_TYPE=docker-composeon the executor service indocker-compose/executors/executor.docker-compose.yaml, next to the existingDEPLOY_TYPE=docker-compose, which the executor never reads. The executor sends it to its Sourcegraph instance, and pings report it (sourcegraph#19875). Older executors ignore it.Checklist
Test plan
test/executor-smoke-test.shagainst a running deployment. The Helm charts' executors were tested end to end on m5 (see sourcegraph#19875); this change only adds the same variable to the Compose environment.Linked PRs
Each executor deployment method sets
EXECUTOR_DEPLOY_TYPE, the executor sends it to its Sourcegraph instance, and pings report it. Merge in this order:update_checksschema field; merge and apply to the live table before #19875 mergesEXECUTOR_DEPLOY_TYPE, instance stores it and reports it in pings; product docshelm-k8s,helm-dindkustomize-k8s,kustomize-dinddocker-composeterraform-awsterraform-gcpsourcegraph-cloud, for Sourcegraph Cloud-managed executorsbinary,binary-offlinein the Linux binary install examples; merge after the release that ships #198753 to 8 can merge in any order once #19875 has merged; older executors ignore the variable.
Amp threads
Changelog
The Docker Compose executor sets
EXECUTOR_DEPLOY_TYPE=docker-compose.