Skip to content

Commit

Permalink
test: add to export file
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-ray-wilson committed Nov 26, 2024
1 parent ed20af1 commit f6654cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/__checks__/dashboard.ts

This file was deleted.

13 changes: 13 additions & 0 deletions src/__checks__/secrets/secrets-group.check.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { CheckGroup } from "checkly/constructs";
import { pagerDutyChannel } from "../../alert-channels";
import { getLocations } from "../../locations";
import { v4 as uuidv4 } from "uuid";
import { Dashboard } from "checkly/constructs";

export const secretsGroup = new CheckGroup(`secrets-group`, {
name: `Secrets Group Check [${process.env.INSTANCE_ID?.toUpperCase()}]`,
Expand All @@ -11,3 +13,14 @@ export const secretsGroup = new CheckGroup(`secrets-group`, {
alertChannels: [pagerDutyChannel],
...getLocations()
});

new Dashboard("acme-dashboard-1", {
header: "ACME production",
description: "service availability and response times",
tags: ["prod", "api"],
logo: "https://assets.acme.com/images/acme-logo.png",
customUrl: `status-test-cli-${uuidv4()}`
// customCSS: {
// entrypoint: path.join(__dirname, "dashboard.css")
// }
});

0 comments on commit f6654cd

Please sign in to comment.