daemon: Gitea v1 API adapter (git.westphal.fr is Gitea, not GitLab); fix golang Dockerfile to 1.26; sudo docker in deploy
This commit is contained in:
@@ -17,8 +17,8 @@ export async function run(ctx) {
|
||||
`got ${connect.status} ${connect.text}`,
|
||||
);
|
||||
r.check(
|
||||
"daemon validated PAT against fake /api/v4/user",
|
||||
gitlab.seen.userAuths.length === 1 && gitlab.seen.userAuths[0] === gitlab.pat,
|
||||
"daemon validated token against fake /api/v1/user",
|
||||
gitlab.seen.userAuths.length === 1 && gitlab.seen.userAuths[0] === `token ${gitlab.pat}`,
|
||||
JSON.stringify(gitlab.seen.userAuths),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user