lib/gitlab/qa/release.rb in gitlab-qa-5.14.1 vs lib/gitlab/qa/release.rb in gitlab-qa-5.15.0

- old
+ new

@@ -134,10 +134,12 @@ tag.sub(/[-\.]([ce]e)(\.(\d+))?\z/, '-\1') end end def login_params + return if Runtime::Env.skip_pull? + if dev_gitlab_org? Runtime::Env.require_qa_dev_access_token! { username: Runtime::Env.gitlab_dev_username, @@ -169,9 +171,13 @@ image.start_with?("#{COM_REGISTRY}/gitlab-org/build/omnibus-gitlab-mirror/") end def valid? canonical? || release.match?(CUSTOM_GITLAB_IMAGE_REGEX) + end + + def api_project_name + project_name.gsub('ce', 'foss').gsub('-ee', '') end private def canonical?