houseabsolute / ci-perl-helpers

Makes comprehensive testing of Perl projects in Azure Pipelines trivial
16 stars 1 forks source link

Fails #18

Closed nigelhorne closed 4 years ago

nigelhorne commented 4 years ago

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?

autarch commented 4 years ago

Please share your azure-pipelines.yml here.

autarch commented 4 years ago

Also, can you point me to your repo that's using this?

nigelhorne commented 4 years ago

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
nigelhorne commented 4 years ago

The repo is at https://github.com/nigelhorne/CGI-Info.git

autarch commented 4 years ago

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.

nigelhorne commented 4 years ago

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.

autarch commented 4 years ago

Cool, glad you got it fixed. Please let me know if you have any other issues.