Skip to content

Commit

Permalink
added condition for ods-infra components in orchestration deploy stage (
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisVQ committed Feb 20, 2024
1 parent 67b61e4 commit 1f56efe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Fix documentation refers to qs with prefix infra- however there are only inf- quickstarters ([#1060](https://github.com/opendevstack/ods-jenkins-shared-library/issues/1060))
* Fix Tailor deployment drifts for D, Q envs ([#1055](https://github.com/opendevstack/ods-jenkins-shared-library/pull/1055))
* Aqua scanner and Helm deployment conflict fix for jenkins shared library ([#1067](https://github.com/opendevstack/ods-jenkins-shared-library/issues/1067))
* Fix ods-infra components require OpenShift projects in Deploy stage ([#1047](https://github.com/opendevstack/ods-jenkins-shared-library/issues/1047))

## [4.3.3] - 2023-11-07

Expand Down
4 changes: 3 additions & 1 deletion src/org/ods/orchestration/DeployStage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ class DeployStage extends Stage {
def targetEnvironment = project.buildParams.targetEnvironment
def targetProject = project.targetProject
def installableRepos = this.project.repositories.findAll { repo ->
MROPipelineUtil.PipelineConfig.INSTALLABLE_REPO_TYPES.contains(repo.type)
if (repo.type?.toLowerCase() != MROPipelineUtil.PipelineConfig.REPO_TYPE_ODS_INFRA){
MROPipelineUtil.PipelineConfig.INSTALLABLE_REPO_TYPES.contains(repo.type)
}
}
logger.info("Deploying project '${project.key}' into environment '${targetEnvironment}'" +
" installable repos? ${installableRepos.size()}")
Expand Down

0 comments on commit 1f56efe

Please sign in to comment.