Skip to content

Commit

Permalink
fix(rules): add DroneCI
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent e2153a3 commit c547989
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/ci.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exports[`ci > should match everything 1`] = `
"codesandboxci",
"cypressci",
"dependabot",
"droneci",
"github.actions",
"gitlab.ci",
"jenkins",
Expand Down
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 @@ -143,6 +143,7 @@ exports[`all > should match everything 1`] = `
"doctrinephp",
"docusaurus",
"docusign",
"droneci",
"dropbox",
"drupal",
"dynatrace",
Expand Down
9 changes: 9 additions & 0 deletions src/rules/ci/droneci.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { register } from '../../register.js';

register({
tech: 'droneci',
name: 'DroneCI',
type: 'ci',
files: ['.drone.yml'],
dependencies: [{ type: 'docker', name: 'drone/drone' }],
});
1 change: 1 addition & 0 deletions src/rules/ci/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import './codesandboxci.js';
import './coveralls.js';
import './cypressci.js';
import './dependabot.js';
import './droneci.js';
import './gitlab.ci.js';
import './jenkins.js';
import './relativeci.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 @@ -39,6 +39,7 @@ exports[`docker > should match everything 1`] = `
"deno",
"discourse",
"docker",
"droneci",
"drupal",
"elasticsearch",
"flyway",
Expand Down Expand Up @@ -373,6 +374,11 @@ exports[`docker > should match everything 2`] = `
"discourse/base",
"0.0.0",
],
[
"docker",
"drone/drone",
"0.0.0",
],
[
"docker",
"drupal",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export type AllowedKeys =
| 'doctrinephp'
| 'docusaurus'
| 'docusign'
| 'droneci'
| 'dropbox'
| 'drupal'
| 'dynatrace'
Expand Down

0 comments on commit c547989

Please sign in to comment.