1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getBuildRuns
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DevOps.getBuildRuns

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Build Runs in Oracle Cloud Infrastructure Devops service.

    Returns a list of build run summary.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBuildRuns = oci.DevOps.getBuildRuns({
        buildPipelineId: testBuildPipeline.id,
        compartmentId: compartmentId,
        displayName: buildRunDisplayName,
        id: buildRunId,
        projectId: testProject.id,
        state: buildRunState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_build_runs = oci.DevOps.get_build_runs(build_pipeline_id=test_build_pipeline["id"],
        compartment_id=compartment_id,
        display_name=build_run_display_name,
        id=build_run_id,
        project_id=test_project["id"],
        state=build_run_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DevOps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DevOps.GetBuildRuns(ctx, &devops.GetBuildRunsArgs{
    			BuildPipelineId: pulumi.StringRef(testBuildPipeline.Id),
    			CompartmentId:   pulumi.StringRef(compartmentId),
    			DisplayName:     pulumi.StringRef(buildRunDisplayName),
    			Id:              pulumi.StringRef(buildRunId),
    			ProjectId:       pulumi.StringRef(testProject.Id),
    			State:           pulumi.StringRef(buildRunState),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBuildRuns = Oci.DevOps.GetBuildRuns.Invoke(new()
        {
            BuildPipelineId = testBuildPipeline.Id,
            CompartmentId = compartmentId,
            DisplayName = buildRunDisplayName,
            Id = buildRunId,
            ProjectId = testProject.Id,
            State = buildRunState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DevOps.DevOpsFunctions;
    import com.pulumi.oci.DevOps.inputs.GetBuildRunsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testBuildRuns = DevOpsFunctions.getBuildRuns(GetBuildRunsArgs.builder()
                .buildPipelineId(testBuildPipeline.id())
                .compartmentId(compartmentId)
                .displayName(buildRunDisplayName)
                .id(buildRunId)
                .projectId(testProject.id())
                .state(buildRunState)
                .build());
    
        }
    }
    
    variables:
      testBuildRuns:
        fn::invoke:
          Function: oci:DevOps:getBuildRuns
          Arguments:
            buildPipelineId: ${testBuildPipeline.id}
            compartmentId: ${compartmentId}
            displayName: ${buildRunDisplayName}
            id: ${buildRunId}
            projectId: ${testProject.id}
            state: ${buildRunState}
    

    Using getBuildRuns

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBuildRuns(args: GetBuildRunsArgs, opts?: InvokeOptions): Promise<GetBuildRunsResult>
    function getBuildRunsOutput(args: GetBuildRunsOutputArgs, opts?: InvokeOptions): Output<GetBuildRunsResult>
    def get_build_runs(build_pipeline_id: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_devops.GetBuildRunsFilter]] = None,
                       id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       state: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetBuildRunsResult
    def get_build_runs_output(build_pipeline_id: Optional[pulumi.Input[str]] = None,
                       compartment_id: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetBuildRunsFilterArgs]]]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       project_id: Optional[pulumi.Input[str]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetBuildRunsResult]
    func GetBuildRuns(ctx *Context, args *GetBuildRunsArgs, opts ...InvokeOption) (*GetBuildRunsResult, error)
    func GetBuildRunsOutput(ctx *Context, args *GetBuildRunsOutputArgs, opts ...InvokeOption) GetBuildRunsResultOutput

    > Note: This function is named GetBuildRuns in the Go SDK.

    public static class GetBuildRuns 
    {
        public static Task<GetBuildRunsResult> InvokeAsync(GetBuildRunsArgs args, InvokeOptions? opts = null)
        public static Output<GetBuildRunsResult> Invoke(GetBuildRunsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBuildRunsResult> getBuildRuns(GetBuildRunsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DevOps/getBuildRuns:getBuildRuns
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BuildPipelineId string
    Unique build pipeline identifier.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetBuildRunsFilter>
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    ProjectId string
    unique project identifier
    State string
    A filter to return only build runs that matches the given lifecycle state.
    BuildPipelineId string
    Unique build pipeline identifier.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetBuildRunsFilter
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    ProjectId string
    unique project identifier
    State string
    A filter to return only build runs that matches the given lifecycle state.
    buildPipelineId String
    Unique build pipeline identifier.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetBuildRunsFilter>
    id String
    Unique identifier or OCID for listing a single resource by ID.
    projectId String
    unique project identifier
    state String
    A filter to return only build runs that matches the given lifecycle state.
    buildPipelineId string
    Unique build pipeline identifier.
    compartmentId string
    The OCID of the compartment in which to list resources.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetBuildRunsFilter[]
    id string
    Unique identifier or OCID for listing a single resource by ID.
    projectId string
    unique project identifier
    state string
    A filter to return only build runs that matches the given lifecycle state.
    build_pipeline_id str
    Unique build pipeline identifier.
    compartment_id str
    The OCID of the compartment in which to list resources.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[devops.GetBuildRunsFilter]
    id str
    Unique identifier or OCID for listing a single resource by ID.
    project_id str
    unique project identifier
    state str
    A filter to return only build runs that matches the given lifecycle state.
    buildPipelineId String
    Unique build pipeline identifier.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    id String
    Unique identifier or OCID for listing a single resource by ID.
    projectId String
    unique project identifier
    state String
    A filter to return only build runs that matches the given lifecycle state.

    getBuildRuns Result

    The following output properties are available:

    BuildRunSummaryCollections List<GetBuildRunsBuildRunSummaryCollection>
    The list of build_run_summary_collection.
    BuildPipelineId string
    The OCID of the build pipeline to be triggered.
    CompartmentId string
    The OCID of the compartment where the build is running.
    DisplayName string
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    Filters List<GetBuildRunsFilter>
    Id string
    Unique identifier that is immutable on creation.
    ProjectId string
    The OCID of the DevOps project.
    State string
    The current state of the build run.
    BuildRunSummaryCollections []GetBuildRunsBuildRunSummaryCollection
    The list of build_run_summary_collection.
    BuildPipelineId string
    The OCID of the build pipeline to be triggered.
    CompartmentId string
    The OCID of the compartment where the build is running.
    DisplayName string
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    Filters []GetBuildRunsFilter
    Id string
    Unique identifier that is immutable on creation.
    ProjectId string
    The OCID of the DevOps project.
    State string
    The current state of the build run.
    buildRunSummaryCollections List<GetBuildRunsBuildRunSummaryCollection>
    The list of build_run_summary_collection.
    buildPipelineId String
    The OCID of the build pipeline to be triggered.
    compartmentId String
    The OCID of the compartment where the build is running.
    displayName String
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    filters List<GetBuildRunsFilter>
    id String
    Unique identifier that is immutable on creation.
    projectId String
    The OCID of the DevOps project.
    state String
    The current state of the build run.
    buildRunSummaryCollections GetBuildRunsBuildRunSummaryCollection[]
    The list of build_run_summary_collection.
    buildPipelineId string
    The OCID of the build pipeline to be triggered.
    compartmentId string
    The OCID of the compartment where the build is running.
    displayName string
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    filters GetBuildRunsFilter[]
    id string
    Unique identifier that is immutable on creation.
    projectId string
    The OCID of the DevOps project.
    state string
    The current state of the build run.
    build_run_summary_collections Sequence[devops.GetBuildRunsBuildRunSummaryCollection]
    The list of build_run_summary_collection.
    build_pipeline_id str
    The OCID of the build pipeline to be triggered.
    compartment_id str
    The OCID of the compartment where the build is running.
    display_name str
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    filters Sequence[devops.GetBuildRunsFilter]
    id str
    Unique identifier that is immutable on creation.
    project_id str
    The OCID of the DevOps project.
    state str
    The current state of the build run.
    buildRunSummaryCollections List<Property Map>
    The list of build_run_summary_collection.
    buildPipelineId String
    The OCID of the build pipeline to be triggered.
    compartmentId String
    The OCID of the compartment where the build is running.
    displayName String
    Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
    filters List<Property Map>
    id String
    Unique identifier that is immutable on creation.
    projectId String
    The OCID of the DevOps project.
    state String
    The current state of the build run.

    Supporting Types

    GetBuildRunsBuildRunSummaryCollection

    items List<Property Map>
    List of exported variables.

    GetBuildRunsBuildRunSummaryCollectionItem

    BuildPipelineId string
    Unique build pipeline identifier.
    BuildRunArguments GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments
    Specifies list of arguments passed along with the build run.
    BuildRunProgressSummaries List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary>
    BuildRunSources List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource>
    The source from which the build run is triggered.
    CommitInfo GetBuildRunsBuildRunSummaryCollectionItemCommitInfo
    Commit details that need to be used for the build run.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ProjectId string
    unique project identifier
    State string
    A filter to return only build runs that matches the given lifecycle state.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the build run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    BuildPipelineId string
    Unique build pipeline identifier.
    BuildRunArguments GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments
    Specifies list of arguments passed along with the build run.
    BuildRunProgressSummaries []GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary
    BuildRunSources []GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource
    The source from which the build run is triggered.
    CommitInfo GetBuildRunsBuildRunSummaryCollectionItemCommitInfo
    Commit details that need to be used for the build run.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ProjectId string
    unique project identifier
    State string
    A filter to return only build runs that matches the given lifecycle state.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the build run was created. Format defined by RFC3339.
    TimeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    buildPipelineId String
    Unique build pipeline identifier.
    buildRunArguments GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments
    Specifies list of arguments passed along with the build run.
    buildRunProgressSummaries List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary>
    buildRunSources List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource>
    The source from which the build run is triggered.
    commitInfo GetBuildRunsBuildRunSummaryCollectionItemCommitInfo
    Commit details that need to be used for the build run.
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    projectId String
    unique project identifier
    state String
    A filter to return only build runs that matches the given lifecycle state.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the build run was created. Format defined by RFC3339.
    timeUpdated String
    The time the build run was updated. Format defined by RFC3339.
    buildPipelineId string
    Unique build pipeline identifier.
    buildRunArguments GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments
    Specifies list of arguments passed along with the build run.
    buildRunProgressSummaries GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary[]
    buildRunSources GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource[]
    The source from which the build run is triggered.
    commitInfo GetBuildRunsBuildRunSummaryCollectionItemCommitInfo
    Commit details that need to be used for the build run.
    compartmentId string
    The OCID of the compartment in which to list resources.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id string
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    projectId string
    unique project identifier
    state string
    A filter to return only build runs that matches the given lifecycle state.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the build run was created. Format defined by RFC3339.
    timeUpdated string
    The time the build run was updated. Format defined by RFC3339.
    build_pipeline_id str
    Unique build pipeline identifier.
    build_run_arguments devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments
    Specifies list of arguments passed along with the build run.
    build_run_progress_summaries Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary]
    build_run_sources Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource]
    The source from which the build run is triggered.
    commit_info devops.GetBuildRunsBuildRunSummaryCollectionItemCommitInfo
    Commit details that need to be used for the build run.
    compartment_id str
    The OCID of the compartment in which to list resources.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    A filter to return only resources that match the entire display name given.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id str
    Unique identifier or OCID for listing a single resource by ID.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    project_id str
    unique project identifier
    state str
    A filter to return only build runs that matches the given lifecycle state.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the build run was created. Format defined by RFC3339.
    time_updated str
    The time the build run was updated. Format defined by RFC3339.
    buildPipelineId String
    Unique build pipeline identifier.
    buildRunArguments Property Map
    Specifies list of arguments passed along with the build run.
    buildRunProgressSummaries List<Property Map>
    buildRunSources List<Property Map>
    The source from which the build run is triggered.
    commitInfo Property Map
    Commit details that need to be used for the build run.
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    projectId String
    unique project identifier
    state String
    A filter to return only build runs that matches the given lifecycle state.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the build run was created. Format defined by RFC3339.
    timeUpdated String
    The time the build run was updated. Format defined by RFC3339.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunArguments

    items List<Property Map>
    List of exported variables.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsItem

    Name string
    Name of the step.
    Value string
    Value of the argument.
    Name string
    Name of the step.
    Value string
    Value of the argument.
    name String
    Name of the step.
    value String
    Value of the argument.
    name string
    Name of the step.
    value string
    Value of the argument.
    name str
    Name of the step.
    value str
    Value of the argument.
    name String
    Name of the step.
    value String
    Value of the argument.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummary

    TimeFinished string
    The time the build run finished. Format defined by RFC3339.
    TimeStarted string
    The time the build run started. Format defined by RFC3339.
    TimeFinished string
    The time the build run finished. Format defined by RFC3339.
    TimeStarted string
    The time the build run started. Format defined by RFC3339.
    timeFinished String
    The time the build run finished. Format defined by RFC3339.
    timeStarted String
    The time the build run started. Format defined by RFC3339.
    timeFinished string
    The time the build run finished. Format defined by RFC3339.
    timeStarted string
    The time the build run started. Format defined by RFC3339.
    time_finished str
    The time the build run finished. Format defined by RFC3339.
    time_started str
    The time the build run started. Format defined by RFC3339.
    timeFinished String
    The time the build run finished. Format defined by RFC3339.
    timeStarted String
    The time the build run started. Format defined by RFC3339.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunSource

    RepositoryId string
    The DevOps code repository identifier that invoked the build run.
    SourceType string
    The source from which the build run is triggered.
    TriggerInfos List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo>
    Trigger details that need to be used for the BuildRun
    RepositoryId string
    The DevOps code repository identifier that invoked the build run.
    SourceType string
    The source from which the build run is triggered.
    TriggerInfos []GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo
    Trigger details that need to be used for the BuildRun
    repositoryId String
    The DevOps code repository identifier that invoked the build run.
    sourceType String
    The source from which the build run is triggered.
    triggerInfos List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo>
    Trigger details that need to be used for the BuildRun
    repositoryId string
    The DevOps code repository identifier that invoked the build run.
    sourceType string
    The source from which the build run is triggered.
    triggerInfos GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo[]
    Trigger details that need to be used for the BuildRun
    repository_id str
    The DevOps code repository identifier that invoked the build run.
    source_type str
    The source from which the build run is triggered.
    trigger_infos Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo]
    Trigger details that need to be used for the BuildRun
    repositoryId String
    The DevOps code repository identifier that invoked the build run.
    sourceType String
    The source from which the build run is triggered.
    triggerInfos List<Property Map>
    Trigger details that need to be used for the BuildRun

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfo

    Actions List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction>
    The list of actions that are to be performed for this Trigger
    DisplayName string
    A filter to return only resources that match the entire display name given.
    TriggerId string
    The trigger that invoked the build run.
    Actions []GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction
    The list of actions that are to be performed for this Trigger
    DisplayName string
    A filter to return only resources that match the entire display name given.
    TriggerId string
    The trigger that invoked the build run.
    actions List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction>
    The list of actions that are to be performed for this Trigger
    displayName String
    A filter to return only resources that match the entire display name given.
    triggerId String
    The trigger that invoked the build run.
    actions GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction[]
    The list of actions that are to be performed for this Trigger
    displayName string
    A filter to return only resources that match the entire display name given.
    triggerId string
    The trigger that invoked the build run.
    actions Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction]
    The list of actions that are to be performed for this Trigger
    display_name str
    A filter to return only resources that match the entire display name given.
    trigger_id str
    The trigger that invoked the build run.
    actions List<Property Map>
    The list of actions that are to be performed for this Trigger
    displayName String
    A filter to return only resources that match the entire display name given.
    triggerId String
    The trigger that invoked the build run.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoAction

    BuildPipelineId string
    Unique build pipeline identifier.
    Filters List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter>
    Type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    BuildPipelineId string
    Unique build pipeline identifier.
    Filters []GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter
    Type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId String
    Unique build pipeline identifier.
    filters List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter>
    type String
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId string
    Unique build pipeline identifier.
    filters GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter[]
    type string
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    build_pipeline_id str
    Unique build pipeline identifier.
    filters Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter]
    type str
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
    buildPipelineId String
    Unique build pipeline identifier.
    filters List<Property Map>
    type String
    The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilter

    Events List<string>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    Includes List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude>
    Attributes to filter GitLab self-hosted server events.
    TriggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    Events []string
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    Includes []GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude
    Attributes to filter GitLab self-hosted server events.
    TriggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events List<String>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    includes List<GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude>
    Attributes to filter GitLab self-hosted server events.
    triggerSource String
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events string[]
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    includes GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude[]
    Attributes to filter GitLab self-hosted server events.
    triggerSource string
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events Sequence[str]
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    includes Sequence[devops.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude]
    Attributes to filter GitLab self-hosted server events.
    trigger_source str
    Source of the trigger. Allowed values are, GITHUB and GITLAB.
    events List<String>
    The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
    includes List<Property Map>
    Attributes to filter GitLab self-hosted server events.
    triggerSource String
    Source of the trigger. Allowed values are, GITHUB and GITLAB.

    GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterInclude

    BaseRef string
    The target branch for pull requests; not applicable for push requests.
    HeadRef string
    Branch for push event; source branch for pull requests.
    BaseRef string
    The target branch for pull requests; not applicable for push requests.
    HeadRef string
    Branch for push event; source branch for pull requests.
    baseRef String
    The target branch for pull requests; not applicable for push requests.
    headRef String
    Branch for push event; source branch for pull requests.
    baseRef string
    The target branch for pull requests; not applicable for push requests.
    headRef string
    Branch for push event; source branch for pull requests.
    base_ref str
    The target branch for pull requests; not applicable for push requests.
    head_ref str
    Branch for push event; source branch for pull requests.
    baseRef String
    The target branch for pull requests; not applicable for push requests.
    headRef String
    Branch for push event; source branch for pull requests.

    GetBuildRunsBuildRunSummaryCollectionItemCommitInfo

    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    RepositoryBranch string
    Name of the repository branch.
    RepositoryUrl string
    Repository URL.
    CommitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    RepositoryBranch string
    Name of the repository branch.
    RepositoryUrl string
    Repository URL.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch String
    Name of the repository branch.
    repositoryUrl String
    Repository URL.
    commitHash string
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch string
    Name of the repository branch.
    repositoryUrl string
    Repository URL.
    commit_hash str
    Commit hash pertinent to the repository URL and the specified branch.
    repository_branch str
    Name of the repository branch.
    repository_url str
    Repository URL.
    commitHash String
    Commit hash pertinent to the repository URL and the specified branch.
    repositoryBranch String
    Name of the repository branch.
    repositoryUrl String
    Repository URL.

    GetBuildRunsFilter

    Name string
    Name of the step.
    Values List<string>
    Regex bool
    Name string
    Name of the step.
    Values []string
    Regex bool
    name String
    Name of the step.
    values List<String>
    regex Boolean
    name string
    Name of the step.
    values string[]
    regex boolean
    name str
    Name of the step.
    values Sequence[str]
    regex bool
    name String
    Name of the step.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi