Skip to content

Commit dc45f01

Browse files
authored
Minimum changes after update of OL version of oci devops runners (#38)
* Upgraded devops image to ol8 * Don't install java or gradle * Updated java version to 24 and set path. Increased build pipeline timeout.
1 parent f6fd8fe commit dc45f01

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

constants.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33
variable "devops_pipeline_image" {
44
type = string
5-
default = "OL7_X86_64_STANDARD_10"
5+
default = "OL8_X86_64_STANDARD_10"
66
}
77

88
variable "devops_deploy_shape" {

devops.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ resource "oci_devops_build_pipeline_stage" "repo_build_pipeline_stage" {
138138
image = var.devops_pipeline_image
139139
is_pass_all_parameters_enabled = false
140140
primary_build_source = oci_devops_repository.config_repo[0].name
141-
stage_execution_timeout_in_seconds = 300
141+
stage_execution_timeout_in_seconds = 3000
142142
count = local.use-repository ? 1 : 0
143143
}
144144

@@ -173,7 +173,7 @@ resource "oci_devops_build_pipeline_stage" "art_build_pipeline_stage" {
173173
image = var.devops_pipeline_image
174174
is_pass_all_parameters_enabled = false
175175
primary_build_source = oci_devops_repository.config_repo[0].name
176-
stage_execution_timeout_in_seconds = 300
176+
stage_execution_timeout_in_seconds = 3000
177177
count = local.use-artifact ? 1 : 0
178178
}
179179

java/build-repo.yaml.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ steps:
1818
timeoutInSeconds: 600
1919
failImmediatelyOnError: true
2020
command: |
21-
yum --enablerepo=ol7_oci_included clean metadata
22-
yum install -y jdk-17
21+
dnf install -y jdk-24-headful --enablerepo=ol8_oci_included
22+
export PATH=$JAVA_HOME/bin:$PATH
2323
onFailure:
2424
- type: Command
2525
command: |

0 commit comments

Comments
 (0)