-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckly.config.ts
More file actions
48 lines (43 loc) · 1.32 KB
/
checkly.config.ts
File metadata and controls
48 lines (43 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { defineConfig } from "checkly";
import { EmailAlertChannel, Frequency } from "checkly/constructs";
const sendDefaults = {
sendFailure: true,
sendRecovery: true,
sendDegraded: true,
};
// FIXME: Add your production URL
const productionURL = "https://kaiser.ctrlcloud.net";
const emailChannel = new EmailAlertChannel("email-channel-1", {
// FIXME: add your own email address, Checkly will send you an email notification if a check fails
address: "[email protected]",
...sendDefaults,
});
export const config = defineConfig({
// FIXME: Add your own project name, logical ID, and repository URL
projectName: "Kaiser - Kubernetes IDE from CtrlCloud",
logicalId: "ctrlcloud-kaiser",
repoUrl: "https://github.com/ctrlcloudnet/kaiser",
checks: {
locations: ["us-east-1", "eu-west-1"],
tags: ["website"],
runtimeId: "2024.02",
browserChecks: {
frequency: Frequency.EVERY_24H,
testMatch: "**/tests/e2e/**/*.check.e2e.ts",
alertChannels: [emailChannel],
},
playwrightConfig: {
use: {
baseURL: process.env.ENVIRONMENT_URL || productionURL,
extraHTTPHeaders: {
"x-vercel-protection-bypass": process.env.VERCEL_BYPASS_TOKEN,
},
},
},
},
cli: {
runLocation: "us-east-1",
reporters: ["list"],
},
});
export default config;