Serialize all input and buildparams

pull/310/head
Frostebite 2021-12-20 22:55:09 +00:00
parent 7abb3f605a
commit cc8895d935
3 changed files with 1 additions and 9 deletions

4
dist/index.js vendored
View File

@ -1965,14 +1965,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.RemoteClientCli = void 0;
const cloud_runner_state_1 = __webpack_require__(70912);
const download_repository_1 = __webpack_require__(20477);
class RemoteClientCli {
static RunRemoteClient(options) {
return __awaiter(this, void 0, void 0, function* () {
const buff = Buffer.from(process.env.SERIALIZED_BUILD_PARAMS || '', 'base64');
const text = buff.toString('ascii');
cloud_runner_state_1.CloudRunnerState.setup(JSON.parse(text));
switch (options.remoteClientState) {
default:
yield download_repository_1.DownloadRepository.run();

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,11 +1,7 @@
import { CloudRunnerState } from '../state/cloud-runner-state';
import { DownloadRepository } from './remote-steps/download-repository';
export class RemoteClientCli {
static async RunRemoteClient(options) {
const buff = Buffer.from(process.env.SERIALIZED_BUILD_PARAMS || '', 'base64');
const text = buff.toString('ascii');
CloudRunnerState.setup(JSON.parse(text));
switch (options.remoteClientState) {
default:
await DownloadRepository.run();