Skip to content
Snippets Groups Projects

Set git SSL information only for gitlab host

Merged Alessio Caiazza requested to merge 2148-fix-ssl-cert into master
All threads resolved!
+ 0
3
@@ -89,12 +89,9 @@ func GetRemoteBrokenTLSBuild() (job JobResponse, err error) {
@@ -89,12 +89,9 @@ func GetRemoteBrokenTLSBuild() (job JobResponse, err error) {
func GetRemoteGitLabComTLSBuild() (job JobResponse, err error) {
func GetRemoteGitLabComTLSBuild() (job JobResponse, err error) {
cert, err := ioutil.ReadFile(path.Join("..", "..", "tests", "gitlab.pem"))
cert, err := ioutil.ReadFile(path.Join("..", "..", "tests", "gitlab.pem"))
if err != nil {
if err != nil {
fmt.Println(err)
return
return
}
}
fmt.Println(string(cert))
return getRemoteCustomTLSBuild(string(cert))
return getRemoteCustomTLSBuild(string(cert))
}
}
Loading