Skip to content

Commit dad97c0

Browse files
committed
Remove Old Plugin Files
Why these changes are being introduced: There is no need to keep the old files! How this addresses that need: * Update the Makefile to remove the stage-related commands * Minor tweak to documentation * Remove all the old plugin source files that are no longer needed Side effects of this change: None. Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/INFRA-569 * https://mitlibraries.atlassian.net/browse/INFRA-588
1 parent d94c668 commit dad97c0

File tree

1,334 files changed

+6772
-168951
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,334 files changed

+6772
-168951
lines changed

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)