Skip to content

Automatically trim down smoke-testNuGet.Config for tarball, instead of having extra copy at support/tarball/smoke-testNuGet.Config #1669

Closed

Description

@dagood

<!--
When building an internal build, the main smoke-test nuget config has authenticated sources
in it to generate a full set of smoke-test-prereqs. This isn't necessary in the tarball
because we have those smoke-test-prereqs, but we hit authentication errors nonetheless. Copy
a trimmed down nuget.config in this case.
TODO: Automatically trim down the main nuget.config.
-->
<TarballCopyFile
Condition="Exists('$(ProjectDir)support\tarball\smoke-testNuGet.Config')"
Include="$(ProjectDir)support\tarball\smoke-testNuGet.Config"
RelativeDestination="smoke-testNuGet.Config" />

We have targets that manipulate nuget.configs in exactly the way we need, just need to apply them in the tarball generation targets. This fixes some minor code (nuget.config) duplication.

Activity

  1. added
    area-infra
    on Jul 17, 2020
  2. self-assigned this
    on May 7, 2021
  3. added a commit that references this issue on May 7, 2021
    b486008
  4. added a commit that references this issue on May 19, 2021
    388a42c
  5. added a commit that references this issue on May 28, 2021
    c707c3d
  6. omajid commented on Oct 6, 2021

    @omajid
    Member

    This should have been closed by #2159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-infra

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions