source-controller/pkg/git
Sunny 0d53f08148 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-15 15:42:18 +05:30
..
gogit pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
libgit2 pkg/git: Include commit message and URL in error 2022-02-14 21:34:27 +05:30
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-15 15:42:18 +05:30
options_test.go Add Host field check in AuthOptions.Validate() 2021-10-27 00:43:31 +05:30