Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add credential selection support for Gitlab multi-branch pipeline #1361

Closed
LinuxSuRen opened this issue Dec 11, 2020 · 4 comments
Closed

Add credential selection support for Gitlab multi-branch pipeline #1361

LinuxSuRen opened this issue Dec 11, 2020 · 4 comments
Assignees
Labels
area/devops kind/feature Categorizes issue or PR as related to a new feature. kind/need-to-verify

Comments

@LinuxSuRen
Copy link
Member

What would you like to be added:
Add a selection of Gitlab server.

Please see the following screenshot:

image

Below is an example of the data structure (you need to fouc on credential_id):

 15 spec:
 14   multi_branch_pipeline:
 13     discarder:
 12       days_to_keep: "-1"
 11       num_to_keep: "-1"
 10     gitlab_source:
  9       credential_id: admin
  8       discover_branches: 1
  7       owner: linuxsuren1
  6       repo: linuxsuren1/private
  5       server_name: default
  4     name: private
  3     script_path: Jenkinsfile
  2     source_type: gitlab
  1   type: multi-branch-pipeline
31  status: {}

Why is this needed:
For a private Gitlab server, the credential is necessary.

/area devops

@harrisonliu5
Copy link
Collaborator

/assign @harrisonliu5

@harrisonliu5
Copy link
Collaborator

/kind need-to-verify

@ks-ci-bot
Copy link
Collaborator

@harrisonliu5: The label(s) kind/ cannot be applied, because the repository doesn't have them

In response to this:

/kind need-to-verify

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@harrisonliu5
Copy link
Collaborator

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devops kind/feature Categorizes issue or PR as related to a new feature. kind/need-to-verify
Projects
None yet
Development

No branches or pull requests

3 participants