INFRA-517: Phase 2 #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
config.ini.phpfile to activate the core ConfigJsTracker pluginconfig.ini.phpfile with the new plugins (HeatmapSessionRecording and UsersFlow)config.ini.phpfile by resorting the list of available plugins alphabetically to make them easier to review and ensure that all the plugins that exist in theplugins/directory are correctly listed in the available pluginsmatomo.jsandpiwik.jsfiles that are generated by activating the new premium plugins in thefiles/directoryDockerfileto install the updatedmatomo.jsandpiwik.jsfiles into the/usr/src/matomodirectory so that theentrypoint.shscript will put them in place in the/var/www/htmldirectory when the container is launchedread-onlyaccess to the repository (we don't want them to ever be allowed to change the code)Helpful background context
This is Phase 2 of the deployment of the new premium plugins. See the HOWTO-premium-plugins.md for details.
The testing in Dev and Stage revealed a few other things that needed some tweaking, so this is a slightly updated How-To and a slightly updated Phase 2.
How can a reviewer manually see the effects of these changes?
The Matomo instance in Dev1 does not have the license key for the two plugins, so it's not possible to view the updates there (we are only allowed two installations of the single license key and we use Stage and Prod for those). But, I did manually push this version of the container to Stage-Workloads before this PR to verify that everything was going to work smoothly, so it's possible to log in to the stage-matomo instance as an account with superuser privileges and see the activated plugins working correctly.
Includes new or updated dependencies?
YES: This does depend on the new plugins being activated once via the Matomo UI in order to trigger the database schema updates in each environment. This has been done in all three environments.
What are the relevant tickets?
Developer
Code Reviewer
(not just this pull request message)