Module: Gitlab::BackgroundMigration::RemoteDevelopment::WorkspaceOperations::BmWorkspaceOperationsConstants

Included in:
Create::BmCreateConstants, Create::DesiredConfig::BmConfigValuesExtractor, Create::DesiredConfig::BmDevfileParserGetter, Create::DesiredConfig::BmDevfileResourceAppender, Create::DesiredConfig::BmScriptsConfigmapAppender
Defined in:
lib/gitlab/background_migration/remote_development/workspace_operations/bm_workspace_operations_constants.rb

Overview

NOTE: Constants are scoped to the namespace in which they are used in production

code (but they may still be referenced by specs or fixtures or factories).
For example, this RemoteDevelopment::BMWorkspaceOperations::BmWorkspaceOperationsConstants
file only contains constants which are used by multiple sub-namespaces
of BMWorkspaceOperations, such as Create and Reconcile.
Constants which are only used by a specific use-case sub-namespace
like Create or Reconcile should be contained in the corresponding
constants class such as BmCreateConstants or ReconcileConstants.

Multiple related constants may be declared in their own dedicated
namespace, such as RemoteDevelopment::BMWorkspaceOperations::BmStates.

See documentation at ../README.md#constant-declarations for more information.

Constant Summary collapse

ANNOTATION_KEY_INCLUDE_IN_PARTIAL_RECONCILIATION =

Please keep alphabetized

:"workspaces.gitlab.com/include-in-partial-reconciliation"
ENV_VAR_SECRET_SUFFIX =
"-env-var"
FILE_SECRET_SUFFIX =
"-file"
INTERNAL_COMMAND_LABEL =
"gl-internal"
INTERNAL_BLOCKING_COMMAND_LABEL =
"#{INTERNAL_COMMAND_LABEL}-blocking".freeze
SECRETS_INVENTORY =
"-secrets-inventory"
VARIABLES_VOLUME_DEFAULT_MODE =
0o774
VARIABLES_VOLUME_NAME =
"gl-workspace-variables"
VARIABLES_VOLUME_PATH =
"/.workspace-data/variables/file"
WORKSPACE_DATA_VOLUME_PATH =
"/projects"
WORKSPACE_INVENTORY =
"-workspace-inventory"
WORKSPACE_LOGS_DIR =
"#{WORKSPACE_DATA_VOLUME_PATH}/workspace-logs".freeze
WORKSPACE_RECONCILED_ACTUAL_STATE_FILE_NAME =
"gl_workspace_reconciled_actual_state.txt"
WORKSPACE_RECONCILED_ACTUAL_STATE_FILE_PATH =
"#{VARIABLES_VOLUME_PATH}/#{WORKSPACE_RECONCILED_ACTUAL_STATE_FILE_NAME}".freeze
WORKSPACE_TOOLS_IMAGE =

Image digest used to avoid arm64 compatibility issues in local development See gitlab.com/gitlab-org/gitlab/-/issues/550128 for tracking arm64 support

"registry.gitlab.com/gitlab-org/gitlab-build-images:20250627091546-workspaces-tools@sha256:9bf96edd6a7e64ee898d774f55e153f78b85e2a911e565158e374efdd2def2c5"