Beta叢集
Beta cluster
与生产环境类似的地方,用于新功能的最后阶段测试。
|
The Beta Cluster is a functional, production-like environment in the Cloud VPS that is suitable for final-stage testing of new features. It was initially created as a way to provide an exact copy of the WMF production cluster (including db hosts, apaches, logging, squids, varnish caching, image scalers, etc.) using Cloud VPS instances.
Current Status
Beta Cluster remains a significant part of MediaWiki's development ecosystem, serving as a pre-production environment to test and deploy code before it reaches production, reshaped its purpose and management but is largely unmaintained.
In 2024, the Developer Experience group took Product Stewardship of Beta Cluster[1] and are currently focused on giving it clear direction and narrowing its use cases. The long-term goal is to transform the Beta Cluster into a Playground environment for experimentation and testing without replicating every aspect of production. As part of this effort, the team is also working actively on tools like PatchDemo/Catalyst to ensure the most common use cases of Beta are covered as on-demand isolated testing environments. While this transformation is ongoing, the team is prioritizing only very essential updates (E.g. PHP 8.1 Upgrade) and not addressing smaller issues in its current state.
Developer Experience encourage users of Beta Cluster to submit a feature request in Phabricator if their requirements are not adequately addressed yet by PatchDemo/Catalyst or other tools. Their input will guide improvements and help prioritize features.
How it works
它在git master上運行,其MediaWiki核心和擴展代碼大約每十分鐘更新一次。 Beta叢集是维基媒体測試各個維基子計劃的其中之一。 它使用自己的SUL登錄(與生產环境分開)。例如,en.wikipedia.beta.wmflabs.org 帳戶也適用於 en.wikisource.beta.wmflabs.org,但不適用於任何生產环境的维基站点(如 en.wikipedia.org)。
- 請參閱其偏好設定概述。
Open tasks
Open tasks can be found in the workboard in Phabricator. Those task are currently used as a way to catalogue issues or recurring problems, but are not addressed or observed immediately.
测试Beta叢集上的更改
請參閱部署到Beta叢集,瞭解部署步驟。
來自beta叢集的日誌將會發送到Logstash,且可以在beta-logs.wmcloud.org中查看。
這個網站目前由密碼保護,請查閱ssh deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud sudo cat /root/secrets.txt
,以獲得個別帳戶的資訊。
如果你的EventLogging事件没有显示在仪表板上,也许可以查看一下日志和数据库的可能问题。
如果還是不起作用,也许事件记录和/或机器需要重新启动。
发個信息给#wmf-analytics的朋友们。
如果你需要在Beta叢集上运行一个维护脚本,请ssh到deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud(必需通过bastion.wmcloud.org的proxying)。
如果你需要检查数据库,它们被託管在这所列出的那些名字为*dbXX*的机器上:https://openstack-browser.toolforge.org/project/deployment-prep
如果你只需要运行某些查询,可以ssh到deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud并运行sql testwiki
或用你需要的任何其他名字為db開頭的機器。
通过在#wikimedia-releng中使用前缀"!log ",将信息貯藏到beta叢集的服务器管理日誌中。
參見
历史文档
- 規格:维基媒体實驗室/beta版中需修復的內容
- 時程表:請參閱舊的维基媒体實驗室計劃(修訂版1、2和3)
- 2014-15年第三季度(潛在)計劃