Draft: feat: Add docker registry provider
requested to merge ethan.reesor/contrib/gitlab-vscode-extension:1223-gitlab-container-registry into main
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
Description
Implements a GitLab container registry provider for the Docker extension. Based heavily on https://gitlab.com/gitlab-org/editor-extensions/vscode-gitlab-registries.
Related Issues
Resolves #1223
How has this been tested?
I launched Run Extension
normally, with the --disable-extensions
flag, to ensure that GitLab Workflow does not require the Docker extension to be installed. Then I launched again with all my extensions enabled and verified that the provider worked as expected. Initially I was using version 1.26.1 of the Docker extension (the last version with built in GitLab support), but that version doesn't include the provider API so I updated the registration code to handle that. When I updated the Docker extension to the latest version it worked as expected.
Screenshots (if appropriate)
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Ethan Reesor