Repository navigation
docs/executors: Document EXECUTOR_DEPLOY_TYPE - #2190
Draft
marcleblanc2 wants to merge 1 commit into
Draft
marcleblanc2 wants to merge 1 commit into
marcleblanc2 wants to merge 1 commit into
Conversation
Add it to the executor configuration reference and pings list, and set it in the Linux binary install examples. Amp-Thread-ID: https://ampcode.com/threads/T-01a213e9-c2b8-74e8-960c-9756dee340e8 Co-authored-by: Amp <amp@ampcode.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Contributor
This was referenced Nov 25, 2026
executors: set EXECUTOR_DEPLOY_TYPE in both executor charts
sourcegraph/deploy-sourcegraph-helm#1032
Draft
This branch was successfully deployed
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 deployments, Docker Compose, and manual Docker installs all reportdocker, and Helm vs Kustomize, Terraform vs manual installs, or Sourcegraph-managed vs customer-managed executors can't be told apart.Solution
Document
EXECUTOR_DEPLOY_TYPE(sourcegraph#19875):executors-config.mdx: a row for the variable that says which deployments set it, and that pings report any other value asunknown.deploy-executors-binary.mdx: both environment examples setEXECUTOR_DEPLOY_TYPE=binary, since a Linux binary install has no deployment artifact to set it.deploy-executors-binary-offline.mdx: set it tobinary-offline.admin/pings.mdx: lists the new ping data.sourcegraph#19875 makes the same changes to the product docs in sourcegraph/sourcegraph. Merge this after the release that ships sourcegraph#19875; older executors ignore the variable, so the docs are harmless before then.
Test plan
#general-configurationheading.Helm-DinD,my-custom-thing) or unset are reported asunknown.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
Document
EXECUTOR_DEPLOY_TYPE.