2021-12-14 04:51:48 +01:00
|
|
|
{ pkgs, depot, ... }:
|
2020-08-21 12:12:57 +02:00
|
|
|
|
|
|
|
let
|
2022-01-17 15:21:40 +01:00
|
|
|
inherit (builtins) path toJSON;
|
2020-08-31 02:16:31 +02:00
|
|
|
|
2020-08-21 12:12:57 +02:00
|
|
|
pipeline.steps = [
|
2020-08-22 10:09:15 +02:00
|
|
|
{
|
|
|
|
key = "lint-secrets";
|
|
|
|
command = "${pkgs.git-secrets}/bin/git-secrets --scan-history";
|
|
|
|
label = ":broom: lint secrets";
|
|
|
|
}
|
2020-08-21 12:12:57 +02:00
|
|
|
];
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
pkgs.writeText "pipeline.yaml" (toJSON pipeline)
|