Repository navigation
v0.9.1
v0.9.1 ~ "Images that ship their extensions load them from the registry"
Highlights
-
An image that ships its extensions no longer needs them in the console. On an image built with
REGISTRY_PREINSTALLED_EXTENSIONS=true(Fleetbase Cloud) nothing installs at runtime, so an extension had to be added twice: its server package to the API image and its engine to the console'spackage.json. Now it is one line:- add the server package to
api/extensions/composer.json; - build the API image with
REGISTRY_FETCH_ENGINES=true. After the Composer install,php artisan registry:fetch-enginesdownloads each extension's ready-built console files from the registry, checks them and puts them where the API serves them; - the console loads them at boot, and stays the stock image.
Private and paid extensions need the instance token at build time (the
registry_tokenbuild secret) orREGISTRY_FETCH_ENGINES_ON_START=true. Seeapi/extensions/README.md. (registry-bridge 0.4.0, #780) - add the server package to
-
On such an image, an extension loads only for the organizations that installed it. The image carries the engine for everyone; an organization's install record decides who gets it. (ember-core 0.4.1)
-
Extensions say why they are not available. On an image that ships its extensions, the catalog no longer asks for a console rebuild. An extension the image does not carry reads "Not on Fleetbase Cloud yet" on the cloud. (registry-bridge 0.3.2)
-
Private extensions stay out of Discover. Private listings are no longer listed or searchable in the console; an organization with access opens one by its link, and it shows under Installed. On Fleetbase Cloud a company sees only the private listings granted to it. (registry-bridge 0.4.1, with Registry Service 2.0.1)
-
Tidier Extensions pages. A long category no longer pushes the install button out of its card, and Fleetbase Cloud drops the "Only what works with my Fleetbase" filter. (registry-bridge 0.4.1)
Component Versions
registry-bridge:0.4.1ember-core:0.4.1- Works with the Registry Service
v2.0.1and@fleetbase/cli2.0.x
Upgrading
Nothing to do for an instance that installs extensions at runtime (the Docker setup, a self-hosted install).
For an image that ships its extensions:
- Add each extension's server package to
api/extensions/composer.json. - Build the API image with
REGISTRY_FETCH_ENGINES=true(andREGISTRY_SERVICE_URLfor a registry other than the default). - Take those engines out of the console's
package.jsononce they load at runtime. An engine the console was built with keeps winning over its runtime copy.