-
Notifications
You must be signed in to change notification settings - Fork 0
Class.LoadVarStep
@decentm/concourse-ts / LoadVarStep
Defined in: components/step/load-var.ts:18
Loads the contents of a file into a local var at runtime. The file must be present in an artifact, and the var can be used in subsequent steps via ((.:var_name)) syntax.
https://concourse-ci.org/docs/steps/load-var/
-
Step<LoadVarStep>
new LoadVarStep(
name,customise?):LoadVarStep
Defined in: components/step/load-var.ts:32
string
(instance) => void
Step<Type.LoadVarStep>.constructor
name:
string
Defined in: components/step/load-var.ts:33
Step.name
get var():
Var
Defined in: components/step/load-var.ts:106
Returns a var reference string for use in subsequent steps. The returned string can be interpolated into other step configurations.
The var reference in ((.:var_name)) format
add_across(...
across):void
Defined in: components/step/base.ts:57
https://concourse-ci.org/docs/steps/modifier-and-hooks/across/#across-step-modifier
...Across<Identifier>[]
The modifier to add
void
Step.add_across
add_ensure(
step):void
Defined in: components/step/base.ts:249
Adds a step to always be run after this one.
https://concourse-ci.org/docs/steps/modifier-and-hooks/ensure/#ensure-step-hook
void
Step.add_ensure
add_on_abort(
step):void
Defined in: components/step/base.ts:234
Adds a step to be run after this one is aborted.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-abort/#on_abort-step-hook
void
Step.add_on_abort
add_on_error(
step):void
Defined in: components/step/base.ts:219
Adds a step to be run after this one errors.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-error/#on_error-step-hook
void
Step.add_on_error
add_on_failure(
step):void
Defined in: components/step/base.ts:204
Adds a step to be run after this one fails.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-failure/#on_failure-step-hook
void
Step.add_on_failure
add_on_success(
step):void
Defined in: components/step/base.ts:189
Adds a step to be run after this one succeeds.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-success/#on_success-step-hook
void
Step.add_on_success
add_tags(...
tags):void
Defined in: components/step/base.ts:174
https://concourse-ci.org/docs/steps/modifier-and-hooks/tags/#tags-step-modifier
...string[]
void
Step.add_tags
set_attempts(
attempts):void
Defined in: components/step/base.ts:81
Sets the number of attempts for this step.
https://concourse-ci.org/docs/steps/modifier-and-hooks/attempts/#attempts-step-modifier
number
void
Step.set_attempts
set_file(
file):void
Defined in: components/step/load-var.ts:71
Sets the path to the file to load. The file must exist in an artifact available to the job.
https://concourse-ci.org/docs/steps/load-var/#load_var-step
string
Path to the file to load
void
set_format(
format):void
Defined in: components/step/load-var.ts:85
Sets how to parse the file contents. Options are 'raw', 'trim', 'yaml', or 'json'. Defaults to 'trim' which removes leading/trailing whitespace.
https://concourse-ci.org/docs/steps/load-var/#load_var-step
The format to parse as
"json" | "yaml" | "yml" | "trim" | "raw"
void
set_load_var(
load_var):void
Defined in: components/step/load-var.ts:57
Sets the name of the variable to load the file contents into. The variable can be referenced in subsequent steps using ((.:var_name)) syntax.
https://concourse-ci.org/docs/steps/load-var/#load_var-step
string
The variable name
void
set_reveal():
void
Defined in: components/step/load-var.ts:96
Sets "reveal" to true - avoid calling to keep false
https://concourse-ci.org/docs/steps/load-var/#load_var-step
void
set_timeout(
timeout):void
Defined in: components/step/base.ts:68
https://concourse-ci.org/docs/steps/modifier-and-hooks/timeout/#timeout-step-modifier
void
Step.set_timeout
staticcustomise(init):void
Defined in: components/step/load-var.ts:28
Customises all LoadVarSteps constructed after calling this function.
(instance) => void
void
staticcustomise_base(init):void
Defined in: components/step/base.ts:28
Customises the base of all Steps constructed after calling this function
(instance) => void
void
Step.customise_base