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

Can't update status PR for Gitlab #50

Open
ntqp97 opened this issue Mar 13, 2024 · 4 comments
Open

Can't update status PR for Gitlab #50

ntqp97 opened this issue Mar 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ntqp97
Copy link

ntqp97 commented Mar 13, 2024

If many workflows run for the same PR, the status of the pipeline always stops Running. And cannot update the final result. Even though onExit was run successfully. Below is how I setup the hook for Argo Workflow

hooks:
  running:
    arguments:
      parameters:
      - name: repo_name
        value: ""
      - name: repo_namespace
        value: ""
      - name: pr_id
        value: ""
      - name: step
        value: test
    expression: workflow.status == "Running"
    template: send-notification-git
  exit:
    arguments:
      parameters:
      - name: repo_name
        value: ""
      - name: repo_namespace
        value: ""
      - name: pr_id
        value: ""
      - name: step
        value: test
    template: send-notification-git
`
    
    
@LinuxSuRen LinuxSuRen added the bug Something isn't working label Mar 13, 2024
@LinuxSuRen
Copy link
Owner

Thanks for reporting this issue. I will try to fix it.

@ntqp97
Copy link
Author

ntqp97 commented Mar 13, 2024

@LinuxSuRen It seems that this error is caused when a new commit is added to the branch creating a PR

@LinuxSuRen
Copy link
Owner

Do you have any idea to fix it?

@ntqp97
Copy link
Author

ntqp97 commented Mar 13, 2024

@LinuxSuRen I will test more cases about this issue. If I have more information I will comment on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants