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
// if mock data is unavailable as certain clients cant provide mock data
89
+
// then adapt and create mock data from actual params
90
+
ifgc.ParentURLAlias=="" {
91
+
gc.ParentURLAlias=url
92
+
gc.MockGitURL.IsFile=true
93
+
gc.MockGitURL.Revision="main"
94
+
gc.MockGitURL.Path=OutputDevfileYamlPath
95
+
gc.MockGitURL.Host="github.com"
96
+
gc.MockGitURL.Protocol="https"
97
+
gc.MockGitURL.Owner="devfile"
98
+
gc.MockGitURL.Repo="library"
99
+
}
100
+
101
+
ifgc.GitTestToken=="" {
102
+
gc.GitTestToken=token
103
+
}
104
+
73
105
//the url parameter that gets passed in will be the localhost IP of the test server, so it will fail all the validation checks. We will use the global testURL variable instead
0 commit comments