Skip to content
代码片段 群组 项目
提交 65cf4576 编辑于 作者: Toon Claes's avatar Toon Claes
浏览文件

Merge branch 'jmd/add-workhorse-shortcut' into 'main'

Add a service shortcut for gitlab-workhorse

See merge request https://gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/3405



Merged-by: default avatarToon Claes <toon@gitlab.com>
Approved-by: default avatarDavid Dieulivol <ddieulivol@gitlab.com>
Approved-by: default avatarToon Claes <toon@gitlab.com>
Co-authored-by: default avatarJohn McDonnell <jmcdonnell@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -12,7 +12,8 @@ module Runit ...@@ -12,7 +12,8 @@ module Runit
'praefect' => 'praefect*', 'praefect' => 'praefect*',
'gitaly' => '{gitaly,praefect*}', 'gitaly' => '{gitaly,praefect*}',
'db' => '{redis,redis-cluster,postgresql,postgresql-geo,clickhouse}', 'db' => '{redis,redis-cluster,postgresql,postgresql-geo,clickhouse}',
'rails-migration-dependencies' => '{redis,redis-cluster,postgresql,postgresql-geo,gitaly,praefect*}' 'rails-migration-dependencies' => '{redis,redis-cluster,postgresql,postgresql-geo,gitaly,praefect*}',
'workhorse' => 'gitlab-workhorse'
}.freeze }.freeze
SERVICES_DIR = Pathname.new(__dir__).join('../services').expand_path SERVICES_DIR = Pathname.new(__dir__).join('../services').expand_path
......
...@@ -266,6 +266,12 @@ ...@@ -266,6 +266,12 @@
expect(described_class::SERVICE_SHORTCUTS['db']).to eq('{redis,redis-cluster,postgresql,postgresql-geo,clickhouse}') expect(described_class::SERVICE_SHORTCUTS['db']).to eq('{redis,redis-cluster,postgresql,postgresql-geo,clickhouse}')
end end
end end
describe 'workhorse' do
it do
expect(described_class::SERVICE_SHORTCUTS['workhorse']).to eq('gitlab-workhorse')
end
end
end end
def stub_services def stub_services
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册