Skip to content

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

  1. Go to your package repository and make sure there is a composer.json .
  2. Add the deploy keys "Jenkins Ecom", "SW Satis", "SW ShopFactory", "SW Smartweb Staging" and "Gitlab Internal" under "Settings" -> "Repository".
  3. Add webhook for events "Push Events" and "Tag push events" under "Settings" -> "Webhooks" in the repository.
  4. Go to https://composer.smartweb.io/admin
  5. Login with https://netadmin.zitcom.dk/passwords/12113
  6. Fill type with 'git' and url with "ssh cloning path" fx. git@gitlab.group.team.blue:hostedshop/proj/log.git
  7. Click "Add".
  8. 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