Serialize all input and buildparams
parent
7abb3f605a
commit
cc8895d935
|
|
@ -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();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue