mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
948d45604c
1, set harbor to readonly 2, select the candidate artifacts from Harbor DB. 3, call registry API(--delete-untagged=false) to delete manifest bases on the results of #2 4, clean keys of redis DB of registry, clean artifact trash and untagged from DB. 5, roll back readonly. Signed-off-by: wang yan <wangyan@vmware.com> |
||
---|---|---|
.. | ||
legacy_swagger.yaml | ||
README.md | ||
swagger.yaml |
References
This file lists all the files that are referring the swagger yaml file.
- Makefile
java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient
- README
Harbor RESTful API
inAPI
section
- docs/configure_swagger.md
https://raw.githubusercontent.com/goharbor/harbor/master/api/harbor/swagger.yaml
- make/photon/portal/Dockerfile
COPY ./api/harbor/swagger.yaml /build_dir
- tests/swaggerchecker.sh
HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT/api/harbor/swagger.yaml"
- else
HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_PULL_REQUEST_SLUG/$TRAVIS_PULL_REQUEST_SHA/api/harbor/swagger.yaml"
Notes: Base path is the code repository root dir.