-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Problem
Hi,
As proposed by @rosinec, it would be nice if fedcloudclient had some support to interact with https://registry.egi.eu/, e.g.
- list projects
- download and upload image/artefacts
Could this be considered?
Thanks!
Solution
Add the code to support the below commands:
# List projects in the registry
fedcloud registry --vo vo.name project list
# List repositories in the project
fedcloud registry --vo <name> --project <name> repository list
# List artefacts in the project/repository
fedcloud registry --vo <name> --project <name> --repository <name> artefact list
# Download artefacts
fedcloud registry --vo <name> --project <name> --repository <name> --artefact <name> artefact download
# Upload artefacts
fedcloud registry --vo <name> --project <name> --repository <name> --artefact <name> artefact uploadAlternatives
We are currently using: https://oras.land/
There is also https://github.com/goharbor/harbor-cli but at the moment this tool is experimental