Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-02 06:14:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-02 06:14:20 +0300
commita50bad3dcb354ef9484ba995ad6f48d2736b388a (patch)
treeb408cc507dd57f3bc418565f560971baed3860e0 /lib/api
parent56702a6c997e358f7764df876413e25e9e28866a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/helpers/integrations_helpers.rb27
1 files changed, 1 insertions, 26 deletions
diff --git a/lib/api/helpers/integrations_helpers.rb b/lib/api/helpers/integrations_helpers.rb
index 56deab5274d..cb8e3697e6d 100644
--- a/lib/api/helpers/integrations_helpers.rb
+++ b/lib/api/helpers/integrations_helpers.rb
@@ -291,32 +291,7 @@ module API
desc: 'Branches for which notifications are to be sent'
}
].flatten,
- 'harbor' => [
- {
- required: true,
- name: :url,
- type: String,
- desc: 'The base URL to the Harbor instance which is being linked to this GitLab project. For example, https://demo.goharbor.io.'
- },
- {
- required: true,
- name: :project_name,
- type: String,
- desc: 'The Project name to the Harbor instance. For example, testproject.'
- },
- {
- required: true,
- name: :username,
- type: String,
- desc: 'The username created from Harbor interface.'
- },
- {
- required: true,
- name: :password,
- type: String,
- desc: 'The password of the user.'
- }
- ],
+ 'harbor' => ::Integrations::Harbor.api_fields,
'irker' => [
{
required: true,