Skip to content

Commit

Permalink
fix(rules): add Consul
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent f8ccad3 commit d189686
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 @@ -104,6 +104,7 @@ exports[`all > should match everything 1`] = `
"codecov",
"codesandboxci",
"commercetools",
"consul",
"contenful",
"couchbase",
"coveralls",
Expand Down
8 changes: 8 additions & 0 deletions src/rules/app/consul.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'consul',
name: 'Consul',
type: 'app',
dependencies: [{ type: 'docker', name: 'consul' }],
});
1 change: 1 addition & 0 deletions src/rules/app/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './caddy.js';
import './consul.js';
import './discourse.js';
import './grafana.js';
import './httpd.js';
Expand Down
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 @@ -27,6 +27,7 @@ exports[`docker > should match everything 1`] = `
"checkov",
"chef",
"clickhouse",
"consul",
"couchbase",
"cypressci",
"deno",
Expand Down Expand Up @@ -272,6 +273,11 @@ exports[`docker > should match everything 2`] = `
"clickhouse/clickhouse-server",
"0.0.0",
],
[
"docker",
"consul",
"0.0.0",
],
[
"docker",
"couchbase",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export type AllowedKeys =
| 'codecov'
| 'codesandboxci'
| 'commercetools'
| 'consul'
| 'contenful'
| 'couchbase'
| 'coveralls'
Expand Down

0 comments on commit d189686

Please sign in to comment.