mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
hashed logs
This commit is contained in:
parent
358cf1c399
commit
4225feb1b3
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -4,7 +4,6 @@ import path from 'node:path';
|
|||||||
import CloudRunner from '../cloud-runner';
|
import CloudRunner from '../cloud-runner';
|
||||||
import CloudRunnerOptions from '../options/cloud-runner-options';
|
import CloudRunnerOptions from '../options/cloud-runner-options';
|
||||||
import { CloudRunnerSystem } from '../services/core/cloud-runner-system';
|
import { CloudRunnerSystem } from '../services/core/cloud-runner-system';
|
||||||
import { CloudRunnerFolders } from '../options/cloud-runner-folders';
|
|
||||||
|
|
||||||
export class RemoteClientLogger {
|
export class RemoteClientLogger {
|
||||||
private static get LogFilePath() {
|
private static get LogFilePath() {
|
||||||
@ -44,7 +43,7 @@ export class RemoteClientLogger {
|
|||||||
|
|
||||||
// create hashed version of logs using md5sum
|
// create hashed version of logs using md5sum
|
||||||
const startPath = process.cwd();
|
const startPath = process.cwd();
|
||||||
process.chdir(path.resolve(CloudRunnerFolders.repoPathAbsolute, '..'));
|
process.chdir('/home');
|
||||||
hashedLogs = await await CloudRunnerSystem.Run(`md5sum ${RemoteClientLogger.LogFilePath}`);
|
hashedLogs = await await CloudRunnerSystem.Run(`md5sum ${RemoteClientLogger.LogFilePath}`);
|
||||||
process.chdir(startPath);
|
process.chdir(startPath);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user