mattermost/server/config.mk
Alejandro García Montoro ef8a8cf2cb
Add Azurite to test infrastructure (#36485)
Wire Microsoft's local Azure Blob Storage emulator into the dev/CI
docker-compose stack so an upcoming Azure FileBackend driver and its
tests have a target to run against, without requiring an Azure
account.

* Define the azurite service in docker-compose.common.yml (used by
  both the local-dev and CI compose files).
* Add azurite to the makefile + main docker-compose.yml service maps,
  and to docker-compose-generator so callers can include it via
  ENABLED_DOCKER_SERVICES.
* Auto-include azurite in `make start-docker` (mirrors how minio is
  auto-included today), so existing local workflows keep working
  without any per-developer config change.
* Add azurite to the CI start_dependencies wait set so CI brings it up
  alongside postgres/minio.
* Set CI_AZURITE_HOST / CI_AZURITE_PORT in dotenv/test.env, mirroring
  the CI_MINIO_* pattern.

No production filestore changes — this PR is mergeable in isolation
with no user-visible behavior.

------
AI assisted commit
2026-05-11 12:06:59 +02:00

35 lines
1.1 KiB
Makefile

# Do not modify this file, if you want to configure your own environment copy
# this file in config.override.mk and modify that file, or defining environment
# variables using the same names found here.
# Enable services to be run in docker.
#
# Possible options: postgres, minio, azurite, inbucket, openldap, dejavu,
# keycloak, elasticsearch, opensearch, redis, prometheus,
# grafana, loki and otel-collector.
#
# Must be space separated names.
#
# Example: postgres elasticsearch
ENABLED_DOCKER_SERVICES ?= postgres inbucket redis prometheus grafana loki otel-collector
# Disable entirely the use of docker
MM_NO_DOCKER ?= false
# Run the server in the background
RUN_SERVER_IN_BACKGROUND ?= true
# Data loaded by default in openldap when container starts.
#
# Possible options: test or qa
LDAP_DATA ?= test
# Mock the CWS.
MM_ENABLE_CWS_MOCK ?= false
# Skip running setup-go-work automatically.
# IGNORE_GO_WORK_IF_EXISTS is supported for backwards compatibility.
ifdef IGNORE_GO_WORK_IF_EXISTS
SKIP_SETUP_GO_WORK ?= $(IGNORE_GO_WORK_IF_EXISTS)
endif
SKIP_SETUP_GO_WORK ?= false