From c09857cf67380729199626f13b570991f34943b5 Mon Sep 17 00:00:00 2001 From: Ondrej Ezr Date: Thu, 5 Dec 2024 14:14:08 +0100 Subject: [PATCH] Allow customizing the dependency processing method --- README.md | 2 ++ pipelines/basic.yaml | 6 ++++++ pipelines/basic_no_iqe.yaml | 6 ++++++ tasks/deploy.yaml | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 6cfb8b6..54cf882 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ spec: value: # Ibutsu source for the current run. Default is "". - name: DEPLOY_TIMEOUT value: # Deploy timeout. Default is "900" + - name: DEPLOY_OPTIONAL_DEPS_METHOD + value: # Dependecy processing method (https://github.com/redhatinsights/bonfire?tab=readme-ov-file#dependency-processing). Default is "hybrid" - name: IQE_IMAGE_TAG value: # The IQE image used to run tests. Default is "". ``` diff --git a/pipelines/basic.yaml b/pipelines/basic.yaml index 36ea1b9..a6569c5 100644 --- a/pipelines/basic.yaml +++ b/pipelines/basic.yaml @@ -128,6 +128,10 @@ spec: type: string description: "Deploy timeout" default: "900" + - name: DEPLOY_OPTIONAL_DEPS_METHOD + type: string + description: "Method to deploy optional dependencies - see bonfire docs https://github.com/redhatinsights/bonfire?tab=readme-ov-file#dependency-processing" + default: "hybrid" - name: IQE_IMAGE_TAG type: string description: "Tag of the iqe image to run tests from" @@ -202,6 +206,8 @@ spec: value: "$(params.DEPLOY_FRONTENDS)" - name: DEPLOY_TIMEOUT value: "$(params.DEPLOY_TIMEOUT)" + - name: OPTIONAL_DEPS_METHOD + value: "$(params.DEPLOY_OPTIONAL_DEPS_METHOD)" runAfter: - reserve-namespace taskRef: diff --git a/pipelines/basic_no_iqe.yaml b/pipelines/basic_no_iqe.yaml index 6e246b0..769fbda 100644 --- a/pipelines/basic_no_iqe.yaml +++ b/pipelines/basic_no_iqe.yaml @@ -73,6 +73,10 @@ spec: type: string description: "Deploy timeout" default: "900" + - name: DEPLOY_OPTIONAL_DEPS_METHOD + type: string + description: "Method to deploy optional dependencies - see bonfire docs https://github.com/redhatinsights/bonfire?tab=readme-ov-file#dependency-processing" + default: "hybrid" results: - name: ARTIFACTS_URL description: URL for the test's artifacts @@ -143,6 +147,8 @@ spec: value: "$(params.DEPLOY_FRONTENDS)" - name: DEPLOY_TIMEOUT value: "$(params.DEPLOY_TIMEOUT)" + - name: OPTIONAL_DEPS_METHOD + value: "$(params.DEPLOY_OPTIONAL_DEPS_METHOD)" runAfter: - reserve-namespace taskRef: diff --git a/tasks/deploy.yaml b/tasks/deploy.yaml index 836281a..bbede59 100644 --- a/tasks/deploy.yaml +++ b/tasks/deploy.yaml @@ -53,6 +53,10 @@ spec: type: string description: "Deploy timeout" default: "900" + - name: OPTIONAL_DEPS_METHOD + type: string + description: "Method to install optional dependencies - see bonfire docs" + default: "hybrid" steps: - name: deploy-application image: "$(params.BONFIRE_IMAGE)"