source-controller/pkg/git
Sunny b814070bc2 Fixes to gitrepo reconciler tests
NOTE: This should be amended with the previous commit which has
commented out tests.

Update reconcileSource() to work with the test case where no secret is
set. A minimal auth options is created and used for git checkout.

Update TestGitRepositoryReconciler_verifyCommitSignature() to use the
new git.Commit type.

Update TestGitRepositoryReconciler_reconcileSource_checkoutStrategy to
add skipForImplementation for branch commit test case.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-02-23 12:35:30 +01:00
..
gogit git/libgit2: set CheckoutForce on branch strategy 2022-02-22 16:31:56 +01:00
libgit2 git/libgit2: assert proper test of default branch 2022-02-22 16:31:56 +01:00
strategy libgit2: Configured libgit2 clone ProxyOptions 2022-01-18 19:35:47 +00:00
git.go pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
git_test.go pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
options.go Fixes to gitrepo reconciler tests 2022-02-23 12:35:30 +01:00
options_test.go Add Host field check in AuthOptions.Validate() 2021-10-27 00:43:31 +05:30