https://github.com/pocket/aws-synthetic-checks
AWS re-usable synthetic uptime & graphql operation checks stored in S3
https://github.com/pocket/aws-synthetic-checks
Last synced: 2 months ago
JSON representation
AWS re-usable synthetic uptime & graphql operation checks stored in S3
- Host: GitHub
- URL: https://github.com/pocket/aws-synthetic-checks
- Owner: Pocket
- License: mit
- Created: 2023-05-22T05:43:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-12T23:29:47.000Z (about 2 years ago)
- Last Synced: 2025-03-22T04:11:23.313Z (about 1 year ago)
- Language: TypeScript
- Size: 202 KB
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# aws-synthetic-checks
AWS re-usable synthetic uptime & graphql operation checks stored in S3
## Local Development
### Fresh Setup
Clone the repo:
- `git clone git@github.com:Pocket/aws-synthetic-checks.git`
- `cd aws-synthetic-check`
To compile AWS infra:
- `cd .aws`
- `npm ci`
- `npm run build:dev`
To build and create zip file with synthetic code:
- `cd aws-synthetic-check`
- `npm ci`
- `npm run build:local`
The created zip file `aws-synthetic.zip` will be located in `tmp-dist/synthetics-export`
To run canary code locally:
TODO - `Synthetics` package is not available on `npm`, which means that we cannot test our canary code locally. Workaround is to declare a `TypeScript` `Synthetics` module
and leverage that for local testing.