Skip to content

Commit

Permalink
fix(rules): add Flyway
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent 892122e commit 6910816
Show file tree
Hide file tree
Showing 6 changed files with 31 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 @@ -159,6 +159,7 @@ exports[`all > should match everything 1`] = `
"firebase",
"firebase.firestore",
"flyio",
"flyway",
"gatsby",
"gcp",
"gcp.aiplatform",
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 @@ -37,6 +37,7 @@ exports[`docker > should match everything 1`] = `
"docker",
"drupal",
"elasticsearch",
"flyway",
"ghost",
"gitguardian",
"goacmelego",
Expand Down Expand Up @@ -359,6 +360,11 @@ exports[`docker > should match everything 2`] = `
"femtopixel/google-lighthouse",
"0.0.0",
],
[
"docker",
"flyway/flyway",
"0.0.0",
],
[
"docker",
"getmeili/meilisearch",
Expand Down
10 changes: 10 additions & 0 deletions src/rules/spec/githubActions/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,11 @@ exports[`docker > should match all dependencies 2`] = `
"jonelantha/gatsby-s3-action",
"1",
],
[
"githubAction",
"joshuaavalon/flyway-action",
"1",
],
[
"githubAction",
"jzweifel/gatsby-cli-github-action",
Expand Down Expand Up @@ -566,6 +571,11 @@ exports[`docker > should match all dependencies 2`] = `
"planetscale/create-branch-action",
"1",
],
[
"githubAction",
"red-gate/flyway-hub-migration-test",
"1",
],
[
"githubAction",
"relative-ci/agent-action",
Expand Down
12 changes: 12 additions & 0 deletions src/rules/tool/flyway.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { register } from '../../register.js';

register({
tech: 'flyway',
name: 'Flyway',
type: 'tool',
dependencies: [
{ type: 'docker', name: 'flyway/flyway' },
{ type: 'githubAction', name: 'red-gate/flyway-hub-migration-test' },
{ type: 'githubAction', name: 'joshuaavalon/flyway-action' },
],
});
1 change: 1 addition & 0 deletions src/rules/tool/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import './atlasgo.js';
import './bytebase.js';
import './checkov.js';
import './chef.js';
import './flyway.js';
import './gitlab.js';
import './goacmelego.js';
import './golangcilint.js';
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export type AllowedKeys =
| 'firebase.firestore'
| 'firebase'
| 'flyio'
| 'flyway'
| 'gatsby'
| 'gcp.aiplatform'
| 'gcp.appengine'
Expand Down

0 comments on commit 6910816

Please sign in to comment.