image-automation-controller/controllers
Michael Bridgen 172dec486c Test SSH as well as HTTP access to git
This commit rearranges update tests so that those that check that
updates are made can be run against a git server using SSH as well as
HTTP.

The local clone, used to provoke automated updates and to check
results, still uses HTTP. Those operations are not under test.

libgit2 wants to be asked for authentication when using SSH, and will
balk if it's not requested by the server. To avoid that, auth must be
switched on for the git test server.

This also switches auth on for HTTP, so it's necessary to use a git
URL that includes credentials for setting things up with a local
clone. I have also used that URL for the git-over-HTTP tests -- it's
arguable whether it's necessary to test that works, here.

Signed-off-by: Michael Bridgen <michael@weave.works>
2021-02-11 13:44:20 +00:00
..
testdata Use UpdateWithSetters in controller 2020-10-13 21:00:13 +01:00
imageupdateautomation_controller.go Test SSH as well as HTTP access to git 2021-02-11 13:44:20 +00:00
suite_test.go Upgrade controller-runtime to v0.7.0 2021-01-14 13:48:37 +01:00
update_test.go Test SSH as well as HTTP access to git 2021-02-11 13:44:20 +00:00