apiops icon indicating copy to clipboard operation
apiops copied to clipboard

Using Github repository and Azure pipeline for my apiops.

Open Smartware opened this issue 1 year ago • 1 comments

Release version

APIops toolkits for Azure APIM v6.0.1

Describe the bug

I am trying to host my pipeline file in github repository and deploy it using azure pipeline. So I made use of the configuration file for azure pipeline instead. However, I cannot create my pull request after my extraction file has ran successfully. I will provide the first error screenshot I got. WhatsApp Image 2024-08-10 at 08 11 14_7cf6a304 That is the first error I got So I decided to modify the extraction file to be able to create the pull request using the github repo but i came across another error.

Cloning into 'D:\a_temp\artifacts-from-portal'... fatal: unable to access 'https://github.com/Litera-Dev /Litera.DevOps.APIOpsTesting.git/': URL rejected: Malformed input to a URL function d---- 8/10/2024 9:31 AM artifacts-from-portal Cloning branch main in repository Litera.DevOps.APIOpsTesting... Clone URL is https://oauth2:*@github.com/Litera-Dev /Litera.DevOps.APIOpsTesting.git Cloning branch main in repository Litera.DevOps.APIOpsTesting failed. At D:\a_temp\27d8413b-a45c-4d7c-96a0-df53ee6395a4.ps1:27 char:28

  • … DE -ne 0) { throw "Cloning branch $sourceBranch in repository $github …
  •           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : OperationStopped: (Cloning branch main…IOpsTesting failed.:String) [], RuntimeException
  • FullyQualifiedErrorId : Cloning branch main in repository Litera.DevOps.APIOpsTesting failed. ##[debug]Exit code: 1 ##[debug]Leaving Invoke-VstsTool. ##[error]PowerShell exited with code '1'.

This is the second error I came across, please do you have an idea on how i can go about this issue or maybe another file or version I could use to achieve my goal

Expected behavior

Maybe a suggestion that will help.

Actual behavior

If you have an extraction file that could help me use the github repo and azure pipeline and also create my pull request without any issues.

Reproduction Steps

Non for now

Smartware avatar Aug 10 '24 23:08 Smartware

  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.

github-actions[bot] avatar Aug 10 '24 23:08 github-actions[bot]