« LabsServices.php

code reviewgit-loggit-blameraw text


<?php
# WARNING: This file is publicly viewable on the web. Do not put private data here.

# LabsServices.php statically defines all service hostnames/ips
# for any service used by MediaWiki in the Beta Cluster.
#
# Included from: ../src/ServiceConfig.php
#

return [
	'eqiad' => [
		'udp2log' => 'mwlog.svc.deployment-prep.eqiad1.wikimedia.cloud:8420',
		'xenon' => 'arclamp.svc.deployment-prep.eqiad1.wikimedia.cloud',
		'xhgui-pdo' => 'mysql:host=deployment-db15.deployment-prep.eqiad1.wikimedia.cloud;dbname=xhgui',
		'excimer-ui-url' => 'https://performance.wikimedia.beta.wmcloud.org/excimer/',
		'excimer-ui-server' => 'https://webperf.svc.deployment-prep.eqiad1.wikimedia.cloud/excimer/',
		'statsd' => 'prometheus-labmon.eqiad.wmnet',
		'search-chi' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'search-psi' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'search-omega' => [
			// Same as search-chi for now to match production services
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		// deployment-prep doesn't have dns discovery
		'search-chi-dnsdisc' => null,
		'search-psi-dnsdisc' => null,
		'search-omega-dnsdisc' => null,
		// cloudelastic is not duplicated in labs, it is a write-only cluster and multi-cluster
		// is sufficiently tested with the clusters above.
		'cloudelastic-chi' => null,
		'cloudelastic-psi' => null,
		'cloudelastic-omega' => null,
		// semanticsearch doesn't exist in labs either
		'semanticsearch-test' => null,
		'ttmserver-dnsdisc' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'ttmserver' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'ttmserver-test-dnsdisc' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'ttmserver-test' => [
			// These MUST match the installed SSL certs
			'deployment-cirrussearch15.deployment-prep.eqiad1.wikimedia.cloud',
		],
		// We will not use analytics-web in beta
		'analytics-web' => null,
		// No parser cache DBs in beta yet
		'parsercache-dbs' => [],
		'urldownloader' => 'http://url-downloader.svc.deployment-prep.eqiad1.wikimedia.cloud:8080',
		'parsoid' => 'http://appservers.svc.deployment-prep.eqiad1.wikimedia.cloud/w/rest.php',
		'mathoid' => 'http://mathoid.svc.deployment-prep.eqiad1.wikimedia.cloud:10044',
		'eventgate-analytics' => 'http://deployment-eventgate-4.deployment-prep.eqiad1.wikimedia.cloud:8192',
		'eventgate-analytics-external' => 'http://deployment-eventgate-4.deployment-prep.eqiad1.wikimedia.cloud:8492',
		'eventgate-main' => 'http://deployment-eventgate-4.deployment-prep.eqiad1.wikimedia.cloud:8292',
		'upload' => 'deployment-ms-fe04.deployment-prep.eqiad1.wikimedia.cloud',
		'cxserver' => 'http://deployment-docker-cxserver01.eqiad.wmflabs:8080',

		'wikifunctions-orchestrator' => 'deployment-docker-wikifunctions01.deployment-prep.eqiad1.wikimedia.cloud:6254',

		'irc' => [],
		'redis_default_lock' => [
			'rdb1' => 'deployment-rdb01.deployment-prep.eqiad1.wikimedia.cloud',
		],
		'etcd' => [
			'host' => '_etcd._tcp.svc.deployment-prep.eqiad1.wikimedia.cloud',
			'protocol' => 'https',
		],
		'mediaSwiftAuth' => 'http://deployment-ms-fe04.deployment-prep.eqiad1.wikimedia.cloud/auth',
		'mediaSwiftStore' => 'http://deployment-ms-fe04.deployment-prep.eqiad1.wikimedia.cloud/v1/AUTH_mw',
		'push-notifications' => 'http://push-notifications.svc.deployment-prep.eqiad1.wikimedia.cloud:8900',
		'linkrecommendation' => 'https://api.wikimedia.org/service/linkrecommendation',
		'data-gateway' => null,
		// No public API.
		'opensearch_ipoid' => null,
		// No Shellbox/k8s in beta cluster (T286298)
		'shellbox' => null,
		'shellbox-constraints' => 'https://shellbox.svc.deployment-prep.eqiad1.wikimedia.cloud',
		'shellbox-media' => null,
		'shellbox-syntaxhighlight' => null,
		'shellbox-timeline' => null,
		'shellbox-video' => 'https://shellbox-video.svc.deployment-prep.eqiad1.wikimedia.cloud',
		// No envoy in beta cluster?
		'mwapi' => null,
		'test-kitchen' => 'https://test-kitchen-next.wikimedia.org',

		### Logstash
		'logstash' => [
			'localhost',
		],

		### Restbase
		'restbase' => 'http://deployment-restbase05.deployment-prep.eqiad1.wikimedia.cloud:7231',

		### Rest Gateway. Same as Restbase for now, may change when we get true beta rest gateway
		'rest-gateway' => 'http://deployment-restbase05.deployment-prep.eqiad1.wikimedia.cloud:7231',

		### Poolcounter
		'poolcounter' => [
			'deployment-poolcounter07.deployment-prep.eqiad1.wikimedia.cloud',
		],

		### Kask
		'sessionstore' => 'http://sessionstore.svc.deployment-prep.eqiad1.wikimedia.cloud:8080',
		'echostore' => 'http://echostore.svc.deployment-prep.eqiad1.wikimedia.cloud:8080',

		'chart-renderer' => 'http://deployment-docker-charts01.deployment-prep.eqiad1.wikimedia.cloud:6284',
		'device-analytics' => null,
		'page-analytics' => null,

		// IP ranges that might be used as a client IP in a GitLab webhook post. For Produnto.
		'gitlab-nets' => [
			'208.80.152.0/22',
			'2620:0:860::/46',
		],
	],
];