Skip to content

integrations/harbor fix username variable

What does this MR do and why?

Habor robot account use the syntax robot$<project>+<username>. If your harbor integration a robot account, it is not possible to use hte $HARBOR_USERNAME varaible.

Also the documentation refers to the varaible $HARBOR_USER, which doesn't exist.

I can try to had a spec test if you want.

Screenshots or screen recordings

Actually: Screenshot_2022-06-01_at_20-51-18_test___1____Jobs___GitLab_Instance___Test___GitLab

After the patch Screenshot_2022-06-01_at_20-52-11_test___2____Jobs___GitLab_Instance___Test___GitLab

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Steffy Fort

Merge request reports