Composer Registry
URL: https://composer.smartweb.io/
This is our private composer registry for all our internal packages. The tools behind it are:
- https://github.com/composer/satis - Satisfy core.
- https://github.com/benschw/satis-go - Provides the interface.
Architecture
Traffic flows like this:
- lb1.smartweb.io (TLS) → satis1.smartweb.io
How to add a new package
- Go to your package repository and make sure there is a
composer.json. - Add the deploy keys "Jenkins Ecom", "SW Satis", "SW ShopFactory", "SW Smartweb Staging" and "Gitlab Internal" under "Settings" -> "Repository".
- Add webhook for events "Push Events" and "Tag push events" under "Settings" -> "Webhooks" in the repository.
- Go to https://composer.smartweb.io/admin
- Login with https://netadmin.zitcom.dk/passwords/12113
- Fill type with 'git' and url with "ssh cloning path" fx. git@gitlab.group.team.blue:hostedshop/proj/log.git
- Click "Add".
- Go to https://composer.smartweb.io/ and wait for 1-5 mins and the package will be added to the registry.
Useful URL's
- https://composer.smartweb.io/api/generate-web-job