Skip to content

Commit

Ops tests commit unsigned in their scratch repositories, whatever the developer's signing setup

The backup drill and restore tests made commits with the global commit.gpgsign, so they failed wherever a signing agent could not answer (1Password from a non-interactive shell).

syntaqxcommitted Parent0ea9d68Browse files
2 files+2−20/2 viewed
+1−1
1919 function commit(dir, file, text) {
2020 writeFileSync(join(dir, file), text);
2121 git(dir, "add", "--all");
22− git(dir, "-c", "user.name=t", "-c", "user.email=t@example.com", "commit", "--quiet", "-m", text);
22+ git(dir, "-c", "user.name=t", "-c", "user.email=t@example.com", "-c", "commit.gpgsign=false", "commit", "--quiet", "-m", text);
2323 }
2424
2525 function refsOf(dir) {
+1−1
2323 function commit(dir, file, text) {
2424 writeFileSync(join(dir, file), text);
2525 git(dir, "add", "--all");
26− git(dir, "-c", "user.name=t", "-c", "user.email=t@example.com", "commit", "--quiet", "-m", text);
26+ git(dir, "-c", "user.name=t", "-c", "user.email=t@example.com", "-c", "commit.gpgsign=false", "commit", "--quiet", "-m", text);
2727 }
2828
2929 function refsOf(dir) {