-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1814 from oracle/release_gh
Releasing version 4.113.0
- Loading branch information
Showing
429 changed files
with
18,403 additions
and
2,917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
examples/devops/build_service/build_pipeline/build_pipeline.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved. | ||
// Licensed under the Mozilla Public License v2.0 | ||
|
||
variable "tenancy_ocid" {} | ||
variable "user_ocid" {} | ||
variable "fingerprint" {} | ||
variable "private_key_path" {} | ||
variable "region" {} | ||
variable "compartment_ocid" {} | ||
|
||
variable "build_pipeline_build_pipeline_parameters_items_default_value" { | ||
default = "defaultValue" | ||
} | ||
|
||
variable "build_pipeline_build_pipeline_parameters_items_description" { | ||
default = "description" | ||
} | ||
|
||
variable "build_pipeline_build_pipeline_parameters_items_name" { | ||
default = "name" | ||
} | ||
|
||
variable "build_pipeline_defined_tags_value" { | ||
default = "value" | ||
} | ||
|
||
variable "build_pipeline_description" { | ||
default = "description" | ||
} | ||
|
||
variable "build_pipeline_display_name" { | ||
default = "displayName" | ||
} | ||
|
||
variable "build_pipeline_freeform_tags" { | ||
default = { "bar-key" = "value" } | ||
} | ||
|
||
variable "build_pipeline_id" { | ||
default = "id" | ||
} | ||
|
||
variable "build_pipeline_state" { | ||
default = "ACTIVE" | ||
} | ||
|
||
|
||
|
||
provider "oci" { | ||
# version = "4.110.0" | ||
tenancy_ocid = var.tenancy_ocid | ||
user_ocid = var.user_ocid | ||
fingerprint = var.fingerprint | ||
private_key_path = var.private_key_path | ||
region = var.region | ||
} | ||
|
||
resource "random_string" "topicname" { | ||
length = 10 | ||
special = false | ||
} | ||
|
||
resource "random_string" "projectname" { | ||
length = 10 | ||
special = false | ||
} | ||
|
||
resource "oci_ons_notification_topic" "test_notification_topic" { | ||
#Required | ||
compartment_id = var.compartment_ocid | ||
name = join("", ["A", random_string.topicname.result]) | ||
} | ||
|
||
resource "oci_devops_project" "test_project" { | ||
#Required | ||
compartment_id = var.compartment_ocid | ||
name = join("", ["A", random_string.projectname.result]) | ||
notification_config { | ||
#Required | ||
topic_id = oci_ons_notification_topic.test_notification_topic.id | ||
} | ||
} | ||
|
||
resource "oci_devops_build_pipeline" "test_build_pipeline" { | ||
#Required | ||
project_id = oci_devops_project.test_project.id | ||
|
||
#Optional | ||
build_pipeline_parameters { | ||
#Required | ||
items { | ||
#Required | ||
default_value = var.build_pipeline_build_pipeline_parameters_items_default_value | ||
name = var.build_pipeline_build_pipeline_parameters_items_name | ||
|
||
#Optional | ||
description = var.build_pipeline_build_pipeline_parameters_items_description | ||
} | ||
} | ||
description = var.build_pipeline_description | ||
display_name = var.build_pipeline_display_name | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.