OpenConext / OpenConext-user-lifecycle

Deprovision users within the OpenConext platform
Apache License 2.0
1 stars 0 forks source link

Set environments to prod #58

Closed MKodde closed 2 years ago

MKodde commented 2 years ago

Tweak the release script:

  1. Run the release in prod mode, with debug disabled
  2. The dev cache folder is now no longer created in the Tarbal. A prod cache is added instead.
MKodde commented 2 years ago

This is an example tarbal that would be created from this makeRelease.sh script. OpenConext-user-lifecycle-maintenance_update-release-script.tar.gz

quartje commented 2 years ago

This included the prod cache already warmed up in the tarball. Is that the recommended way to ship this? Or should the cache be explicitly warmed up when deploying the app?

MKodde commented 2 years ago

Running Composer install on a symfony app also performs a cache:clear. Which in turn warms up the cache.

Having the cache in the tarbal is extra kilobytes. And might contain data that is not portable at all.

MKodde commented 2 years ago

OpenConext-user-lifecycle-maintenance_update-release-script.tar.gz

:point_up: This is the current state of affairs @quartje