diff --git a/dist/index.js b/dist/index.js index f68cb6cb..91dac0b6 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 6d4cae30..46f444e6 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/remote-client/index.ts b/src/model/cloud-runner/remote-client/index.ts index 94103019..5cff4ef5 100644 --- a/src/model/cloud-runner/remote-client/index.ts +++ b/src/model/cloud-runner/remote-client/index.ts @@ -13,6 +13,7 @@ import YAML from 'yaml'; import GitHub from '../../github'; import BuildParameters from '../../build-parameters'; import { Cli } from '../../cli/cli'; +import CloudRunnerOptions from '../options/cloud-runner-options'; export class RemoteClient { @CliFunction(`remote-cli-pre-build`, `sets up a repository, usually before a game-ci build`) @@ -40,12 +41,20 @@ export class RemoteClient { lingeringLine = lines.pop() || ''; for (const element of lines) { - fs.appendFileSync(logFile, element); + if (CloudRunnerOptions.providerStrategy !== 'k8s') { + CloudRunnerLogger.log(element); + } else { + fs.appendFileSync(logFile, element); + } } }); process.stdin.on('end', () => { - fs.appendFileSync(logFile, lingeringLine); + if (CloudRunnerOptions.providerStrategy !== 'k8s') { + CloudRunnerLogger.log(lingeringLine); + } else { + fs.appendFileSync(logFile, lingeringLine); + } }); }