From b806ca7f1fa78b258115186c8b1d35dbe79f3f3a Mon Sep 17 00:00:00 2001 From: Mykola Morhun Date: Thu, 4 Apr 2024 14:29:46 +0300 Subject: [PATCH] Properly handle GitLab merge request event in RHTAP pipeline (#921) --- pipelines/docker-build-rhtap/patch.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelines/docker-build-rhtap/patch.yaml b/pipelines/docker-build-rhtap/patch.yaml index 36e7df74fc..460d45bc59 100644 --- a/pipelines/docker-build-rhtap/patch.yaml +++ b/pipelines/docker-build-rhtap/patch.yaml @@ -133,9 +133,9 @@ runAfter: - update-deployment when: - - input: "pull_request" + - input: "$(params.event-type)" operator: notin - values: ["$(params.event-type)"] + values: ["pull_request", "Merge Request"] taskRef: kind: Task name: acs-deploy-check @@ -153,9 +153,9 @@ runAfter: - build-container when: - - input: "pull_request" + - input: "$(params.event-type)" operator: notin - values: ["$(params.event-type)"] + values: ["pull_request", "Merge Request"] taskRef: kind: Task name: update-deployment