opentelemetry-dotnet-instrumentation icon indicating copy to clipboard operation
opentelemetry-dotnet-instrumentation copied to clipboard

Refactor Nuke tasks

Open pellared opened this issue 2 years ago • 1 comments

The current build implementation using Nuke uses different APIs for defining and ordering dependencies, making it hard to maintain.

We should document and use some guidelines to make it more maintainable.

The proposal is to define two types of tasks:

  • target which contains logic and use After to specify targets that are required to be built before this one is run,
  • workflow which groups targets (or workflows) using DependsOn into a suite.

Slack thread: https://cloud-native.slack.com/archives/C01NR1YLSE7/p1656060079086989

pellared avatar Jun 27 '22 08:06 pellared

The other idea is to only use DependsOn and one could use --skip to Skip all dependencies or some specified ones.

pellared avatar Jan 27 '23 10:01 pellared