-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3672 from uselagoon/chore/remove_harbor_from_core
Chore: Remove Harbor Trivy integration from Lagoon Core.
- Loading branch information
Showing
16 changed files
with
29 additions
and
2,458 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
services/api/database/migrations/20240313000000_delete_problem_harbor_scan_matcher.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* @param { import("knex").Knex } knex | ||
* @returns { Promise<void> } | ||
*/ | ||
exports.up = function(knex) { | ||
return knex.schema.dropTable('problem_harbor_scan_matcher'); | ||
}; | ||
|
||
/** | ||
* @param { import("knex").Knex } knex | ||
* @returns { Promise<void> } | ||
*/ | ||
exports.down = function(knex) { | ||
return knex.schema.createTable('problem_harbor_scan_matcher', function (table) { | ||
table.increments('id').notNullable().primary(); | ||
table.string('name', 100).notNullable(); | ||
table.text('description'); | ||
table.string('default_lagoon_project', 300); | ||
table.string('default_lagoon_environment', 300); | ||
table.string('default_lagoon_service_name', 300); | ||
table.string('regex', 300).notNullable(); | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
services/webhooks2tasks/src/handlers/problems/__tests__/files/v1incomingwebhookdata.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.