Skip to content

Commit

Permalink
fix(rules): add Uptime Kuma
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent f60616a commit 155f2fa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ exports[`all > should match everything 1`] = `
"upstash.kafka",
"upstash.qstash",
"upstash.redis",
"uptimekuma",
"vale",
"vercel",
"vercel.ai",
Expand Down
1 change: 1 addition & 0 deletions src/rules/monitoring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ import './pingdom.js';
import './rollbar.js';
import './scoutapm.js';
import './sentry.js';
import './uptimekuma.js';
8 changes: 8 additions & 0 deletions src/rules/monitoring/uptimekuma.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'uptimekuma',
name: 'Uptime Kuma',
type: 'monitoring',
dependencies: [{ type: 'docker', name: 'louislam/uptime-kuma' }],
});
6 changes: 6 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ exports[`docker > should match everything 1`] = `
"traefik",
"trufflesecurity",
"typesense",
"uptimekuma",
"vale",
"wordpress",
"zookeeper",
Expand Down Expand Up @@ -495,6 +496,11 @@ exports[`docker > should match everything 2`] = `
"logstash",
"0.0.0",
],
[
"docker",
"louislam/uptime-kuma",
"0.0.0",
],
[
"docker",
"mailhog/mailhog",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ export type AllowedKeys =
| 'upstash.qstash'
| 'upstash.redis'
| 'upstash'
| 'uptimekuma'
| 'vale'
| 'vercel.ai'
| 'vercel.analytics'
Expand Down

0 comments on commit 155f2fa

Please sign in to comment.