Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argoproj/argo-events#1927: event flow diagram not showing Bitbucket eventsource icon #13386

Closed
4 tasks done
shyoon-devops opened this issue Jul 23, 2024 · 0 comments · Fixed by #13387
Closed
4 tasks done

Comments

@shyoon-devops
Copy link
Contributor

shyoon-devops commented Jul 23, 2024

Pre-requisites

  • I have double-checked my configuration
  • I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
  • I have searched existing issues and could not find a match for this bug
  • I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?

References

References argoproj/argo-events#1927

Describe the bug

The workflows are being triggered ok but the event source icon is just missing from the 'event flow' diagram

Version(s)

v3.5.8

EventSource & Sensor

apiVersion: argoproj.io/v1alpha1
kind: EventSource
metadata:
  name: bitbucket
  namespace: argo
spec:
  template:
    serviceAccountName: operate-workflow-sa
  service:
    ports:
      - port: 12000
        targetPort: 12000
  bitbucketserver:
    abc-xxx:
      repositories:
        - projectKey: 'xxx'
          repositorySlug: 'abc-xxx'
      webhook:
        endpoint: /webhook/abc/abc-xxx
        port: '12000'
        method: POST
        url: https://qa-abc.xxx.net
    events:
      - repo:refs_changed
    accessToken:
      name: bitbucketserver-access
      key: token
    webhookSecret:
      name: bitbucketserver-access
      key: secret
    deleteHookOnFinish: true
    bitbucketserverBaseURL: https://bitbucket.xxx.com/rest


apiVersion: argoproj.io/v1alpha1
kind: Sensor
metadata:
  name: xxx-xxx-bitbucket
  namespace: argo
spec:
  template:
    serviceAccountName: operate-workflow-sa
  dependencies:
  - name: bitbucket-dependency
    eventSourceName: bitbucket
    eventName: abc-xxx
    transform:
      jq: ".body"
    filters:
      dataLogicalOperator: "and"
      data:
      - path: "changes.0.ref.type"
        type: "string"
        value:
        - "TAG"
      - path: "changes.0.type"
        type: "string"
        value:
        - "ADD"
  triggers:
  - template:
      name: xxx-xxx-workflow-trigger
      argoWorkflow:
        operation: submit
        source:
          resource:
            apiVersion: argoproj.io/v1alpha1
            kind: Workflow
            metadata:
              generateName: xxx-xxx-
              namespace: argo
            spec:
              workflowTemplateRef:
                name: xxx-xxx-new-template
                clusterScope: true
              arguments:
                parameters:
                - name: git-change-ref-id
                  value: ""
                - name: git-change-display-id
                  value: ""
                - name: git-change-type
                  value: ""
                - name: git-change-user
                  value: ""
        parameters:
        - src:
            dependencyName: bitbucket-dependency
            dataKey: changes.0.ref.id
          dest: spec.arguments.parameters.0.value
        - src:
            dependencyName: bitbucket-dependency
            dataKey: changes.0.ref.displayId
          dest: spec.arguments.parameters.1.value
        - src:
            dependencyName: bitbucket-dependency
            dataKey: changes.0.ref.type
          dest: spec.arguments.parameters.2.value
        - src:
            dependencyName: bitbucket-dependency
            dataKey: actor.name
          dest: spec.arguments.parameters.3.value

Screenshot

image

@shyoon-devops shyoon-devops changed the title References argo-events#1927: event flow diagram not showing eventsource icon References argoproj/argo-events#1927: event flow diagram not showing eventsource icon Jul 23, 2024
@agilgur5 agilgur5 changed the title References argoproj/argo-events#1927: event flow diagram not showing eventsource icon argoproj/argo-events#1927: event flow diagram not showing eventsource icon Jul 23, 2024
@agilgur5 agilgur5 changed the title argoproj/argo-events#1927: event flow diagram not showing eventsource icon argoproj/argo-events#1927: event flow diagram not showing Bitbucket eventsource icon Jul 23, 2024
agilgur5 pushed a commit that referenced this issue Jul 30, 2024
@agilgur5 agilgur5 added this to the v3.5.x patches milestone Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants