question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

To simplify the config, AppVeyor YML should be managed per-branch

See original GitHub issue

Currently, the appveyor.yml file that’s checked into source control (across all active long-lived branches) has the build configuration for all of the branches. For example in the v2 branch the file has build configs for 1.4.x and 1.5.x as well as the 2.x code. Which part of the yml build config is then chosen by an almost switch/case-like syntax.

To simplify the build configs, the copy of this file in each branch should only contain the build config for the code in that branch. This is OK because when AppVeyor runs a build, it uses the appveyor.yml file from the same commit as it is building. The extra build configs in the version of the file in each branch are actually never used anyway.

Acceptance criteria

In this ticket, we will ‘tidy up’ the YML file in the v2 branch. The master & 1.4 branches can be left as they are for now. When Elsa 2 is finalised and merged into master, it will overwrite and ‘fix itself’ anyway.

_This ticket was created following a brief discussion started by @craigfowler in https://github.com/elsa-workflows/elsa-core/discussions/660_

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sfmskywalkercommented, Feb 25, 2021

As discussed, let’s push a new tag to try it (preview 7). Let’s make sure we use the same tag for the MyGet too since that feed represents the latest bits straight from the Elsa 2 branch.

1reaction
craigfowlercommented, Feb 25, 2021

As of build 2.0.0-preview6.1504, I can see that MyGet deployment is working as-intended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build configuration
yml is a project configuration file in YAML format that should be placed in the root of your repository. At a minimum appveyor.yml...
Read more >
Branches and Tags
AppVeyor allows sharing common configuration between branches in a single appveyor.yml . There is for node with a list of branch-specific configurations ...
Read more >
Different versioning and deployment per branch
I have following (supposedly, very common) scenario. I am developing a NuGet package, and I want to separate CI and stable packages.
Read more >
Getting started with AppVeyor Server
To simplify setup process we created a script which provisions necessary Azure resources, runs Hashicorp Packer to create a basic build image (based...
Read more >
AppVeyor Reviews 2023: Details, Pricing, & Features
Setting up projects with appveyor.yml is straightforward and matches with how other similar non-Windows based services do configuration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found