Skill update round trip / roundtrip (false, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, ubuntu-latest, symlink, latest) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (false, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, macos-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, ubuntu-latest, symlink, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, copy, 1.5.17) (push) Canceled after 0s
Skill update round trip / roundtrip (true, windows-latest, symlink, 1.5.17) (push) Canceled after 0s
13 lines
518 B
JavaScript
13 lines
518 B
JavaScript
const { spawnSync } = require('node:child_process')
|
|
|
|
const command = process.argv.at(-1) ?? ''
|
|
const match = /^git-upload-pack '([^']+)'$/.exec(command)
|
|
const repositories = JSON.parse(process.env.ORCA_TEST_SSH_REPOSITORIES ?? '{}')
|
|
const repository = match ? repositories[match[1]] : undefined
|
|
if (!repository) {
|
|
process.stderr.write(`unknown test SSH repository: ${command}\n`)
|
|
process.exit(1)
|
|
}
|
|
const result = spawnSync('git', ['upload-pack', repository], { stdio: 'inherit' })
|
|
process.exit(result.status ?? 1)
|