Suggeston: Upload appveyor.yml

shaun_wilde's Avatar

shaun_wilde

16 Apr, 2017 10:51 PM

I have a local appveyor.yml in my repo but I notice it appears out of sync with the hosted settings in appveyor - woudl it be possible to upload my local appveyor.yml file to appveyor and reses/synchronise the two?

Shaun

  1. Support Staff 1 Posted by Ilya Finkelshte... on 17 Apr, 2017 04:35 PM

    Ilya Finkelshteyn's Avatar

    Hi Shaun,

    I afraid there is some misunderstanding here. There is not such thing as hosted appveyor.yml setting. AppVeyour reads settings from appveyor.yml which is in repository before every build. If you have appveyor.yml, it takes over UI, unless you check ignore appveyor.yml or set custom and non-existing YAML file name in UI. Another possible issue is if you chose repository type Git instead of GitHub or BitBucket, because generic Git cannot read individual files from repo. More information is here

    Ilya.

  2. 2 Posted by shaun_wilde on 18 Apr, 2017 06:06 AM

    shaun_wilde's Avatar

    Hi Ilya

    What I mean is to reset the UI settings with the updated appveyor.yml so that all the UI settings are replaced by their equivalents in the uploaded yml – the end effect being that if I then attempted to download the appveyor.yml via the UI I would have the same file.

    This way when a user wants to update their yml file they can upload their current one, make changes in the UI and the download the yml again.

    I think this is a lot safer than making changes in the UI and then cut and pasting the bits into a local yml file (where errors can occur).

    I hope I have made my request clearer.

    Shaun

  3. 3 Posted by Thomas on 01 Nov, 2017 10:38 PM

    Thomas's Avatar

    Thats a good point. Keeping the UI Settings and the appveyor.yml in the repo in sync is pain at the moment. My scenario is:
    1. I want to use the UI to configure everything
    2. I want to versioning and maybe distribute / reuse my settings in different repos -> therefore i export the yml and check it in whenever i make changes in the UI
         -> thats already a pain, would be good if that could be automated
    3. When I want to do a small change in the yml file, i have to do the same change in the UI to keep both in sync, otherwise the change would get lost when I do an Export of the apveyor.yml next time

  4. Support Staff 4 Posted by Ilya Finkelshte... on 01 Nov, 2017 11:18 PM

    Ilya Finkelshteyn's Avatar

    We understand this. Problem is that some features like Exclude configuration from the matrix or Sharing common configuration between branches, to name a few, are very difficult to be expressed in UI. I mean if you try to keep UI simple and clean. We consider UI a good starting point and assume that for more advanced configuration people will go for YAML. Also please note that use YAML from remote location if you have same configuration for different project and want to avoid duplication.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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