Description from pre/post/custom build steps

pull/310/head
Frostebite 2021-12-30 00:15:21 +00:00
parent 43725bbfb8
commit fa2f7dc938
4 changed files with 5 additions and 19 deletions

View File

@ -27,10 +27,12 @@ inputs:
default: 'run a post build job in yaml format with the keys image, secrets (name, value object array), command string'
preBuildSteps:
required: false
default: 'Run a pre build job after the repository setup but before the build job (in yaml format with the keys image, secrets (name, value object array), command line string)'
default: ''
description: 'Run a pre build job after the repository setup but before the build job (in yaml format with the keys image, secrets (name, value object array), command line string)'
customBuildSteps:
required: false
default: 'Run a custom job instead of the standard build automation for cloud runner (in yaml format with the keys image, secrets (name, value object array), command line string)'
default: ''
description: 'Run a custom job instead of the standard build automation for cloud runner (in yaml format with the keys image, secrets (name, value object array), command line string)'
buildsPath:
required: false
default: ''

5
dist/index.js vendored
View File

@ -2513,7 +2513,6 @@ exports.TaskParameterSerializer = void 0;
const __1 = __webpack_require__(41359);
const image_environment_factory_1 = __importDefault(__webpack_require__(25145));
const cloud_runner_state_1 = __webpack_require__(70912);
const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
class TaskParameterSerializer {
static readBuildEnvironmentVariables() {
return [
@ -2595,10 +2594,6 @@ class TaskParameterSerializer {
static readInput(array) {
const input = Object.getOwnPropertyNames(__1.Input);
for (const element of input) {
cloud_runner_logger_1.default.log(JSON.stringify({
type: `${typeof __1.Input[element]}`,
name: __1.Input[element],
}, undefined, 4));
if (typeof __1.Input[element] !== 'function') {
array.push({
name: element,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,6 @@ import { Input } from '../..';
import ImageEnvironmentFactory from '../../image-environment-factory';
import CloudRunnerEnvironmentVariable from './cloud-runner-environment-variable';
import { CloudRunnerState } from '../state/cloud-runner-state';
import CloudRunnerLogger from './cloud-runner-logger';
export class TaskParameterSerializer {
public static readBuildEnvironmentVariables(): CloudRunnerEnvironmentVariable[] {
@ -90,16 +89,6 @@ export class TaskParameterSerializer {
private static readInput(array: any[]) {
const input = Object.getOwnPropertyNames(Input);
for (const element of input) {
CloudRunnerLogger.log(
JSON.stringify(
{
type: `${typeof Input[element]}`,
name: Input[element],
},
undefined,
4,
),
);
if (typeof Input[element] !== 'function') {
array.push({
name: element,