oci.DevOps.BuildRun
Explore with Pulumi AI
This resource provides the Build Run resource in Oracle Cloud Infrastructure Devops service.
Starts a build pipeline run for a predefined build pipeline. Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBuildRun = new oci.devops.BuildRun("test_build_run", {
buildPipelineId: testBuildPipeline.id,
buildRunArguments: {
items: [{
name: buildRunBuildRunArgumentsItemsName,
value: buildRunBuildRunArgumentsItemsValue,
}],
},
commitInfo: {
commitHash: buildRunCommitInfoCommitHash,
repositoryBranch: buildRunCommitInfoRepositoryBranch,
repositoryUrl: buildRunCommitInfoRepositoryUrl,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
displayName: buildRunDisplayName,
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_build_run = oci.dev_ops.BuildRun("test_build_run",
build_pipeline_id=test_build_pipeline["id"],
build_run_arguments={
"items": [{
"name": build_run_build_run_arguments_items_name,
"value": build_run_build_run_arguments_items_value,
}],
},
commit_info={
"commit_hash": build_run_commit_info_commit_hash,
"repository_branch": build_run_commit_info_repository_branch,
"repository_url": build_run_commit_info_repository_url,
},
defined_tags={
"foo-namespace.bar-key": "value",
},
display_name=build_run_display_name,
freeform_tags={
"bar-key": "value",
})
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.NewBuildRun(ctx, "test_build_run", &DevOps.BuildRunArgs{
BuildPipelineId: pulumi.Any(testBuildPipeline.Id),
BuildRunArguments: &devops.BuildRunBuildRunArgumentsArgs{
Items: devops.BuildRunBuildRunArgumentsItemArray{
&devops.BuildRunBuildRunArgumentsItemArgs{
Name: pulumi.Any(buildRunBuildRunArgumentsItemsName),
Value: pulumi.Any(buildRunBuildRunArgumentsItemsValue),
},
},
},
CommitInfo: &devops.BuildRunCommitInfoArgs{
CommitHash: pulumi.Any(buildRunCommitInfoCommitHash),
RepositoryBranch: pulumi.Any(buildRunCommitInfoRepositoryBranch),
RepositoryUrl: pulumi.Any(buildRunCommitInfoRepositoryUrl),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
DisplayName: pulumi.Any(buildRunDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
})
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 testBuildRun = new Oci.DevOps.BuildRun("test_build_run", new()
{
BuildPipelineId = testBuildPipeline.Id,
BuildRunArguments = new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsItemArgs
{
Name = buildRunBuildRunArgumentsItemsName,
Value = buildRunBuildRunArgumentsItemsValue,
},
},
},
CommitInfo = new Oci.DevOps.Inputs.BuildRunCommitInfoArgs
{
CommitHash = buildRunCommitInfoCommitHash,
RepositoryBranch = buildRunCommitInfoRepositoryBranch,
RepositoryUrl = buildRunCommitInfoRepositoryUrl,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DisplayName = buildRunDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.BuildRun;
import com.pulumi.oci.DevOps.BuildRunArgs;
import com.pulumi.oci.DevOps.inputs.BuildRunBuildRunArgumentsArgs;
import com.pulumi.oci.DevOps.inputs.BuildRunCommitInfoArgs;
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) {
var testBuildRun = new BuildRun("testBuildRun", BuildRunArgs.builder()
.buildPipelineId(testBuildPipeline.id())
.buildRunArguments(BuildRunBuildRunArgumentsArgs.builder()
.items(BuildRunBuildRunArgumentsItemArgs.builder()
.name(buildRunBuildRunArgumentsItemsName)
.value(buildRunBuildRunArgumentsItemsValue)
.build())
.build())
.commitInfo(BuildRunCommitInfoArgs.builder()
.commitHash(buildRunCommitInfoCommitHash)
.repositoryBranch(buildRunCommitInfoRepositoryBranch)
.repositoryUrl(buildRunCommitInfoRepositoryUrl)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.displayName(buildRunDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testBuildRun:
type: oci:DevOps:BuildRun
name: test_build_run
properties:
buildPipelineId: ${testBuildPipeline.id}
buildRunArguments:
items:
- name: ${buildRunBuildRunArgumentsItemsName}
value: ${buildRunBuildRunArgumentsItemsValue}
commitInfo:
commitHash: ${buildRunCommitInfoCommitHash}
repositoryBranch: ${buildRunCommitInfoRepositoryBranch}
repositoryUrl: ${buildRunCommitInfoRepositoryUrl}
definedTags:
foo-namespace.bar-key: value
displayName: ${buildRunDisplayName}
freeformTags:
bar-key: value
Create BuildRun Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BuildRun(name: string, args: BuildRunArgs, opts?: CustomResourceOptions);
@overload
def BuildRun(resource_name: str,
args: BuildRunArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BuildRun(resource_name: str,
opts: Optional[ResourceOptions] = None,
build_pipeline_id: Optional[str] = None,
build_run_arguments: Optional[_devops.BuildRunBuildRunArgumentsArgs] = None,
commit_info: Optional[_devops.BuildRunCommitInfoArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewBuildRun(ctx *Context, name string, args BuildRunArgs, opts ...ResourceOption) (*BuildRun, error)
public BuildRun(string name, BuildRunArgs args, CustomResourceOptions? opts = null)
public BuildRun(String name, BuildRunArgs args)
public BuildRun(String name, BuildRunArgs args, CustomResourceOptions options)
type: oci:DevOps:BuildRun
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BuildRunArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BuildRunArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BuildRunArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildRunArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BuildRunArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var buildRunResource = new Oci.DevOps.BuildRun("buildRunResource", new()
{
BuildPipelineId = "string",
BuildRunArguments = new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildRunBuildRunArgumentsItemArgs
{
Name = "string",
Value = "string",
},
},
},
CommitInfo = new Oci.DevOps.Inputs.BuildRunCommitInfoArgs
{
CommitHash = "string",
RepositoryBranch = "string",
RepositoryUrl = "string",
},
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := DevOps.NewBuildRun(ctx, "buildRunResource", &DevOps.BuildRunArgs{
BuildPipelineId: pulumi.String("string"),
BuildRunArguments: &devops.BuildRunBuildRunArgumentsArgs{
Items: devops.BuildRunBuildRunArgumentsItemArray{
&devops.BuildRunBuildRunArgumentsItemArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
CommitInfo: &devops.BuildRunCommitInfoArgs{
CommitHash: pulumi.String("string"),
RepositoryBranch: pulumi.String("string"),
RepositoryUrl: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var buildRunResource = new BuildRun("buildRunResource", BuildRunArgs.builder()
.buildPipelineId("string")
.buildRunArguments(BuildRunBuildRunArgumentsArgs.builder()
.items(BuildRunBuildRunArgumentsItemArgs.builder()
.name("string")
.value("string")
.build())
.build())
.commitInfo(BuildRunCommitInfoArgs.builder()
.commitHash("string")
.repositoryBranch("string")
.repositoryUrl("string")
.build())
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
build_run_resource = oci.dev_ops.BuildRun("buildRunResource",
build_pipeline_id="string",
build_run_arguments=oci.dev_ops.BuildRunBuildRunArgumentsArgs(
items=[oci.dev_ops.BuildRunBuildRunArgumentsItemArgs(
name="string",
value="string",
)],
),
commit_info=oci.dev_ops.BuildRunCommitInfoArgs(
commit_hash="string",
repository_branch="string",
repository_url="string",
),
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const buildRunResource = new oci.devops.BuildRun("buildRunResource", {
buildPipelineId: "string",
buildRunArguments: {
items: [{
name: "string",
value: "string",
}],
},
commitInfo: {
commitHash: "string",
repositoryBranch: "string",
repositoryUrl: "string",
},
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:DevOps:BuildRun
properties:
buildPipelineId: string
buildRunArguments:
items:
- name: string
value: string
commitInfo:
commitHash: string
repositoryBranch: string
repositoryUrl: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
BuildRun Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BuildRun resource accepts the following input properties:
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- Commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- Dictionary<string, string>
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Dictionary<string, string>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Run BuildArguments Run Build Run Arguments Args - Specifies list of arguments passed along with the build run.
- Commit
Info BuildRun Commit Info Args - Commit details that need to be used for the build run.
- map[string]string
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- map[string]string
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- Map<String,String>
- (Updatable) 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 String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String,String>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- build
Pipeline stringId - The OCID of the build pipeline.
- build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- {[key: string]: string}
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- {[key: string]: string}
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- build_
pipeline_ strid - The OCID of the build pipeline.
- build_
run_ devops.arguments Build Run Build Run Arguments Args - Specifies list of arguments passed along with the build run.
- commit_
info devops.Build Run Commit Info Args - Commit details that need to be used for the build run.
- Mapping[str, str]
- (Updatable) 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 - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Mapping[str, str]
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Run Property MapArguments - Specifies list of arguments passed along with the build run.
- commit
Info Property Map - Commit details that need to be used for the build run.
- Map<String>
- (Updatable) 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 String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the BuildRun resource produces the following output properties:
- Build
Outputs List<BuildRun Build Output> - Outputs from the build.
- Build
Run List<BuildProgresses Run Build Run Progress> - The run progress details of a build run.
- Build
Run List<BuildSources Run Build Run Source> - The source from which the build run is triggered.
- Compartment
Id string - The OCID of the compartment where the build is running.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the build run.
- 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"}
- Time
Created string - The time the build run was created. Format defined by RFC3339.
- Time
Updated string - The time the build run was updated. Format defined by RFC3339.
- Build
Outputs []BuildRun Build Output - Outputs from the build.
- Build
Run []BuildProgresses Run Build Run Progress - The run progress details of a build run.
- Build
Run []BuildSources Run Build Run Source - The source from which the build run is triggered.
- Compartment
Id string - The OCID of the compartment where the build is running.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the build run.
- 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"}
- Time
Created string - The time the build run was created. Format defined by RFC3339.
- Time
Updated string - The time the build run was updated. Format defined by RFC3339.
- build
Outputs List<BuildRun Build Output> - Outputs from the build.
- build
Run List<BuildProgresses Run Build Run Progress> - The run progress details of a build run.
- build
Run List<BuildSources Run Build Run Source> - The source from which the build run is triggered.
- compartment
Id String - The OCID of the compartment where the build is running.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the build run.
- 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"}
- time
Created String - The time the build run was created. Format defined by RFC3339.
- time
Updated String - The time the build run was updated. Format defined by RFC3339.
- build
Outputs BuildRun Build Output[] - Outputs from the build.
- build
Run BuildProgresses Run Build Run Progress[] - The run progress details of a build run.
- build
Run BuildSources Run Build Run Source[] - The source from which the build run is triggered.
- compartment
Id string - The OCID of the compartment where the build is running.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id string - The OCID of the DevOps project.
- state string
- The current state of the build run.
- {[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"}
- time
Created string - The time the build run was created. Format defined by RFC3339.
- time
Updated string - The time the build run was updated. Format defined by RFC3339.
- build_
outputs Sequence[devops.Build Run Build Output] - Outputs from the build.
- build_
run_ Sequence[devops.progresses Build Run Build Run Progress] - The run progress details of a build run.
- build_
run_ Sequence[devops.sources Build Run Build Run Source] - The source from which the build run is triggered.
- compartment_
id str - The OCID of the compartment where the build is running.
- id str
- The provider-assigned unique ID for this managed resource.
- 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 - The OCID of the DevOps project.
- state str
- The current state of the build run.
- 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.
- build
Outputs List<Property Map> - Outputs from the build.
- build
Run List<Property Map>Progresses - The run progress details of a build run.
- build
Run List<Property Map>Sources - The source from which the build run is triggered.
- compartment
Id String - The OCID of the compartment where the build is running.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the build run.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the build run was created. Format defined by RFC3339.
- time
Updated String - The time the build run was updated. Format defined by RFC3339.
Look up Existing BuildRun Resource
Get an existing BuildRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BuildRunState, opts?: CustomResourceOptions): BuildRun
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
build_outputs: Optional[Sequence[_devops.BuildRunBuildOutputArgs]] = None,
build_pipeline_id: Optional[str] = None,
build_run_arguments: Optional[_devops.BuildRunBuildRunArgumentsArgs] = None,
build_run_progresses: Optional[Sequence[_devops.BuildRunBuildRunProgressArgs]] = None,
build_run_sources: Optional[Sequence[_devops.BuildRunBuildRunSourceArgs]] = None,
commit_info: Optional[_devops.BuildRunCommitInfoArgs] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
project_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> BuildRun
func GetBuildRun(ctx *Context, name string, id IDInput, state *BuildRunState, opts ...ResourceOption) (*BuildRun, error)
public static BuildRun Get(string name, Input<string> id, BuildRunState? state, CustomResourceOptions? opts = null)
public static BuildRun get(String name, Output<String> id, BuildRunState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Build
Outputs List<BuildRun Build Output> - Outputs from the build.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- Build
Run List<BuildProgresses Run Build Run Progress> - The run progress details of a build run.
- Build
Run List<BuildSources Run Build Run Source> - The source from which the build run is triggered.
- Commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- Compartment
Id string - The OCID of the compartment where the build is running.
- Dictionary<string, string>
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Dictionary<string, string>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Lifecycle
Details 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the build run.
- 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"}
- Time
Created string - The time the build run was created. Format defined by RFC3339.
- Time
Updated string - The time the build run was updated. Format defined by RFC3339.
- Build
Outputs []BuildRun Build Output Args - Outputs from the build.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Run BuildArguments Run Build Run Arguments Args - Specifies list of arguments passed along with the build run.
- Build
Run []BuildProgresses Run Build Run Progress Args - The run progress details of a build run.
- Build
Run []BuildSources Run Build Run Source Args - The source from which the build run is triggered.
- Commit
Info BuildRun Commit Info Args - Commit details that need to be used for the build run.
- Compartment
Id string - The OCID of the compartment where the build is running.
- map[string]string
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- map[string]string
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Lifecycle
Details 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the build run.
- 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"}
- Time
Created string - The time the build run was created. Format defined by RFC3339.
- Time
Updated string - The time the build run was updated. Format defined by RFC3339.
- build
Outputs List<BuildRun Build Output> - Outputs from the build.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- build
Run List<BuildProgresses Run Build Run Progress> - The run progress details of a build run.
- build
Run List<BuildSources Run Build Run Source> - The source from which the build run is triggered.
- commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- compartment
Id String - The OCID of the compartment where the build is running.
- Map<String,String>
- (Updatable) 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 String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String,String>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- lifecycle
Details 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the build run.
- 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"}
- time
Created String - The time the build run was created. Format defined by RFC3339.
- time
Updated String - The time the build run was updated. Format defined by RFC3339.
- build
Outputs BuildRun Build Output[] - Outputs from the build.
- build
Pipeline stringId - The OCID of the build pipeline.
- build
Run BuildArguments Run Build Run Arguments - Specifies list of arguments passed along with the build run.
- build
Run BuildProgresses Run Build Run Progress[] - The run progress details of a build run.
- build
Run BuildSources Run Build Run Source[] - The source from which the build run is triggered.
- commit
Info BuildRun Commit Info - Commit details that need to be used for the build run.
- compartment
Id string - The OCID of the compartment where the build is running.
- {[key: string]: string}
- (Updatable) 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 string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- {[key: string]: string}
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- lifecycle
Details 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.
- project
Id string - The OCID of the DevOps project.
- state string
- The current state of the build run.
- {[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"}
- time
Created string - The time the build run was created. Format defined by RFC3339.
- time
Updated string - The time the build run was updated. Format defined by RFC3339.
- build_
outputs Sequence[devops.Build Run Build Output Args] - Outputs from the build.
- build_
pipeline_ strid - The OCID of the build pipeline.
- build_
run_ devops.arguments Build Run Build Run Arguments Args - Specifies list of arguments passed along with the build run.
- build_
run_ Sequence[devops.progresses Build Run Build Run Progress Args] - The run progress details of a build run.
- build_
run_ Sequence[devops.sources Build Run Build Run Source Args] - The source from which the build run is triggered.
- commit_
info devops.Build Run Commit Info Args - Commit details that need to be used for the build run.
- compartment_
id str - The OCID of the compartment where the build is running.
- Mapping[str, str]
- (Updatable) 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 - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Mapping[str, str]
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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 - The OCID of the DevOps project.
- state str
- The current state of the build run.
- 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.
- build
Outputs List<Property Map> - Outputs from the build.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Run Property MapArguments - Specifies list of arguments passed along with the build run.
- build
Run List<Property Map>Progresses - The run progress details of a build run.
- build
Run List<Property Map>Sources - The source from which the build run is triggered.
- commit
Info Property Map - Commit details that need to be used for the build run.
- compartment
Id String - The OCID of the compartment where the build is running.
- Map<String>
- (Updatable) 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 String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String>
(Updatable) 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"}
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- lifecycle
Details 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the build run.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the build run was created. Format defined by RFC3339.
- time
Updated String - The time the build run was updated. Format defined by RFC3339.
Supporting Types
BuildRunBuildOutput, BuildRunBuildOutputArgs
- Artifact
Override List<BuildParameters Run Build Output Artifact Override Parameter> - Specifies the list of artifact override arguments at the time of deployment.
- Delivered
Artifacts List<BuildRun Build Output Delivered Artifact> - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- Exported
Variables List<BuildRun Build Output Exported Variable> - Specifies list of exported variables.
- Vulnerability
Audit List<BuildSummary Collections Run Build Output Vulnerability Audit Summary Collection> - List of vulnerability audit summary.
- Artifact
Override []BuildParameters Run Build Output Artifact Override Parameter - Specifies the list of artifact override arguments at the time of deployment.
- Delivered
Artifacts []BuildRun Build Output Delivered Artifact - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- Exported
Variables []BuildRun Build Output Exported Variable - Specifies list of exported variables.
- Vulnerability
Audit []BuildSummary Collections Run Build Output Vulnerability Audit Summary Collection - List of vulnerability audit summary.
- artifact
Override List<BuildParameters Run Build Output Artifact Override Parameter> - Specifies the list of artifact override arguments at the time of deployment.
- delivered
Artifacts List<BuildRun Build Output Delivered Artifact> - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- exported
Variables List<BuildRun Build Output Exported Variable> - Specifies list of exported variables.
- vulnerability
Audit List<BuildSummary Collections Run Build Output Vulnerability Audit Summary Collection> - List of vulnerability audit summary.
- artifact
Override BuildParameters Run Build Output Artifact Override Parameter[] - Specifies the list of artifact override arguments at the time of deployment.
- delivered
Artifacts BuildRun Build Output Delivered Artifact[] - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- exported
Variables BuildRun Build Output Exported Variable[] - Specifies list of exported variables.
- vulnerability
Audit BuildSummary Collections Run Build Output Vulnerability Audit Summary Collection[] - List of vulnerability audit summary.
- artifact_
override_ Sequence[devops.parameters Build Run Build Output Artifact Override Parameter] - Specifies the list of artifact override arguments at the time of deployment.
- delivered_
artifacts Sequence[devops.Build Run Build Output Delivered Artifact] - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- exported_
variables Sequence[devops.Build Run Build Output Exported Variable] - Specifies list of exported variables.
- vulnerability_
audit_ Sequence[devops.summary_ collections Build Run Build Output Vulnerability Audit Summary Collection] - List of vulnerability audit summary.
- artifact
Override List<Property Map>Parameters - Specifies the list of artifact override arguments at the time of deployment.
- delivered
Artifacts List<Property Map> - Specifies the list of artifacts delivered through the Deliver Artifacts stage.
- exported
Variables List<Property Map> - Specifies list of exported variables.
- vulnerability
Audit List<Property Map>Summary Collections - List of vulnerability audit summary.
BuildRunBuildOutputArtifactOverrideParameter, BuildRunBuildOutputArtifactOverrideParameterArgs
- Items
List<Build
Run Build Output Artifact Override Parameter Item> - List of exported variables.
- Items
[]Build
Run Build Output Artifact Override Parameter Item - List of exported variables.
- items
List<Build
Run Build Output Artifact Override Parameter Item> - List of exported variables.
- items
Build
Run Build Output Artifact Override Parameter Item[] - List of exported variables.
- items
Sequence[devops.
Build Run Build Output Artifact Override Parameter Item] - List of exported variables.
- items List<Property Map>
- List of exported variables.
BuildRunBuildOutputArtifactOverrideParameterItem, BuildRunBuildOutputArtifactOverrideParameterItemArgs
- Deploy
Artifact stringId - The OCID of the deployment artifact definition.
- Name string
- Name of the step.
- Value string
- Value of the argument.
- Deploy
Artifact stringId - The OCID of the deployment artifact definition.
- Name string
- Name of the step.
- Value string
- Value of the argument.
- deploy
Artifact StringId - The OCID of the deployment artifact definition.
- name String
- Name of the step.
- value String
- Value of the argument.
- deploy
Artifact stringId - The OCID of the deployment artifact definition.
- name string
- Name of the step.
- value string
- Value of the argument.
- deploy_
artifact_ strid - The OCID of the deployment artifact definition.
- name str
- Name of the step.
- value str
- Value of the argument.
- deploy
Artifact StringId - The OCID of the deployment artifact definition.
- name String
- Name of the step.
- value String
- Value of the argument.
BuildRunBuildOutputDeliveredArtifact, BuildRunBuildOutputDeliveredArtifactArgs
- Items
List<Build
Run Build Output Delivered Artifact Item> - List of exported variables.
- Items
[]Build
Run Build Output Delivered Artifact Item - List of exported variables.
- items
List<Build
Run Build Output Delivered Artifact Item> - List of exported variables.
- items
Build
Run Build Output Delivered Artifact Item[] - List of exported variables.
- items
Sequence[devops.
Build Run Build Output Delivered Artifact Item] - List of exported variables.
- items List<Property Map>
- List of exported variables.
BuildRunBuildOutputDeliveredArtifactItem, BuildRunBuildOutputDeliveredArtifactItemArgs
- Artifact
Repository stringId - The OCID of the artifact registry repository used by the DeliverArtifactStage
- Artifact
Type string - Type of artifact delivered.
- Delivered
Artifact stringHash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- Delivered
Artifact stringId - The OCID of the artifact pushed by the Deliver Artifacts stage.
- Deploy
Artifact stringId - The OCID of the deployment artifact definition.
- Image
Uri string - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- Output
Artifact stringName - Name of the output artifact defined in the build specification file.
- Path string
- Path of the repository where artifact was pushed
- Version string
- Version of the artifact pushed
- Artifact
Repository stringId - The OCID of the artifact registry repository used by the DeliverArtifactStage
- Artifact
Type string - Type of artifact delivered.
- Delivered
Artifact stringHash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- Delivered
Artifact stringId - The OCID of the artifact pushed by the Deliver Artifacts stage.
- Deploy
Artifact stringId - The OCID of the deployment artifact definition.
- Image
Uri string - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- Output
Artifact stringName - Name of the output artifact defined in the build specification file.
- Path string
- Path of the repository where artifact was pushed
- Version string
- Version of the artifact pushed
- artifact
Repository StringId - The OCID of the artifact registry repository used by the DeliverArtifactStage
- artifact
Type String - Type of artifact delivered.
- delivered
Artifact StringHash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- delivered
Artifact StringId - The OCID of the artifact pushed by the Deliver Artifacts stage.
- deploy
Artifact StringId - The OCID of the deployment artifact definition.
- image
Uri String - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- output
Artifact StringName - Name of the output artifact defined in the build specification file.
- path String
- Path of the repository where artifact was pushed
- version String
- Version of the artifact pushed
- artifact
Repository stringId - The OCID of the artifact registry repository used by the DeliverArtifactStage
- artifact
Type string - Type of artifact delivered.
- delivered
Artifact stringHash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- delivered
Artifact stringId - The OCID of the artifact pushed by the Deliver Artifacts stage.
- deploy
Artifact stringId - The OCID of the deployment artifact definition.
- image
Uri string - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- output
Artifact stringName - Name of the output artifact defined in the build specification file.
- path string
- Path of the repository where artifact was pushed
- version string
- Version of the artifact pushed
- artifact_
repository_ strid - The OCID of the artifact registry repository used by the DeliverArtifactStage
- artifact_
type str - Type of artifact delivered.
- delivered_
artifact_ strhash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- delivered_
artifact_ strid - The OCID of the artifact pushed by the Deliver Artifacts stage.
- deploy_
artifact_ strid - The OCID of the deployment artifact definition.
- image_
uri str - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- output_
artifact_ strname - Name of the output artifact defined in the build specification file.
- path str
- Path of the repository where artifact was pushed
- version str
- Version of the artifact pushed
- artifact
Repository StringId - The OCID of the artifact registry repository used by the DeliverArtifactStage
- artifact
Type String - Type of artifact delivered.
- delivered
Artifact StringHash - The hash of the container registry artifact pushed by the Deliver Artifacts stage.
- delivered
Artifact StringId - The OCID of the artifact pushed by the Deliver Artifacts stage.
- deploy
Artifact StringId - The OCID of the deployment artifact definition.
- image
Uri String - The imageUri of the OCIR artifact pushed by the DeliverArtifactStage
- output
Artifact StringName - Name of the output artifact defined in the build specification file.
- path String
- Path of the repository where artifact was pushed
- version String
- Version of the artifact pushed
BuildRunBuildOutputExportedVariable, BuildRunBuildOutputExportedVariableArgs
- Items
List<Build
Run Build Output Exported Variable Item> - List of exported variables.
- Items
[]Build
Run Build Output Exported Variable Item - List of exported variables.
- items
List<Build
Run Build Output Exported Variable Item> - List of exported variables.
- items
Build
Run Build Output Exported Variable Item[] - List of exported variables.
- items
Sequence[devops.
Build Run Build Output Exported Variable Item] - List of exported variables.
- items List<Property Map>
- List of exported variables.
BuildRunBuildOutputExportedVariableItem, BuildRunBuildOutputExportedVariableItemArgs
BuildRunBuildOutputVulnerabilityAuditSummaryCollection, BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs
- Items
List<Build
Run Build Output Vulnerability Audit Summary Collection Item> - List of exported variables.
- Items
[]Build
Run Build Output Vulnerability Audit Summary Collection Item - List of exported variables.
- items
List<Build
Run Build Output Vulnerability Audit Summary Collection Item> - List of exported variables.
- items
Build
Run Build Output Vulnerability Audit Summary Collection Item[] - List of exported variables.
- items
Sequence[devops.
Build Run Build Output Vulnerability Audit Summary Collection Item] - List of exported variables.
- items List<Property Map>
- List of exported variables.
BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItem, BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs
- Build
Stage stringId - Build stage OCID where scan was configured.
- Commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- Vulnerability
Audit stringId - The OCID of the vulnerability audit.
- Build
Stage stringId - Build stage OCID where scan was configured.
- Commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- Vulnerability
Audit stringId - The OCID of the vulnerability audit.
- build
Stage StringId - Build stage OCID where scan was configured.
- commit
Hash String - Commit hash pertinent to the repository URL and the specified branch.
- vulnerability
Audit StringId - The OCID of the vulnerability audit.
- build
Stage stringId - Build stage OCID where scan was configured.
- commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- vulnerability
Audit stringId - The OCID of the vulnerability audit.
- build_
stage_ strid - Build stage OCID where scan was configured.
- commit_
hash str - Commit hash pertinent to the repository URL and the specified branch.
- vulnerability_
audit_ strid - The OCID of the vulnerability audit.
- build
Stage StringId - Build stage OCID where scan was configured.
- commit
Hash String - Commit hash pertinent to the repository URL and the specified branch.
- vulnerability
Audit StringId - The OCID of the vulnerability audit.
BuildRunBuildRunArguments, BuildRunBuildRunArgumentsArgs
- Items
List<Build
Run Build Run Arguments Item> - List of arguments provided at the time of running the build.
- Items
[]Build
Run Build Run Arguments Item - List of arguments provided at the time of running the build.
- items
List<Build
Run Build Run Arguments Item> - List of arguments provided at the time of running the build.
- items
Build
Run Build Run Arguments Item[] - List of arguments provided at the time of running the build.
- items
Sequence[devops.
Build Run Build Run Arguments Item] - List of arguments provided at the time of running the build.
- items List<Property Map>
- List of arguments provided at the time of running the build.
BuildRunBuildRunArgumentsItem, BuildRunBuildRunArgumentsItemArgs
BuildRunBuildRunProgress, BuildRunBuildRunProgressArgs
- Build
Pipeline Dictionary<string, string>Stage Run Progress - Map of stage OCIDs to build pipeline stage run progress model.
- Time
Finished string - The time the build run finished. Format defined by RFC3339.
- Time
Started string - The time the build run started. Format defined by RFC3339.
- Build
Pipeline map[string]stringStage Run Progress - Map of stage OCIDs to build pipeline stage run progress model.
- Time
Finished string - The time the build run finished. Format defined by RFC3339.
- Time
Started string - The time the build run started. Format defined by RFC3339.
- build
Pipeline Map<String,String>Stage Run Progress - Map of stage OCIDs to build pipeline stage run progress model.
- time
Finished String - The time the build run finished. Format defined by RFC3339.
- time
Started String - The time the build run started. Format defined by RFC3339.
- build
Pipeline {[key: string]: string}Stage Run Progress - Map of stage OCIDs to build pipeline stage run progress model.
- time
Finished string - The time the build run finished. Format defined by RFC3339.
- time
Started string - The time the build run started. Format defined by RFC3339.
- build_
pipeline_ Mapping[str, str]stage_ run_ progress - Map of stage OCIDs to build pipeline stage run progress model.
- 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.
- build
Pipeline Map<String>Stage Run Progress - Map of stage OCIDs to build pipeline stage run progress model.
- time
Finished String - The time the build run finished. Format defined by RFC3339.
- time
Started String - The time the build run started. Format defined by RFC3339.
BuildRunBuildRunSource, BuildRunBuildRunSourceArgs
- Repository
Id string - The DevOps code repository identifier that invoked the build run.
- Source
Type string - The source from which the build run is triggered.
- Trigger
Id string - The trigger that invoked the build run.
- Trigger
Infos List<BuildRun Build Run Source Trigger Info> - Trigger details that need to be used for the BuildRun
- Repository
Id string - The DevOps code repository identifier that invoked the build run.
- Source
Type string - The source from which the build run is triggered.
- Trigger
Id string - The trigger that invoked the build run.
- Trigger
Infos []BuildRun Build Run Source Trigger Info - Trigger details that need to be used for the BuildRun
- repository
Id String - The DevOps code repository identifier that invoked the build run.
- source
Type String - The source from which the build run is triggered.
- trigger
Id String - The trigger that invoked the build run.
- trigger
Infos List<BuildRun Build Run Source Trigger Info> - Trigger details that need to be used for the BuildRun
- repository
Id string - The DevOps code repository identifier that invoked the build run.
- source
Type string - The source from which the build run is triggered.
- trigger
Id string - The trigger that invoked the build run.
- trigger
Infos BuildRun Build Run Source Trigger Info[] - 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_
id str - The trigger that invoked the build run.
- trigger_
infos Sequence[devops.Build Run Build Run Source Trigger Info] - Trigger details that need to be used for the BuildRun
- repository
Id String - The DevOps code repository identifier that invoked the build run.
- source
Type String - The source from which the build run is triggered.
- trigger
Id String - The trigger that invoked the build run.
- trigger
Infos List<Property Map> - Trigger details that need to be used for the BuildRun
BuildRunBuildRunSourceTriggerInfo, BuildRunBuildRunSourceTriggerInfoArgs
- Actions
List<Build
Run Build Run Source Trigger Info Action> - The list of actions that are to be performed for this Trigger
- Display
Name string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Actions
[]Build
Run Build Run Source Trigger Info Action - The list of actions that are to be performed for this Trigger
- Display
Name string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- actions
List<Build
Run Build Run Source Trigger Info Action> - The list of actions that are to be performed for this Trigger
- display
Name String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- actions
Build
Run Build Run Source Trigger Info Action[] - The list of actions that are to be performed for this Trigger
- display
Name string - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- actions
Sequence[devops.
Build Run Build Run Source Trigger Info Action] - The list of actions that are to be performed for this Trigger
- display_
name str - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- actions List<Property Map>
- The list of actions that are to be performed for this Trigger
- display
Name String - (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
BuildRunBuildRunSourceTriggerInfoAction, BuildRunBuildRunSourceTriggerInfoActionArgs
- Build
Pipeline stringId - The OCID of the build pipeline.
- Filters
List<Build
Run Build Run Source Trigger Info Action Filter> - Type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Filters
[]Build
Run Build Run Source Trigger Info Action Filter - Type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline StringId - The OCID of the build pipeline.
- filters
List<Build
Run Build Run Source Trigger Info Action Filter> - type String
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline stringId - The OCID of the build pipeline.
- filters
Build
Run Build Run Source Trigger Info Action Filter[] - type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build_
pipeline_ strid - The OCID of the build pipeline.
- filters
Sequence[devops.
Build Run Build Run Source Trigger Info Action Filter] - type str
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline StringId - The OCID of the build pipeline.
- filters List<Property Map>
- type String
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
BuildRunBuildRunSourceTriggerInfoActionFilter, BuildRunBuildRunSourceTriggerInfoActionFilterArgs
- Events List<string>
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- Excludes
List<Build
Run Build Run Source Trigger Info Action Filter Exclude> - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- Includes
List<Build
Run Build Run Source Trigger Info Action Filter Include> - Attributes to filter GitLab self-hosted server events.
- Trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- Events []string
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- Excludes
[]Build
Run Build Run Source Trigger Info Action Filter Exclude - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- Includes
[]Build
Run Build Run Source Trigger Info Action Filter Include - Attributes to filter GitLab self-hosted server events.
- Trigger
Source 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.
- excludes
List<Build
Run Build Run Source Trigger Info Action Filter Exclude> - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
List<Build
Run Build Run Source Trigger Info Action Filter Include> - Attributes to filter GitLab self-hosted server events.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- events string[]
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- excludes
Build
Run Build Run Source Trigger Info Action Filter Exclude[] - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
Build
Run Build Run Source Trigger Info Action Filter Include[] - Attributes to filter GitLab self-hosted server events.
- trigger
Source 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.
- excludes
Sequence[devops.
Build Run Build Run Source Trigger Info Action Filter Exclude] - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
Sequence[devops.
Build Run Build Run Source Trigger Info Action Filter Include] - 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.
- excludes List<Property Map>
- Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes List<Property Map>
- Attributes to filter GitLab self-hosted server events.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
BuildRunBuildRunSourceTriggerInfoActionFilterExclude, BuildRunBuildRunSourceTriggerInfoActionFilterExcludeArgs
- File
Filters List<BuildRun Build Run Source Trigger Info Action Filter Exclude File Filter> - Attributes to support include/exclude files for triggering build runs.
- File
Filters []BuildRun Build Run Source Trigger Info Action Filter Exclude File Filter - Attributes to support include/exclude files for triggering build runs.
- file
Filters List<BuildRun Build Run Source Trigger Info Action Filter Exclude File Filter> - Attributes to support include/exclude files for triggering build runs.
- file
Filters BuildRun Build Run Source Trigger Info Action Filter Exclude File Filter[] - Attributes to support include/exclude files for triggering build runs.
- file_
filters Sequence[devops.Build Run Build Run Source Trigger Info Action Filter Exclude File Filter] - Attributes to support include/exclude files for triggering build runs.
- file
Filters List<Property Map> - Attributes to support include/exclude files for triggering build runs.
BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs
- File
Paths List<string> - The file paths/glob pattern for files.
- File
Paths []string - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
- file
Paths string[] - The file paths/glob pattern for files.
- file_
paths Sequence[str] - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
BuildRunBuildRunSourceTriggerInfoActionFilterInclude, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs
- Base
Ref string - The target branch for pull requests; not applicable for push requests.
- File
Filters List<BuildRun Build Run Source Trigger Info Action Filter Include File Filter> - Attributes to support include/exclude files for triggering build runs.
- Head
Ref string - Branch for push event; source branch for pull requests.
- Repository
Name string - The repository name for trigger events.
- Base
Ref string - The target branch for pull requests; not applicable for push requests.
- File
Filters []BuildRun Build Run Source Trigger Info Action Filter Include File Filter - Attributes to support include/exclude files for triggering build runs.
- Head
Ref string - Branch for push event; source branch for pull requests.
- Repository
Name string - The repository name for trigger events.
- base
Ref String - The target branch for pull requests; not applicable for push requests.
- file
Filters List<BuildRun Build Run Source Trigger Info Action Filter Include File Filter> - Attributes to support include/exclude files for triggering build runs.
- head
Ref String - Branch for push event; source branch for pull requests.
- repository
Name String - The repository name for trigger events.
- base
Ref string - The target branch for pull requests; not applicable for push requests.
- file
Filters BuildRun Build Run Source Trigger Info Action Filter Include File Filter[] - Attributes to support include/exclude files for triggering build runs.
- head
Ref string - Branch for push event; source branch for pull requests.
- repository
Name string - The repository name for trigger events.
- base_
ref str - The target branch for pull requests; not applicable for push requests.
- file_
filters Sequence[devops.Build Run Build Run Source Trigger Info Action Filter Include File Filter] - Attributes to support include/exclude files for triggering build runs.
- head_
ref str - Branch for push event; source branch for pull requests.
- repository_
name str - The repository name for trigger events.
- base
Ref String - The target branch for pull requests; not applicable for push requests.
- file
Filters List<Property Map> - Attributes to support include/exclude files for triggering build runs.
- head
Ref String - Branch for push event; source branch for pull requests.
- repository
Name String - The repository name for trigger events.
BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter, BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs
- File
Paths List<string> - The file paths/glob pattern for files.
- File
Paths []string - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
- file
Paths string[] - The file paths/glob pattern for files.
- file_
paths Sequence[str] - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
BuildRunCommitInfo, BuildRunCommitInfoArgs
- Commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- Repository
Branch string - Name of the repository branch.
- Repository
Url string - Repository URL.
- Commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- Repository
Branch string - Name of the repository branch.
- Repository
Url string - Repository URL.
- commit
Hash String - Commit hash pertinent to the repository URL and the specified branch.
- repository
Branch String - Name of the repository branch.
- repository
Url String - Repository URL.
- commit
Hash string - Commit hash pertinent to the repository URL and the specified branch.
- repository
Branch string - Name of the repository branch.
- repository
Url 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.
- commit
Hash String - Commit hash pertinent to the repository URL and the specified branch.
- repository
Branch String - Name of the repository branch.
- repository
Url String - Repository URL.
Import
BuildRuns can be imported using the id
, e.g.
$ pulumi import oci:DevOps/buildRun:BuildRun test_build_run "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.