Add GET /projects/:id/remote_mirrors/:mirror_id/public_key API endpoint
What does this MR do and why?
Adds the "GET /projects/:id/remote_mirrors/:mirror_id/public_key" API endpoint that extends the existing UI ability to obtain a remote mirrors public key to the Remote mirrors API.
Changelog: changed
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Create mirror with SSH authentication
- List a project’s remote mirrors to obtain the created remote mirror's ID
- Make a request to the new endpoint. Example:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/42/remote_mirrors/101486/public_key"
Merge request reports
Activity
changed milestone to %17.9
added featureenhancement groupsource code typefeature labels
assigned to @j.castillo
added pipelinetier-1 label
added Category:Source Code Management devopscreate sectiondev labels
added Support Team Contributions label
added backend label
1 Message This merge request adds or changes documentation files and requires Technical Writing review. The review should happen before merge, but can be post-merge if the merge request is time sensitive. Documentation review
The following files require a review from a technical writer:
-
doc/api/remote_mirrors.md
(Link to current live version)
The review does not need to block merging this merge request. See the:
-
Metadata for the
*.md
files that you've changed. The first few lines of each*.md
file identify the stage and group most closely associated with your docs change. - The Technical Writer assigned for that stage and group.
- Documentation workflows for information on when to assign a merge request for review.
Reviewer roulette
Category Reviewer Maintainer backend @janis
(UTC+1)
@stanhu
(UTC-8)
Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by ****-
added documentation label
- Resolved by Gary Holtz
Can you please review this MR?
requested review from @jfypk and @brendan777
- Resolved by Jio Castillo
- Resolved by Jio Castillo
requested review from @brendan777
added pipeline:mr-approved label
added pipelinetier-2 label and removed pipelinetier-1 label
Before you set this MR to auto-merge
This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.
Before you set this MR to auto-merge, please check the following:
- You are the last maintainer of this merge request
- The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
- This pipeline is recent enough (created in the last 8 hours)
If all the criteria above apply, please set auto-merge for this merge request.
See pipeline tiers and merging a merge request for more details.
Hi
@brendan777
,GitLab Bot has added the Technical Writing label because a Technical Writer has approved or merged this MR.
This message was generated automatically. Improve it or delete it.
added Technical Writing label
E2E Test Result Summary
allure-report-publisher
generated test report!e2e-test-on-gdk:
test report for 83f85d0dexpand test summary
+--------------------------------------------------------------+ | suites summary | +---------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +---------+--------+--------+---------+-------+-------+--------+ | Create | 3 | 0 | 0 | 0 | 3 | ✅ | | Govern | 5 | 0 | 0 | 0 | 5 | ✅ | | Plan | 1 | 0 | 0 | 0 | 1 | ✅ | | Monitor | 2 | 0 | 0 | 0 | 2 | ✅ | +---------+--------+--------+---------+-------+-------+--------+ | Total | 11 | 0 | 0 | 0 | 11 | ✅ | +---------+--------+--------+---------+-------+-------+--------+
e2e-test-on-cng:
test report for 83f85d0dexpand test summary
+------------------------------------------------------------------+ | suites summary | +-------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +-------------+--------+--------+---------+-------+-------+--------+ | Plan | 86 | 0 | 8 | 0 | 94 | ✅ | | Govern | 83 | 0 | 11 | 0 | 94 | ✅ | | Create | 140 | 0 | 22 | 0 | 162 | ✅ | | Fulfillment | 2 | 0 | 7 | 0 | 9 | ✅ | | Verify | 52 | 0 | 20 | 0 | 72 | ✅ | | Configure | 0 | 0 | 3 | 0 | 3 | ➖ | | Data Stores | 33 | 0 | 10 | 0 | 43 | ✅ | | Secure | 2 | 0 | 5 | 0 | 7 | ✅ | | ModelOps | 0 | 0 | 1 | 0 | 1 | ➖ | | Package | 29 | 0 | 15 | 0 | 44 | ✅ | | Monitor | 8 | 0 | 12 | 0 | 20 | ✅ | | Manage | 1 | 0 | 9 | 0 | 10 | ✅ | | Release | 5 | 0 | 1 | 0 | 6 | ✅ | | Ai-powered | 0 | 0 | 2 | 0 | 2 | ➖ | | Analytics | 2 | 0 | 0 | 0 | 2 | ✅ | | Growth | 0 | 0 | 2 | 0 | 2 | ➖ | +-------------+--------+--------+---------+-------+-------+--------+ | Total | 443 | 0 | 128 | 0 | 571 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+
Edited by ****requested review from @garyh
added 321 commits
-
338a3692...b817c1f4 - 318 commits from branch
master
- ff3c5bca - Add GET /projects/:id/remote_mirrors/:mirror_id/public_key API endpoint
- 8a0d2c64 - Add documentation section
- d2bae3c2 - Apply 2 suggestion(s) to 1 file(s)
Toggle commit list-
338a3692...b817c1f4 - 318 commits from branch
reset approvals from @brendan777 by pushing to the branch
added pipelinetier-3 pipeline:run-e2e-omnibus-once labels and removed pipelinetier-2 label
started a merge train
mentioned in commit 6cd33097
added workflowstaging-canary label
mentioned in issue #514005
added workflowcanary label and removed workflowstaging-canary label
added workflowstaging label and removed workflowcanary label
added workflowproduction label and removed workflowstaging label
added workflowpost-deploy-db-staging label and removed workflowproduction label
added workflowpost-deploy-db-production label and removed workflowpost-deploy-db-staging label
mentioned in issue gitlab-com/support/support-team-meta#6680 (closed)
added releasedpublished label