Replies: 3 comments 4 replies
-
For the lint command, Porter attempts to call lint on every mixin used in a bundle (during the porter build command). If the mixin supports that command, the results of calling |
Beta Was this translation helpful? Give feedback.
-
For scan, what types of problems do you see the mixin identifying that it couldn't detect at build time? Is it using your credentials and scanning the target environment? Something else? |
Beta Was this translation helpful? Give feedback.
-
After yesterday's dev meeting, we decided that this can be accomplished with just changes to the mixins that want to add more interesting lint checks
We'd like to start with helm since it's just a build check. We'd also like to have terraform implement dynamic exec style commands, and maybe add custom commands for common linters. |
Beta Was this translation helpful? Give feedback.
-
I want my mixin to not only do the common actions like install, upgrade, and so on, but I want my mixin to perform some extra verification. For linting my code, scanning for vulnerabilities before doing the install or upgrade. The augmentation can be ensured by Porter when receiving the appropriate flags within the mixin configuration.
If those flags are defined. The mixin will go ahead and install the recommended tool to do the linting or security scanning, then Porter will call that special operation during the action execution.
Is this too much of responsibility for a mixin or it will bloat the Porter image?
Beta Was this translation helpful? Give feedback.
All reactions