Skip to content

Commit

Permalink
chore: add dogfooding script (#131)
Browse files Browse the repository at this point in the history
* chore: add dogfooding script

* wip - re-enable email notifications

* wip - [skip-ci]
  • Loading branch information
firminochangani authored Dec 29, 2023
1 parent 1a180e3 commit ee581d9
Show file tree
Hide file tree
Showing 5 changed files with 9,673 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ WORKER_REGION=europe

PRODUCTION_MODE=false

ENDPOINT_CHECK_TIMEOUT_IN_SECONDS=30
ENDPOINT_CHECK_TIMEOUT_IN_SECONDS=30

DOGFOODING_API=http://localhost:8080
15 changes: 15 additions & 0 deletions cmd/dogfooding/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dogfooding

Goals

- Load a dataset of many well-known urls
- Create monitors based on those urls
- Observe how the system behaves (ideally I should have email notifications turned off to preserve credits)

## How to run

1. Create a `.env.secrets` in the root of this repo
2. Log in to Dobermann and copy the JWT from the cookies
3. Define the variable `DOGFOODING_JWT=<the-jwt>` in the `.env.secrets` file
4. Run it.

Loading

0 comments on commit ee581d9

Please sign in to comment.