summaryrefslogtreecommitdiff
path: root/qa/qa/resource/project_imported_from_github.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-20 08:43:02 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-20 08:43:02 +0000
commitd9ab72d6080f594d0b3cae15f14b3ef2c6c638cb (patch)
tree2341ef426af70ad1e289c38036737e04b0aa5007 /qa/qa/resource/project_imported_from_github.rb
parentd6e514dd13db8947884cd58fe2a9c2a063400a9b (diff)
downloadgitlab-ce-d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb.tar.gz
Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42
Diffstat (limited to 'qa/qa/resource/project_imported_from_github.rb')
-rw-r--r--qa/qa/resource/project_imported_from_github.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/resource/project_imported_from_github.rb b/qa/qa/resource/project_imported_from_github.rb
index cffeed7a64b..28a0f12b3e3 100644
--- a/qa/qa/resource/project_imported_from_github.rb
+++ b/qa/qa/resource/project_imported_from_github.rb
@@ -34,7 +34,7 @@ module QA
def fabricate_via_api!
super
rescue ResourceURLMissingError
- "#{Runtime::Scenario.gitlab_address}/#{group.full_path}/#{name}"
+ "#{Runtime::Scenario.gitlab_address}/#{full_path}"
end
def api_post_path
@@ -49,7 +49,7 @@ module QA
{
repo_id: github_repo_id,
new_name: name,
- target_namespace: group.full_path,
+ target_namespace: @personal_namespace || group.full_path,
personal_access_token: github_personal_access_token,
ci_cd_only: false
}