Using Github repository and Azure pipeline for my apiops.
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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.

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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla configurazione della pipeline Azure e dal file di estrazione menzionati nell’issue, quindi esamina il comando di clonazione e l’URL mostrata nei log della pipeline. Confronta la configurazione del repository GitHub con l’URL di clonazione generato. Il lavoro è completato quando l’estrazione viene eseguita correttamente da GitHub tramite Azure Pipelines e può creare la pull request.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp, git, powershell
- Ambito
- api, cloud, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100