Skip to content

Commit 0b79ede

Browse files
add api url for gitlab
1 parent 2ddd198 commit 0b79ede

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkg/codefresh/contexts.go

+6-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ type (
1919
Type string `json:"type"`
2020
Data struct {
2121
Auth struct {
22-
Type string `json:"type"`
23-
Username string `json:"username"`
24-
Password string `json:"password"`
25-
ApiHost string `json:"apiHost"`
22+
Type string `json:"type"`
23+
Username string `json:"username"`
24+
Password string `json:"password"`
25+
ApiHost string `json:"apiHost"`
26+
// for gitlab
27+
ApiURL string `json:"apiURL"`
2628
ApiPathPrefix string `json:"apiPathPrefix"`
2729
SshPrivateKey string `json:"sshPrivateKey"`
2830
AppId string `json:"appId"`

0 commit comments

Comments
 (0)