Suggeston: Upload appveyor.yml
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
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
1 Posted by Ilya Finkelshte... on 17 Apr, 2017 04:35 PM
Hi Shaun,
I afraid there is some misunderstanding here. There is not such thing as hosted
appveyor.yml
setting. AppVeyour reads settings fromappveyor.yml
which is in repository before every build. If you haveappveyor.yml
, it takes over UI, unless you checkignore appveyor.yml
or set custom and non-existing YAML file name in UI. Another possible issue is if you chose repository typeGit
instead ofGitHub
orBitBucket
, because generic Git cannot read individual files from repo. More information is hereIlya.
2 Posted by shaun_wilde on 18 Apr, 2017 06:06 AM
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 Posted by Thomas on 01 Nov, 2017 10:38 PM
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 Posted by Ilya Finkelshte... on 01 Nov, 2017 11:18 PM
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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.