mirror of https://github.com/knative/func.git
fix: GitLab test (#2112)
* fix: GitLab test Update to URL used in newer versions of GitLab. Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: increase resource limit Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
cc0121f118
commit
152d00901b
|
@ -81,9 +81,9 @@ spec:
|
|||
name: ssh
|
||||
resources:
|
||||
requests:
|
||||
memory: "1024Mi"
|
||||
limits:
|
||||
memory: "2048Mi"
|
||||
limits:
|
||||
memory: "4096Mi"
|
||||
volumes:
|
||||
- name: gitlab
|
||||
persistentVolumeClaim:
|
||||
|
|
|
@ -410,7 +410,7 @@ func getAPIToken(baseURL, username, password string) (string, error) {
|
|||
return "", fmt.Errorf("cannot sign in, unexpected status: %d", resp.StatusCode)
|
||||
}
|
||||
|
||||
personalAccessTokensURL := baseURL + "/-/profile/personal_access_tokens"
|
||||
personalAccessTokensURL := baseURL + "/-/user_settings/personal_access_tokens"
|
||||
|
||||
resp, err = c.Get(personalAccessTokensURL)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue