在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:SUSE/Portus开源软件地址:https://github.com/SUSE/Portus开源编程语言:Ruby 73.7%开源软件介绍:Portus
Portus is an authorization server and a user interface for the next generation of the Docker registry. Portus targets version 2 of the Docker Registry API. The minimum required version of Registry is 2.1, which is the first version supporting soft deletes of blobs.
FeaturesFine-grained control of permissionsPortus supports the concept of users and teams. Users have their own personal
Docker namespace where they have both read (aka Portus implements the token based authentication system described by the new version of the Docker registry. This can be used to have full control over the images served by an instance of the Docker registry. Web interface for Docker registryPortus provides quick access to all the images available on your private
instance of Docker registry. User's privileges are taken into account to make
sure private images (the ones requiring special rights also for Self-hostedPortus allows you to host everything on your servers, on your own infrastructure. You don't have to trust a third-party service, just own everything yourself. Take a look at our documentation to read the different setups in which you can deploy Portus. And more!Some highlights:
Take a tour by our documentation site to read more about this. ContributingThere are multiple ways of setting up a development
environment. We
recommend using
You can read more about this environment here. Also, make sure to understand our contribution guidelines, as explained in this document. TestingUnit testsUnit tests are located in the
Make sure to install phantomjs from your Linux
distribution before running unit tests, since feature tests rely on PhantomJS
being installed. All the other ruby dependencies are already covered by our
We also have tests in the frontend. For this, you have to install yarn from your Linux distribution and run:
Integration testsCheck this document in order to better understand how integration tests work. For development, though, if you have already installed Docker, docker-composer and bats, running the following should just work:
Other checksA common pitfall for developers is to forget about code style. For that, make sure to run rubocop:
Note that the command above includes the
We also run brakeman in order to detect security vulnerabilities:
Last but not least, make sure that your git commit follows a proper style. To ensure this, you can run the following task:
Continuous IntegrationWe use Travis CI for continuous integration. You can run what we run in Travis locally:
This script simply executes all the tests and checks that we have presented above. LicensingPortus is licensed under the Apache License, Version 2.0. See LICENSE for the full license text. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论