Install extension media files when deploying a new container.

Review Request #11487 — Created Feb. 25, 2021 and submitted

Information

Review Board
release-3.0.x

Reviewers

Upon deploying a new container, the main entrypoint script would run a
rb-site upgrade. Unfortunately, an upgrade doesn't take care of any
extension media that may be missing (something we may want to address in
the future). To ensure that the files won't be missing, it now also
performs a rb-site manage ... install-extension-media, which will go
through each extension and place the media files in the site directory.

Deployed a Docker container with an existing site directory and missing
extension media files. Saw that the new media files were installed and
accessible via the browser.

Summary ID
Install extension media files when deploying a new container.
Upon deploying a new container, the main entrypoint script would run a `rb-site upgrade`. Unfortunately, an upgrade doesn't take care of any extension media that may be missing (something we may want to address in the future). To ensure that the files won't be missing, it now also performs a `rb-site manage ... install-extension-media`, which will go through each extension and place the media files in the site directory.
da8f27fd2d44bac23d588b606394015c29c05cb4
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (a08fb55)