From afc671724f776d3006665de8215c5f2ba786b536 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Thu, 26 Jul 2018 17:10:56 -0700 Subject: [PATCH] Adding VSTS configuration (#2395) --- .vsts-pipelines/builds/ci-internal.yml | 13 ++++++++++ .vsts-pipelines/builds/ci-public.yml | 33 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .vsts-pipelines/builds/ci-internal.yml create mode 100644 .vsts-pipelines/builds/ci-public.yml diff --git a/.vsts-pipelines/builds/ci-internal.yml b/.vsts-pipelines/builds/ci-internal.yml new file mode 100644 index 0000000000..dc7b8a3cb9 --- /dev/null +++ b/.vsts-pipelines/builds/ci-internal.yml @@ -0,0 +1,13 @@ +trigger: +- master +- release/* + +resources: + repositories: + - repository: buildtools + type: git + name: aspnet-BuildTools + ref: refs/heads/release/2.2 + +phases: +- template: .vsts-pipelines/templates/project-ci.yml@buildtools diff --git a/.vsts-pipelines/builds/ci-public.yml b/.vsts-pipelines/builds/ci-public.yml new file mode 100644 index 0000000000..21b9d89282 --- /dev/null +++ b/.vsts-pipelines/builds/ci-public.yml @@ -0,0 +1,33 @@ +trigger: +- master +- release/* + +# See https://github.com/aspnet/BuildTools +resources: + repositories: + - repository: buildtools + type: github + endpoint: DotNet-Bot GitHub Connection + name: aspnet/BuildTools + ref: refs/heads/release/2.2 + +# Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28. +# When this is fixed, we can simplify the build to just this +# +# phases: +# - template: .vsts-pipelines/templates/project-ci.yml@buildtools +# + +phases: +- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools + parameters: + agentOs: macOS +- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools + parameters: + agentOs: Windows +- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools + parameters: + agentOs: Linux + # Workaround https://dotnet.visualstudio.com/internal/_workitems/edit/28 + # VSTS hangs indefinitely when running Razor tests. + buildArgs: "-p:SkipTests=true"