BuildStageRunProgress

class oci.devops.models.BuildStageRunProgress(**kwargs)

Bases: oci.devops.models.build_pipeline_stage_run_progress.BuildPipelineStageRunProgress

Specifies the run details for Build stage.

Attributes

IMAGE_OL7_X86_64_STANDARD_10 A constant which can be used with the image property of a BuildStageRunProgress.
STATUS_ACCEPTED str(object=’’) -> str
STATUS_CANCELED str(object=’’) -> str
STATUS_CANCELING str(object=’’) -> str
STATUS_FAILED str(object=’’) -> str
STATUS_IN_PROGRESS str(object=’’) -> str
STATUS_SUCCEEDED str(object=’’) -> str
actual_build_runner_shape Gets the actual_build_runner_shape of this BuildStageRunProgress.
actual_build_runner_shape_config Gets the actual_build_runner_shape_config of this BuildStageRunProgress.
build_pipeline_stage_id Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress.
build_pipeline_stage_predecessors Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.
build_pipeline_stage_type Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress.
build_source_collection [Required] Gets the build_source_collection of this BuildStageRunProgress.
build_spec_file Gets the build_spec_file of this BuildStageRunProgress.
exported_variables Gets the exported_variables of this BuildStageRunProgress.
image [Required] Gets the image of this BuildStageRunProgress.
primary_build_source Gets the primary_build_source of this BuildStageRunProgress.
private_access_config Gets the private_access_config of this BuildStageRunProgress.
stage_display_name Gets the stage_display_name of this BuildPipelineStageRunProgress.
stage_execution_timeout_in_seconds Gets the stage_execution_timeout_in_seconds of this BuildStageRunProgress.
status Gets the status of this BuildPipelineStageRunProgress.
steps Gets the steps of this BuildStageRunProgress.
time_finished Gets the time_finished of this BuildPipelineStageRunProgress.
time_started Gets the time_started of this BuildPipelineStageRunProgress.

Methods

__init__(**kwargs) Initializes a new BuildStageRunProgress object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
IMAGE_OL7_X86_64_STANDARD_10 = 'OL7_X86_64_STANDARD_10'

A constant which can be used with the image property of a BuildStageRunProgress. This constant has a value of “OL7_X86_64_STANDARD_10”

STATUS_ACCEPTED = 'ACCEPTED'
STATUS_CANCELED = 'CANCELED'
STATUS_CANCELING = 'CANCELING'
STATUS_FAILED = 'FAILED'
STATUS_IN_PROGRESS = 'IN_PROGRESS'
STATUS_SUCCEEDED = 'SUCCEEDED'
__init__(**kwargs)

Initializes a new BuildStageRunProgress object with values from keyword arguments. The default value of the build_pipeline_stage_type attribute of this class is BUILD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • stage_display_name (str) – The value to assign to the stage_display_name property of this BuildStageRunProgress.
  • build_pipeline_stage_type (str) – The value to assign to the build_pipeline_stage_type property of this BuildStageRunProgress.
  • build_pipeline_stage_id (str) – The value to assign to the build_pipeline_stage_id property of this BuildStageRunProgress.
  • time_started (datetime) – The value to assign to the time_started property of this BuildStageRunProgress.
  • time_finished (datetime) – The value to assign to the time_finished property of this BuildStageRunProgress.
  • status (str) – The value to assign to the status property of this BuildStageRunProgress. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • build_pipeline_stage_predecessors (oci.devops.models.BuildPipelineStagePredecessorCollection) – The value to assign to the build_pipeline_stage_predecessors property of this BuildStageRunProgress.
  • actual_build_runner_shape (str) – The value to assign to the actual_build_runner_shape property of this BuildStageRunProgress.
  • actual_build_runner_shape_config (oci.devops.models.ActualBuildRunnerShapeConfig) – The value to assign to the actual_build_runner_shape_config property of this BuildStageRunProgress.
  • image (str) – The value to assign to the image property of this BuildStageRunProgress. Allowed values for this property are: “OL7_X86_64_STANDARD_10”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • build_spec_file (str) – The value to assign to the build_spec_file property of this BuildStageRunProgress.
  • stage_execution_timeout_in_seconds (int) – The value to assign to the stage_execution_timeout_in_seconds property of this BuildStageRunProgress.
  • build_source_collection (oci.devops.models.BuildSourceCollection) – The value to assign to the build_source_collection property of this BuildStageRunProgress.
  • primary_build_source (str) – The value to assign to the primary_build_source property of this BuildStageRunProgress.
  • steps (list[oci.devops.models.BuildStageRunStep]) – The value to assign to the steps property of this BuildStageRunProgress.
  • exported_variables (oci.devops.models.ExportedVariableCollection) – The value to assign to the exported_variables property of this BuildStageRunProgress.
  • private_access_config (oci.devops.models.NetworkChannel) – The value to assign to the private_access_config property of this BuildStageRunProgress.
actual_build_runner_shape

Gets the actual_build_runner_shape of this BuildStageRunProgress. Name of Build Runner shape where this Build Stage is running.

Returns:The actual_build_runner_shape of this BuildStageRunProgress.
Return type:str
actual_build_runner_shape_config

Gets the actual_build_runner_shape_config of this BuildStageRunProgress.

Returns:The actual_build_runner_shape_config of this BuildStageRunProgress.
Return type:oci.devops.models.ActualBuildRunnerShapeConfig
build_pipeline_stage_id

Gets the build_pipeline_stage_id of this BuildPipelineStageRunProgress. The stage OCID.

Returns:The build_pipeline_stage_id of this BuildPipelineStageRunProgress.
Return type:str
build_pipeline_stage_predecessors

Gets the build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.

Returns:The build_pipeline_stage_predecessors of this BuildPipelineStageRunProgress.
Return type:oci.devops.models.BuildPipelineStagePredecessorCollection
build_pipeline_stage_type

Gets the build_pipeline_stage_type of this BuildPipelineStageRunProgress. Stage types.

Returns:The build_pipeline_stage_type of this BuildPipelineStageRunProgress.
Return type:str
build_source_collection

[Required] Gets the build_source_collection of this BuildStageRunProgress.

Returns:The build_source_collection of this BuildStageRunProgress.
Return type:oci.devops.models.BuildSourceCollection
build_spec_file

Gets the build_spec_file of this BuildStageRunProgress. The path to the build specification file for this Environment. The default location if not specified is build_spec.yaml

Returns:The build_spec_file of this BuildStageRunProgress.
Return type:str
exported_variables

Gets the exported_variables of this BuildStageRunProgress.

Returns:The exported_variables of this BuildStageRunProgress.
Return type:oci.devops.models.ExportedVariableCollection
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

image

[Required] Gets the image of this BuildStageRunProgress. Image name for the Build Environment

Allowed values for this property are: “OL7_X86_64_STANDARD_10”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The image of this BuildStageRunProgress.
Return type:str
primary_build_source

Gets the primary_build_source of this BuildStageRunProgress. Name of the BuildSource in which the build_spec.yml file need to be located. If not specified, the 1st entry in the BuildSource collection will be chosen as Primary.

Returns:The primary_build_source of this BuildStageRunProgress.
Return type:str
private_access_config

Gets the private_access_config of this BuildStageRunProgress.

Returns:The private_access_config of this BuildStageRunProgress.
Return type:oci.devops.models.NetworkChannel
stage_display_name

Gets the stage_display_name of this BuildPipelineStageRunProgress. Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.

Returns:The stage_display_name of this BuildPipelineStageRunProgress.
Return type:str
stage_execution_timeout_in_seconds

Gets the stage_execution_timeout_in_seconds of this BuildStageRunProgress. Timeout for the Build Stage Execution. Value in seconds.

Returns:The stage_execution_timeout_in_seconds of this BuildStageRunProgress.
Return type:int
status

Gets the status of this BuildPipelineStageRunProgress. The current status of the stage.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this BuildPipelineStageRunProgress.
Return type:str
steps

Gets the steps of this BuildStageRunProgress. The details about all the steps in a Build stage

Returns:The steps of this BuildStageRunProgress.
Return type:list[oci.devops.models.BuildStageRunStep]
time_finished

Gets the time_finished of this BuildPipelineStageRunProgress. The time the stage finished executing. Format defined by RFC3339.

Returns:The time_finished of this BuildPipelineStageRunProgress.
Return type:datetime
time_started

Gets the time_started of this BuildPipelineStageRunProgress. The time the stage started executing. Format defined by RFC3339.

Returns:The time_started of this BuildPipelineStageRunProgress.
Return type:datetime