Merge branch 'arm' into improve-typing

This commit is contained in:
Andras Bacsai
2022-04-11 22:39:45 +02:00
committed by GitHub
80 changed files with 1828 additions and 1453 deletions

View File

@@ -19,7 +19,7 @@ export default async function ({
repodir: string;
privateSshKey: string;
}): Promise<string> {
const url = htmlUrl.replace('https://', '').replace('http://', '');
const url = htmlUrl.replace('https://', '').replace('http://', '').replace(/\/$/, '');
await saveBuildLog({ line: 'GitLab importer started.', buildId, applicationId });
await asyncExecShell(`echo '${privateSshKey}' > ${repodir}/id.rsa`);
await asyncExecShell(`chmod 600 ${repodir}/id.rsa`);