WoozyMasta / archimate-ci-image

Archi container image for use in continuous integration pipelines
https://woozymasta.github.io/archimate-ci-image-example/?view=6213
MIT License
40 stars 25 forks source link

Azure DevOps git repository not being recognized #11

Closed fbussolin closed 1 year ago

fbussolin commented 1 year ago

Hello,

My Azure DevOps git repository does not have .git extension in the url and seems like the archimate-ci-image script is enforcing it.

I cannot confirm if that is the issue but my point is:

Note: Azure DevOps is generating url using this pattern.

WoozyMasta commented 1 year ago

@fbussolin Hi, I don't know anything about Azure DevOps, I don't have an account there, and I don't want to get involved with it either.

If someone can fix this, I'll gladly consider such a PR

fbussolin commented 1 year ago

Hi @WoozyMasta , Thank you for your prompt answer! I do not think Azure DevOps is the point here, let's consider just a regular git repository and remove the Azure DevOps from the question.

So it will be: Can the current validation be improved to remove the need to have .git extension in the git repository?

Kind Regards,

WoozyMasta commented 1 year ago

@fbussolin Probably more information is needed, you can run the script in bash -x debug mode and show on which line the error occurs

Are you using ssh? What if we just use https and access token?

WoozyMasta commented 1 year ago

oh, sorry, I was in a hurry, I understand what you mean

LL35C25-L35C32 here should be made an optional .git checkout

and Azure swears if you add .git at the end?

WoozyMasta commented 1 year ago

@fbussolin try to use the code from this try_fix_azure branch, maybe it will be enough and let me know

fbussolin commented 1 year ago

Yes, I think that's correct what you pointed. The url is being generated at company level and I do not have access to modify it.

Here is the console output for me: image