test: hook post-receive for sha256 repos

failing push-to-create for sha256 will be fixed in a followup PR
This commit is contained in:
oliverpool 2024-05-15 15:35:19 +02:00
parent fe3473fc8b
commit 2ac3dcbd43
4 changed files with 152 additions and 136 deletions

View file

@ -64,7 +64,7 @@ func testPushDeployKeyOnEmptyRepo(t *testing.T, u *url.URL) {
// Setup the testing repository
dstPath := t.TempDir()
t.Run("InitTestRepository", doGitInitTestRepository(dstPath))
t.Run("InitTestRepository", doGitInitTestRepository(dstPath, git.Sha1ObjectFormat)) // FIXME: use forEachObjectFormat
// Setup remote link
sshURL := createSSHUrl(ctx.GitPath(), u)