Skip to content

Commit 671c8f3

Browse files
authored
Merge pull request #31 from MITLibraries/infra-569-588
Update Matomo and Plugins
2 parents 245b840 + dad97c0 commit 671c8f3

File tree

1,335 files changed

+6777
-168956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,335 files changed

+6777
-168956
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM matomo:5.4.0
1+
FROM matomo:5.5.1
22
# checkov:skip=CKV_DOCKER_2:Skipping HEALTHCHECK configuration for now
33
# checkov:skip=CKV_DOCKER_3:The container actually runs as www-data user
44

@@ -9,16 +9,16 @@ COPY ./files/plugin-EnvironmentVariables-5.0.3/ /var/www/html/plugins/Environmen
99
COPY ./files/plugin-CustomVariables-5.0.4/ /var/www/html/plugins/CustomVariables
1010

1111
# Add the HeatmapSessionRecording plugin
12-
COPY ./files/plugin-HeatmapSessionRecording-5.2.4/ /var/www/html/plugins/HeatmapSessionRecording
12+
COPY ./files/plugin-HeatmapSessionRecording-5.3.1/ /var/www/html/plugins/HeatmapSessionRecording
1313

1414
# Add the UsersFlow plugin
15-
COPY ./files/plugin-UsersFlow-5.0.5/ /var/www/html/plugins/UsersFlow
15+
COPY ./files/plugin-UsersFlow-5.0.6/ /var/www/html/plugins/UsersFlow
1616

1717
# Add the SearchEngineKeywordsPerformance plugin
18-
COPY ./files/plugin-SearchEngineKeywordsPerformance-5.0.22/ /var/www/html/plugins/SearchEngineKeywordsPerformance
18+
COPY ./files/plugin-SearchEngineKeywordsPerformance-5.0.23/ /var/www/html/plugins/SearchEngineKeywordsPerformance
1919

2020
# Add the CustomReports plugin
21-
COPY ./files/plugin-CustomReports-5.4.3/ /var/www/html/plugins/CustomReports
21+
COPY ./files/plugin-CustomReports-5.4.5/ /var/www/html/plugins/CustomReports
2222

2323
# Our custom configuration settings.
2424
COPY ./files/config.ini.php /var/www/html/config/config.ini.php

Makefile

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,3 @@ publish-dev: dist-dev ## Build, tag and push (intended for developer-based manua
2424
docker login -u AWS -p $$(aws ecr get-login-password --region us-east-1) $(ECR_URL_DEV)
2525
docker push $(ECR_URL_DEV):latest
2626
docker push $(ECR_URL_DEV):`git describe --always`
27-
28-
### If this is a Lambda repo, uncomment the two lines below ###
29-
# update-lambda-dev: ## Updates the lambda with whatever is the most recent image in the ecr (intended for developer-based manual update)
30-
# aws lambda update-function-code --function-name $(FUNCTION_DEV) --image-uri $(ECR_URL_DEV):latest
31-
32-
33-
### Terraform-generated manual shortcuts for deploying to Stage. This requires ###
34-
### that ECR_NAME_STAGE, ECR_URL_STAGE, and FUNCTION_STAGE environment ###
35-
### variables are set locally by the developer and that the developer has ###
36-
### authenticated to the correct AWS Account. The values for the environment ###
37-
### variables can be found in the stage_build.yml caller workflow. ###
38-
dist-stage: ## Only use in an emergency
39-
docker build \
40-
--platform linux/amd64 \
41-
-t $(ECR_URL_STAGE):latest \
42-
-t $(ECR_URL_STAGE):`git describe --always` \
43-
-t $(ECR_NAME_STAGE):latest .
44-
45-
publish-stage: ## Only use in an emergency
46-
docker login -u AWS -p $$(aws ecr get-login-password --region us-east-1) $(ECR_URL_STAGE)
47-
docker push $(ECR_URL_STAGE):latest
48-
docker push $(ECR_URL_STAGE):`git describe --always`
49-
50-
### If this is a Lambda repo, uncomment the two lines below ###
51-
# update-lambda-stage: ## Updates the lambda with whatever is the most recent image in the ecr (intended for developer-based manual update)
52-
# aws lambda update-function-code --function-name $(FUNCTION_STAGE) --image-uri $(ECR_URL_STAGE):latest

docs/HowTos/HOWTO-premium-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Before installing the license key, the *Marketplace* plugin must be activated. T
3636
According to the support team at Matomo, the premium license key can be installed in two instances of Matomo, "stage" and "prod." So, we can do some initial validation of a license key in Dev1, but the key cannot remain installed in the Dev1 instance. The license key installation can either be done by a user with "superuser" privileges in the Matomo web UI or it can be done by a member of InfraEng who has ssh access to the running container task/service. The CLI command is
3737

3838
```bash
39-
./console marketplace:set-license-key --license-key=LICENSE-KEY "<key>"
39+
./console marketplace:set-license-key --license-key=<license_key>
4040
```
4141

4242
This needs to be done once on each of the stage & prod instances of Matomo.

0 commit comments

Comments
 (0)