Bug 1881541 - Adding trigger fails if pipeline has a workspace
Summary: Adding trigger fails if pipeline has a workspace
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.6.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-22 16:31 UTC by Christoph Jerolimov
Modified: 2020-10-27 16:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:44:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Adding trigger doesn't fails if pipeline has a workspace-1 (57.67 KB, image/png)
2020-10-06 22:06 UTC, spathak@redhat.com
no flags Details
Adding trigger doesn't fails if pipeline has a workspace-2 (93.58 KB, image/png)
2020-10-06 22:06 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6711 0 None closed Bug 1881541: Add pipeline workspace section also to Add Trigger modal 2020-10-06 22:05:17 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:44:42 UTC

Description Christoph Jerolimov 2020-09-22 16:31:28 UTC
Description of problem:
If a pipeline has workspaces, user can configure the workspaces on the start modal, but not when adding a trigger to the pipeline. Hence it is impossible for the user to configure triggers for such pipelines.

Version-Release number of selected component (if applicable):
OpenShift Pipelines Operator 1.1.1

How reproducible:
Always

Steps to Reproduce:
1. Add a pipeline that has a workspace
2. Add a trigger to the pipeline
3. Configure a git repo with the trigger webhook link
4. Make a change in the git repo to trigger the pipeline

Actual results:
PipelineRun fails immediately with an error saying no workspace is configured

Expected results:
PipelineRun runs successfully using the workspace configuration provided during add triggers

Additional info:
None

Comment 2 spathak@redhat.com 2020-10-06 22:06:05 UTC
Created attachment 1719506 [details]
Adding trigger doesn't fails if pipeline has a workspace-1

Comment 3 spathak@redhat.com 2020-10-06 22:06:28 UTC
Created attachment 1719507 [details]
Adding trigger doesn't fails if pipeline has a workspace-2

Comment 4 spathak@redhat.com 2020-10-06 22:06:56 UTC
Verified on build version: 4.6.0-0.nightly-2020-10-03-051134
Browser version: chrome 84

Comment 6 errata-xmlrpc 2020-10-27 16:44:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196


Note You need to log in before you can comment on or make changes to this bug.