appveyor.yml ignored in githubg repositry

Stefan Bodewig's Avatar

Stefan Bodewig

23 Jan, 2022 11:52 AM

Hi

there's bee a period of about a year where I didn't push anything to XMLUnit.NET at github and sometime in the meantime something must have changed as the repository's appveyor.yml started to be ignored.

https://ci.appveyor.com/project/bodewig/xmlunit-net/builds/36280326 is the last build that used appveyor.yml from the repo, https://ci.appveyor.com/project/bodewig/xmlunit-net/builds/41513452 the first one that failed to do so (notable by falling back to a 1.0.{build} version number). Today I started to debug the situation, changed a few things via the UI and finally thought I'd try to use the "alternative appveyor.yml location" route via https://gist.githubusercontent.com/bodewig/258fcc1fa05358a09608f10edef3f226/raw and things started working again.

Given that github repos are supposed to work without this acrobatics I wonder whether maybe I have not granted a permission to appveyor that it may need or what else may have gone wrong. In the end I'd certainly prefer appveyor.yml to be located with the code over having it to sit in a gist where I'm the only person who can change it.

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Jan, 2022 10:30 PM

    Feodor Fitsner's Avatar

    Make sure GitHub is authorized on "New project" page. I see the last build is green - have you managed to fix the issue?

  2. 2 Posted by Stefan Bodewig on 26 Jan, 2022 07:21 PM

    Stefan Bodewig's Avatar

    It currently is green as it is using the gist mentioned in my initial message.

    It used to work and stopped working sometime between November 2020 and November 2021 (I didn't commit to the repo for a year, it didn't feel that long :-)). So either appveyor has lost the authorization or something else has changed. I don't see appveyor as app in the organization's or the repo's settings.

    The only place I've found Appveyor is as Authorized Oauth2 App in my personal account. And under the webhooks of the xmlunit.net repo.

  3. Support Staff 3 Posted by Feodor Fitsner on 26 Jan, 2022 07:22 PM

    Feodor Fitsner's Avatar

    OK, can you see a project's repo on "New project" page?

  4. 4 Posted by Stefan Bodewig on 26 Jan, 2022 07:34 PM

    Stefan Bodewig's Avatar

    It never occurred to me to look there :-)

    There I had two options for setting up the App or an OAuth2 App there and after installing the app to my repository I can see it listed on the new repository page. I'll change the appveyor.yml setting and try to trigger a build via a commit.

  5. 5 Posted by Stefan Bodewig on 26 Jan, 2022 07:42 PM

    Stefan Bodewig's Avatar

    OK, after adding the app via the "new project" page things seem to be working again, many thanks.

    Given that I've lost the app on an existing repository where I must have installed it in the past I just never thought about looking at the "new project" page. Might be a good idea to add this somewhere at the account settings as well.

    Thank you very much.

  6. Support Staff 6 Posted by Feodor Fitsner on 27 Jan, 2022 04:11 AM

    Feodor Fitsner's Avatar

    Thanks for the update!

  7. Feodor Fitsner closed this discussion on 29 Mar, 2022 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac