Skip to content

Commit

Permalink
Release 4.5.2 (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisVQ authored Jun 25, 2024
1 parent 40bb7f1 commit b30f6f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
### Fixed
* Fix Tailor deployment drifts for D, Q envs ([#1055](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1055))

## [4.5.2] - 2024-06-25

### Fixed
* Fix to generate TIR information in QA and PROD for helm components ([#1133](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1133))

## [4.5.1] - 2024-06-19

### Fixed
Expand Down
13 changes: 10 additions & 3 deletions src/org/ods/orchestration/phases/DeployOdsComponent.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,27 @@ class DeployOdsComponent {
applyTemplates(openShiftDir, deploymentMean)

def retries = project.environmentConfig?.openshiftRolloutTimeoutRetries ?: 10
def podData = null
for (def i = 0; i < retries; i++) {
def podData = os.checkForPodData(project.targetProject, deploymentMean.selector)
podData = os.checkForPodData(project.targetProject, deploymentMean.selector, deploymentName)
if (podData) {
return podData
break
}
steps.echo("Could not find 'running' pod(s) with label '${deploymentMean.selector}' - waiting")
steps.sleep(12)
}

if (!podData) {
throw new RuntimeException("Could not find 'running' pod(s) with label " +
"'${deploymentMean.selector}'")
}

// TODO: Once the orchestration pipeline can deal with multiple replicas,
// update this to deal with multiple pods.
def pod = podData[0].toMap()

verifyImageShas(deployment, pod.containers)
// TODO verifyImageShas doesn't work properly
//verifyImageShas(deployment, pod.containers)
repo.data.openshift.deployments << [(deploymentName): pod]
def deploymentMeanKey = deploymentName + '-deploymentMean'
repo.data.openshift.deployments << [(deploymentMeanKey): deploymentMean]
Expand Down

0 comments on commit b30f6f1

Please sign in to comment.