Skip to content

Commit 5325f92

Browse files
authored
🧹 Removed redundant fake mastodon (#1479)
no ref The script for populating a fake mastodon instance is now redundant and has not been used in a long while. Rather than maintaining it, have removed from the codebase
1 parent 55e6e12 commit 5325f92

File tree

5 files changed

+0
-198
lines changed

5 files changed

+0
-198
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ To enable auto-formatting on save, you'll need to set the [default formatter](ht
103103
104104
- Run `yarn test` to execute tests within a Docker Compose stack.
105105
106-
## Populating the DB
107-
108-
The below command will populate the DB with ~5000 followers for the `activitypub` host
109-
110-
- Run `docker compose run scripts populate-activitypub-db`
111-
112106
## Migrations
113107
114108
`docker compose run migrate` or `docker compose run migrate-testing` will run the `up` migrations against your dev or testing db respectively.

dev/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ Google Cloud Pub/Sub emulator configuration
3131

3232
- `start.sh` - Startup script for the Pub/Sub emulator
3333

34-
### `/scripts`
35-
36-
Development and utility scripts
37-
38-
- Various helper scripts for development tasks
39-
4034
### `/wiremock`
4135

4236
WireMock configurations for mocking external services during testing

dev/scripts/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

dev/scripts/bin/populate-activitypub-db

Lines changed: 0 additions & 160 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ services:
6363
mysql:
6464
condition: service_healthy
6565

66-
scripts:
67-
build: dev/scripts
68-
depends_on:
69-
- activitypub
70-
- fake-mastodon
71-
7266
nginx:
7367
build: dev/nginx
7468
ports:
@@ -323,20 +317,6 @@ services:
323317
"--https-port=443",
324318
]
325319

326-
fake-mastodon:
327-
networks:
328-
test_network:
329-
aliases:
330-
- fake-mastodon.test
331-
image: wiremock/wiremock:3.13.1-1@sha256:d61e7720f89483fdef5366843b58d1dfd06bcce5828179c9f2f54de5c28354b0
332-
entrypoint:
333-
[
334-
"/docker-entrypoint.sh",
335-
"--global-response-templating",
336-
"--disable-gzip",
337-
"--verbose",
338-
]
339-
340320
fake-gcs:
341321
build: dev/fake-gcs
342322
environment:

0 commit comments

Comments
 (0)