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

Add support for Azure DevOps Webhook for gitRepos using SSH URL #445

Closed

Conversation

p-se
Copy link
Contributor

@p-se p-se commented Mar 6, 2024

Adapt regexp to match Azure DevOps git URLs although the URL returned from Azure is using HTTPS instead SSH, as configured in the GitRepo resource.

Refers to SURE-7047, #2191

Adapt regexp to match Azure DevOps git URLs although the URL returned from Azure
is using HTTPS instead SSH, as configured in the GitRepo resource.

Refers to SURE-7047, #2191
@p-se p-se requested a review from a team as a code owner March 6, 2024 10:46
Copy link

@thehejik thehejik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I successfully verified this PR on local rancher:2.8.3-rc2 by using my custom built gitjob image thehejik/gitjob:v0.9.3-azure. Fleet app version is fleet:103.1.1+up0.9.1-rc.5 and images are:

thehejik/gitjob:v0.9.3-azure
rancher/fleet:v0.9.1-rc.5
rancher/fleet-agent:v0.9.1-rc.5

I tested:

  • Reproduced Azure SSH + Azure Webhook issue with original rancher/gitjob:v0.9.3 image
  • Azure SSH private repo + Azure Webhook and AUTH
  • Azure HTTPS private repo + Azure Webhook and AUTH
  • Azure HTTPS private repo + Azure Webhook and wrong AUTH - the gitjob wasn't triggered
  • Github SSH private repo + Github Webhook and AUTH - Failing in CI but worked on my env

All went fine. Approving

@p-se
Copy link
Contributor Author

p-se commented Mar 7, 2024

Superseded by #446

@p-se p-se closed this Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants