Skip to content

Commit

Permalink
fix(rules): add Qovery Cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 726ebb3 commit b9c8802
Show file tree
Hide file tree
Showing 5 changed files with 12 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 @@ -284,6 +284,7 @@ exports[`all > should match everything 1`] = `
"puppeteer",
"python",
"qovery",
"qovery.cluster",
"qovery.database",
"rabbitmq",
"react",
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import './koyeb.js';
import './kubernetes.js';
import './mongodbatlas.js';
import './platformsh.js';
import './qovery.cluster.js';
import './render.js';
import './replit.js';
import './sitecore.js';
Expand Down
8 changes: 8 additions & 0 deletions src/rules/hosting/qovery.cluster.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'qovery.cluster',
name: 'Qovery Cluster',
type: 'hosting',
dependencies: [{ type: 'terraform.resource', name: 'qovery_cluster' }],
});
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"gcp.tasks",
"jira",
"qovery",
"qovery.cluster",
"qovery.database",
"terraform",
]
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export type AllowedKeys =
| 'prismacloud'
| 'puppeteer'
| 'python'
| 'qovery.cluster'
| 'qovery.database'
| 'qovery'
| 'rabbitmq'
Expand Down

0 comments on commit b9c8802

Please sign in to comment.