Showing content from https://gitlab.com/gitlab-org/gitlab-qa/-/merge_requests/243.diff below:
diff --git a/docs/what_tests_can_be_run.md b/docs/what_tests_can_be_run.md index b7dc50d3482d57e507fa890c22af1db1ed90aa55..578d9f8d9e50f2e75aaf0549dac979d946d5414d 100644 --- a/docs/what_tests_can_be_run.md +++ b/docs/what_tests_can_be_run.md @@ -448,8 +448,10 @@ to the canary fleet. This scenario functions the same as `Test::Instance::Staging` but will run tests against [`pre.gitlab.com`](https://pre.gitlab.com). -Note that [`pre.gitlab.com`](https://pre.gitlab.com) is used as an Interim -Performance Testbed and [will be replaced with the actual testbed in the future](https://gitlab.com/groups/gitlab-com/gl-infra/-/epics/60). +### `Test::Instance::Onprem` + +This scenario functions the same as `Test::Instance::Staging` +but will run tests against [`onprem.testbed.gitlab.net`](https://onprem.testbed.gitlab.net), which has replaced preprod as [the performance testbed](https://gitlab.com/groups/gitlab-com/gl-infra/-/epics/60). ### `Test::Instance::Smoke` diff --git a/lib/gitlab/qa.rb b/lib/gitlab/qa.rb index e8ce29a7eb162f8bb009cde270eef4a1c5618a1e..fa49d59be3a8e267218d6bb373fe4b29acb168df 100644 --- a/lib/gitlab/qa.rb +++ b/lib/gitlab/qa.rb @@ -21,6 +21,7 @@ module Gitlab autoload :Production, 'gitlab/qa/scenario/test/instance/production' autoload :Smoke, 'gitlab/qa/scenario/test/instance/smoke' autoload :Preprod, 'gitlab/qa/scenario/test/instance/preprod' + autoload :Onprem, 'gitlab/qa/scenario/test/instance/onprem' end module Omnibus @@ -61,6 +62,7 @@ module Gitlab autoload :Minio, 'gitlab/qa/component/minio' autoload :Preprod, 'gitlab/qa/component/preprod' autoload :Elasticsearch, 'gitlab/qa/component/elasticsearch' + autoload :Onprem, 'gitlab/qa/component/onprem' end module Docker diff --git a/lib/gitlab/qa/component/onprem.rb b/lib/gitlab/qa/component/onprem.rb new file mode 100644 index 0000000000000000000000000000000000000000..852ec39033fabe2c1e4511a07706101eeb153dd3 --- /dev/null +++ b/lib/gitlab/qa/component/onprem.rb @@ -0,0 +1,13 @@ +require 'net/http' +require 'json' +require 'uri' + +module Gitlab + module QA + module Component + class Onprem < Staging + ADDRESS = 'https://onprem.testbed.gitlab.net'.freeze + end + end + end +end diff --git a/lib/gitlab/qa/scenario/test/instance/onprem.rb b/lib/gitlab/qa/scenario/test/instance/onprem.rb new file mode 100644 index 0000000000000000000000000000000000000000..0a6f40c5e31ce30c20713835f239e1661ee64a3b --- /dev/null +++ b/lib/gitlab/qa/scenario/test/instance/onprem.rb @@ -0,0 +1,18 @@ +module Gitlab + module QA + module Scenario + module Test + module Instance + ## + # Run test suite against onprem.testbed.gitlab.net + # + class Onprem < DeploymentBase + def deployment_component + Component::Onprem + end + end + end + end + end + end +end
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4