You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add main logic, unit test and integration test for build controller validates spec.source.url
refine the main logic of build validates sourceURL
return validate error and update error
only return updateError when validate sourceURL failed
rename verify sourceURL annotation and make verifySourceURL by default
update test cases again
revert verifySourceURL
verify sourceURL by default
add unit test for validateSourceURL
return a same error when list remote repo failed
output different errors and update tests
Signed-off-by: Enrique Encalada <encalada@de.ibm.com>
ctxlog.Info(ctx, fmt.Sprintf("the annotation %s is set to %s, nothing to do", build.AnnotationBuildVerifyRepository, b.GetAnnotations()[build.AnnotationBuildVerifyRepository]))
481
+
returnnil
482
+
default:
483
+
varannoErr=fmt.Errorf("the annotation %s was not properly defined, supported values are true or false", build.AnnotationBuildVerifyRepository)
0 commit comments