Description from pre/post/custom build steps
parent
43725bbfb8
commit
fa2f7dc938
|
|
@ -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'
|
default: 'run a post build job in yaml format with the keys image, secrets (name, value object array), command string'
|
||||||
preBuildSteps:
|
preBuildSteps:
|
||||||
required: false
|
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:
|
customBuildSteps:
|
||||||
required: false
|
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:
|
buildsPath:
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
|
||||||
|
|
@ -2513,7 +2513,6 @@ exports.TaskParameterSerializer = void 0;
|
||||||
const __1 = __webpack_require__(41359);
|
const __1 = __webpack_require__(41359);
|
||||||
const image_environment_factory_1 = __importDefault(__webpack_require__(25145));
|
const image_environment_factory_1 = __importDefault(__webpack_require__(25145));
|
||||||
const cloud_runner_state_1 = __webpack_require__(70912);
|
const cloud_runner_state_1 = __webpack_require__(70912);
|
||||||
const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
|
|
||||||
class TaskParameterSerializer {
|
class TaskParameterSerializer {
|
||||||
static readBuildEnvironmentVariables() {
|
static readBuildEnvironmentVariables() {
|
||||||
return [
|
return [
|
||||||
|
|
@ -2595,10 +2594,6 @@ class TaskParameterSerializer {
|
||||||
static readInput(array) {
|
static readInput(array) {
|
||||||
const input = Object.getOwnPropertyNames(__1.Input);
|
const input = Object.getOwnPropertyNames(__1.Input);
|
||||||
for (const element of 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') {
|
if (typeof __1.Input[element] !== 'function') {
|
||||||
array.push({
|
array.push({
|
||||||
name: element,
|
name: element,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -2,7 +2,6 @@ import { Input } from '../..';
|
||||||
import ImageEnvironmentFactory from '../../image-environment-factory';
|
import ImageEnvironmentFactory from '../../image-environment-factory';
|
||||||
import CloudRunnerEnvironmentVariable from './cloud-runner-environment-variable';
|
import CloudRunnerEnvironmentVariable from './cloud-runner-environment-variable';
|
||||||
import { CloudRunnerState } from '../state/cloud-runner-state';
|
import { CloudRunnerState } from '../state/cloud-runner-state';
|
||||||
import CloudRunnerLogger from './cloud-runner-logger';
|
|
||||||
|
|
||||||
export class TaskParameterSerializer {
|
export class TaskParameterSerializer {
|
||||||
public static readBuildEnvironmentVariables(): CloudRunnerEnvironmentVariable[] {
|
public static readBuildEnvironmentVariables(): CloudRunnerEnvironmentVariable[] {
|
||||||
|
|
@ -90,16 +89,6 @@ export class TaskParameterSerializer {
|
||||||
private static readInput(array: any[]) {
|
private static readInput(array: any[]) {
|
||||||
const input = Object.getOwnPropertyNames(Input);
|
const input = Object.getOwnPropertyNames(Input);
|
||||||
for (const element of input) {
|
for (const element of input) {
|
||||||
CloudRunnerLogger.log(
|
|
||||||
JSON.stringify(
|
|
||||||
{
|
|
||||||
type: `${typeof Input[element]}`,
|
|
||||||
name: Input[element],
|
|
||||||
},
|
|
||||||
undefined,
|
|
||||||
4,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
if (typeof Input[element] !== 'function') {
|
if (typeof Input[element] !== 'function') {
|
||||||
array.push({
|
array.push({
|
||||||
name: element,
|
name: element,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue