-
Notifications
You must be signed in to change notification settings - Fork 159
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
feat: Support GitLab Container Registry #2348
feat: Support GitLab Container Registry #2348
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @jopemachine and the rest of your teammates on Graphite |
9b1a455
to
0515970
Compare
0291e41
to
443cb4b
Compare
0515970
to
f760569
Compare
fdf7a62
to
5942be0
Compare
f760569
to
a9cb945
Compare
5942be0
to
e25bf17
Compare
a9cb945
to
aa11f50
Compare
e25bf17
to
a5dadb1
Compare
aa11f50
to
a54cdc2
Compare
8994110
to
79604b6
Compare
79604b6
to
0fc60a8
Compare
f254106
to
5b5e659
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the meaning of project
directive on Gitlab registry etcd config? By the description it looks pretty similar with username
config.
52810f8
to
f1a4645
Compare
5b5e659
to
643e57e
Compare
f1a4645
to
0a1729a
Compare
643e57e
to
e88690a
Compare
bfcbdba
to
9ec3ff9
Compare
Closed as #1917 stack was merged. |
Partially fix #2337.
Test
Manually tested it using the following methods.
In this PR, the
cr.backend.ai/stable/python:3.9-ubuntu20.04
image is used as a placeholder for testing.Prerequisite
cr.backend.ai/stable/python
image to your GitLab package for testing.etcd
.container_registry
column of thegroups
table.registry.gitlab.com
value toallowed_docker_registries
column ofdomains
table using below commandTest scenarios
Verify that the container registry added in this PR is functioning based on several scenarios.
If there are additional scenarios that need testing, please leave a comment.
1. Image Rescan
Image rescanning should work through the following command.
2. Create a session from the pulled image
Run a session using the downloaded image.
3. Commit the changes and push it to the container registry.
For committing a session, it is necessary to assume that the your "GitLab ID" is included in
config/docker/registry/registry.gitlab.com
in etcd.Enter the key value using the following command.
Commit the changes using the
convert-to-image
command and push them to the container registry.Checklist: (if applicable)