diff --git a/.github/workflows/cloud-runner-ci-pipeline.yml b/.github/workflows/cloud-runner-ci-pipeline.yml index 9613f671..622bb02e 100644 --- a/.github/workflows/cloud-runner-ci-pipeline.yml +++ b/.github/workflows/cloud-runner-ci-pipeline.yml @@ -117,7 +117,6 @@ jobs: - 'cloud-runner-async-workflow' - 'cloud-runner-end2end-locking' - 'cloud-runner-end2end-caching' - - 'cloud-runner-kubernetes' - 'cloud-runner-end2end-retaining' - 'cloud-runner-environment' - 'cloud-runner-github-checks' diff --git a/dist/index.js b/dist/index.js index ee958f34..bd286dd6 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 69eec677..94802521 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/remote-client/remote-client-logger.ts b/src/model/cloud-runner/remote-client/remote-client-logger.ts index 3ebbca7f..cdeb5be7 100644 --- a/src/model/cloud-runner/remote-client/remote-client-logger.ts +++ b/src/model/cloud-runner/remote-client/remote-client-logger.ts @@ -3,6 +3,8 @@ import fs from 'node:fs'; import path from 'node:path'; import CloudRunner from '../cloud-runner'; import CloudRunnerOptions from '../options/cloud-runner-options'; +import { CloudRunnerSystem } from '../services/core/cloud-runner-system'; +import { CloudRunnerFolders } from '../options/cloud-runner-folders'; export class RemoteClientLogger { private static get LogFilePath() { @@ -38,7 +40,14 @@ export class RemoteClientLogger { return; } CloudRunnerLogger.log(`Collected Logs`); - const hashedLogs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString(); + let hashedLogs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString(); + + // create hashed version of logs using md5sum + const startPath = process.cwd(); + process.chdir(path.resolve(CloudRunnerFolders.repoPathAbsolute, '..')); + hashedLogs = await await CloudRunnerSystem.Run(`md5sum ${RemoteClientLogger.LogFilePath}`); + process.chdir(startPath); + CloudRunnerLogger.log(hashedLogs); const logs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString(); CloudRunnerLogger.log(logs);