Closed nigelhorne closed 4 years ago
Please share your azure-pipelines.yml
here.
Also, can you point me to your repo that's using this?
Here is the azure-pipelines.yml - straight from your readme:
resources:
repositories:
- repository: ci-perl-helpers
type: github
name: houseabsolute/ci-perl-helpers
endpoint: houseabsolute/ci-perl-helpers
stages:
- template: templates/build.yml@ci-perl-helpers
- template: templates/linux.yml@ci-perl-helpers
parameters:
test_xt: true
use_default_perls: true
- template: templates/macos.yml@ci-perl-helpers
parameters:
use_default_perls: true
- template: templates/windows.yml@ci-perl-helpers
parameters:
use_default_perls: true
The repo is at https://github.com/nigelhorne/CGI-Info.git
Did you follow the instructions in the ci-perl-helpers README.md about setting up a service connection in Azure Pipelines first? And if so, did you name it "houseabsolute/ci-perl-helpers"? The name you use in the web UI when you set it up needs to match the value of resources.repositories[0].endpoint
in your YAML.
I really hate this part of Azure Pipelines. Honestly, it's enough to make me consider moving this to GH Actions.
That'll be it - thanks. I saw the "it can be anything you want" comment and did that. Now to see if I can force a run - my git push didn't do that. Anyway thanks for your help.
Cool, glad you got it fixed. Please let me know if you have any other issues.
Thanks for the contribution - it should be very helpful. However when I use your YAML file, I get this error:
Repository ci-perl-helpers references endpoint houseabsolute/ci-perl-helpers which does not exist or is not authorized for use
Any suggestions?