Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7027

The 'image Build failed' event will send notification twice to Red Hat Quay Notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • quay-v3.11.0
    • quay-ui
    • None
    • False
    • None
    • False
    • 0

      Description of problem:

      When set a notification by Red Hat Quay Notification method for 'image Build failed' event, after trigger a failed build process,  will get two failed message in web page notification list. 

      Version-Release number of selected component (if applicable):

      quay-operator-bundle-container-v3.11.1-10
      ------------------------------
      $ oc get $(oc get pod -l name=quay-operator-alm-owned -o name -n quay-enterprise) -o jsonpath='{.spec.containers[0].image}' -n quay-enterprise
      registry.redhat.io/quay/quay-operator-rhel8@sha256:a3a2171448b30385700e6f64633016abfb5dc331849a91cdc354405a32eb444c
      ------------------------------
      $ oc get $(oc get pod -l app=quay -o NAME -n quay-enterprise|head -n 1) -o jsonpath='{.spec.containers[0].image}' -n quay-enterprise
      registry.redhat.io/quay/quay-rhel8@sha256:969ae5e167b59ef6cbeb0366be1d1bd94850285094fc5e7d0ca6e25464d3b5b2
      ------------------------------ 

      How reproducible:

      1 Configure a notification by Red Hat Quay Notification method for 'image Build failed' event under a repository.

      The notification settings for build failed event

      2. Trigger a failed build process

      3. Check the notifications displayed in quay notification tab.

       

      Actual results:

      In quay web page, there are two failed message.

      The notification settings for build failed event

      Expected results

      One build failed event should send one failed message to quay notification tab. 

      Additional info:

      There is only one failed message received by e-mail, webhook and slack. 

       

            Unassigned Unassigned
            rhwhu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: