tests: Add some test cases to cover handling of legacy refspec

Covers both the invalid combinations refspec with the new commit/branch
keys as well as the issuing of a warning when a repo contains refspec.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2023-05-30 16:13:23 +02:00
parent 578666766c
commit 226e92a7f3
3 changed files with 48 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
header:
version: 14
repos:
this:
kas:
url: https://github.com/siemens/kas.git
commit: dc44638cd87c4d0045ea2ca441e682f3525d8b91
refspec: master

View File

@@ -0,0 +1,10 @@
header:
version: 14
repos:
this:
kas:
url: https://github.com/siemens/kas.git
refspec: dc44638cd87c4d0045ea2ca441e682f3525d8b91
branch: master