Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow common configuration in branches-specific appveyor.yml #325

Closed
FeodorFitsner opened this issue Jul 5, 2015 · 17 comments
Closed

Allow common configuration in branches-specific appveyor.yml #325

FeodorFitsner opened this issue Jul 5, 2015 · 17 comments
Assignees

Comments

@FeodorFitsner
Copy link
Member

Dicsussion: http://help.appveyor.com/discussions/suggestions/728-shared-settings-for-appveyoryml-with-conditional-branches

@briandonahue
Copy link

👍 on this - I could definitely use it.

@saper
Copy link

saper commented Sep 9, 2015

Same here (https://help.appveyor.com/discussions/questions/1655-less-code-duplication-in-appveyoryml-when-using-branchesony).

There was a suggestion that some YAML parsers accept >> syntax to include named nodes.

@remkoboschker
Copy link

any updates on this?

@AlexHayton
Copy link

We could really use this for our deployment process (the only difference is one line between the steps). We are currently implementing a powershell polyfill for this. @FeodorFitsner do you have any plans to include this soon?

@kneumei
Copy link

kneumei commented Mar 17, 2016

👍

@FeodorFitsner
Copy link
Member Author

We may start working on that soon. @AlexHayton what's the idea behind your PS polyfill?

@AlexHayton
Copy link

I've written a powershell script that inspects $env:APPVEYOR_REPO_BRANCH
and $env:APPVEYOR_PULL_REQUEST_NUMBER, if it matches a list of environments
it runs the deploy.

For some reason this script isn't running when I set it as deploy_script:,
so I added it at the end my custom build steps.

On 17 March 2016 at 22:26, Feodor Fitsner [email protected] wrote:

We may start working on that soon. @AlexHayton
https://github.com/AlexHayton what's the idea behind your PS polyfill?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#325 (comment)

whir1 added a commit to serilog-contrib/serilog-sinks-graylog that referenced this issue Aug 5, 2016
duplicate config because appveyor/ci#325
@PureKrome
Copy link

@FeodorFitsner any chance we could please get this worked on next. PLEASE!! We're starting to find that our appveyor.yml files are starting to get really big because we're copying/pasting massive amounts of common sections.

@espoelstra
Copy link

+1 for the Yaml anchors &configname and references to "inherit" values from where it was originally defined.

@lukefrake
Copy link

👍 like the sound of this!

@steven-dawkins
Copy link

this would be really useful for us!

@flanza
Copy link

flanza commented Mar 10, 2017

REALLY REALLY REALLY looking forward to it!

@flanza
Copy link

flanza commented Mar 10, 2017

Is there some pespective of getting this feature released? It would be really usefull for all the comunity.

@IlyaFinkelshteyn
Copy link
Contributor

We may need to include tags in scenario too.

@FeodorFitsner FeodorFitsner modified the milestones: 16-July-2017, 23-July-2017 Jul 24, 2017
@FeodorFitsner
Copy link
Member Author

The feature has been delivered and documented here: https://www.appveyor.com/blog/2017/08/01/sharing-configuration-between-branches-in-appveyor-yml/

Let us know if you have any questions/comments.

@sehcheese
Copy link

sehcheese commented Aug 2, 2017 via email

@PureKrome
Copy link

Loving the new Sharing facility in .yml files!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests