tvl-depot/ci/pipelines/briefcase.nix
William Carroll 56e4d9f9b5 Debugging briefcase pipeline
Somehow `git-secrets --scan-history` is exiting non-zero, when I don't think it
should. Logging some environment information to get a better idea of what's
going on.
2020-08-21 11:25:16 +01:00

19 lines
454 B
Nix

{ pkgs, ... }:
let
pipeline.steps = [
{
command = ''
echo $(pwd)
git show HEAD
git log -n 1
${pkgs.git-secrets}/bin/git-secrets --scan-history
'';
label = ":briefcase: Briefcase [lint]";
}
{
command = "nix-build . -I briefcase=$(pwd) --no-out-link --show-trace";
label = ":briefcase: Briefcase [build]";
}
];
in pkgs.writeText "briefcase.yaml" (builtins.toJSON pipeline)