From f35f23e500a6de75ffd4c4b6d023330bd56a9fe4 Mon Sep 17 00:00:00 2001 From: "Adam D. Cornett" Date: Tue, 16 Jun 2026 14:01:44 -0700 Subject: [PATCH] adding log message for projects that chose undistributed, so it's clearer when their operator isn't released to catalogs Signed-off-by: Adam D. Cornett --- .../pipelines/operator-release-pipeline.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-release-pipeline.yml b/ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-release-pipeline.yml index 479456776..c52e4f542 100644 --- a/ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-release-pipeline.yml +++ b/ansible/roles/operator-pipeline/templates/openshift/pipelines/operator-release-pipeline.yml @@ -685,6 +685,31 @@ spec: finally: + # Log when acquire lease was skipped because the partner chose 'undistributed' in pyxis + - name: log-distribution-skip-notice + when: + - input: "$(tasks.acquire-lease.status)" + operator: in + values: + - "None" + taskSpec: + params: + - name: pipeline_image + type: string + - name: operator-distribution + type: string + steps: + - name: log + image: "$(params.pipeline_image)" + script: | + echo "Operator distribution value: $(params.operator-distribution)" + echo "Operator will not be released to any indexes/catalogs" + params: + - name: pipeline_image + value: "$(params.pipeline_image)" + - name: operator-distribution + value: "$(tasks.get-pyxis-certification-data.results.operator_distribution)" + # Release the acquired resource - name: release-leases taskRef: