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

VSTest is pushing to the wrong channel in BAR #2169

Closed
ViktorHofer opened this issue Sep 12, 2019 · 24 comments
Closed

VSTest is pushing to the wrong channel in BAR #2169

ViktorHofer opened this issue Sep 12, 2019 · 24 comments

Comments

@ViktorHofer
Copy link
Member

VSTest pushes to ".NET Core 3 Dev" but we are already on ".NET Core 5 Dev". I recommend to either push a channel that is not directly tied to a release or always stay on the latest one.

Also VSTest should probably stop pushing to the myget feed (https://dotnet.myget.org/F/vstest/api/v2/package) and instead use the same one that all other repositories use (https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json).

cc @singhsarab

@ViktorHofer ViktorHofer changed the title VSTest is pushing to the wrong channel VSTest is pushing to the wrong channel in BAR Sep 12, 2019
@singhsarab
Copy link
Contributor

This would probably require us to upgrade to use the latest Arcade toolset?
/cc: @chcosta

@singhsarab
Copy link
Contributor

The location given in the command seems to be pointing to the correct feed.

& $sdkTaskPath -restore -task GenerateBuildManifest /p:PackagesToPublishPattern=$TPB_PackageOutDir\*.nupkg /p:AssetManifestFilePath=$TPB_PackageOutDir\manifest\manifest.xml /p:ManifestBuildData="Location=https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /p:BUILD_BUILDNUMBER=$BuildNumber

@chcosta
Copy link

chcosta commented Sep 16, 2019

@riarenas @JohnTortugo?

@JohnTortugo
Copy link

Can you please point me to your build definition or to a build that is doing the wrong thing?

@singhsarab
Copy link
Contributor

singhsarab commented Sep 18, 2019

@JohnTortugo I have shared the definition offline, Can you please take a look.

@JohnTortugo
Copy link

@singhsarab your build definition seems to be quite outdated with the way Arcade proposes publishing to be implemented nowadays. We moved to stages based publishing, take a look here to see how to onboard: https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/YamlStagesPublishing.md

@riarenas
Copy link
Member

I guess I'm a little confused by this whole issue. Is the problem just that master branch builds are publishing to the wrong channels so that corefx can take a dependency update on them, or that the packages need to be available in a different feed?

@mmitche Should vstest move to using the shared publishing infrastructure for .NET?

@chcosta
Copy link

chcosta commented Sep 18, 2019

Where's this repos build definition?

@JohnTortugo, are you saying that the sdk task packages are not working correctly?

@JohnTortugo
Copy link

JohnTortugo commented Sep 18, 2019

This was the build that I looked: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=3058217&view=results .

As far as I can tell it's a pretty custom build-definition: https://devdiv.visualstudio.com/DevDiv/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=2923 and it looks like they are using their own custom sign, publish, etc. things.

The only Maestro++ channel configuration for repo https://github.com/microsoft/vstest is for branch refs/heads/master mapping to channel 19, which I don't think is correct as that's a release channel.

All builds from https://github.com/microsoft/vstest where assigned to channel 3: .NET Core 3 Dev. Which is weird because the default channel mapping is pointing to channel 19.

@chcosta
Copy link

chcosta commented Sep 18, 2019

Yeah, there are some repos that .NET Core depends on but aren't directly a part of the core product which are on dependency flow (at our request). These repos (like NuGet, Application-Insights, etc...) we need to make sure we don't break and we provide support (generally in the form of guidance), so that they can flow dependencies without being in the inner ring of Arcade support.

@riarenas
Copy link
Member

All builds from https://github.com/microsoft/vstest where assigned to channel 3: .NET Core 3 Dev. Which is weird because the default channel mapping is pointing to channel 19.

Matt has been assigning and reassigning default channels to get everything release ready.

@JohnTortugo
Copy link

This would probably require us to upgrade to use the latest Arcade toolset?

@singhsarab It's good to be on the latest toolset but I think you don't need it to fix the branch to where the builds are published. You just need to use Darc to configure to which channel the build should be assigned to by default.

@singhsarab
Copy link
Contributor

@JohnTortugo I am not aware of how to do that. Can you please provide some guidance for that.

And @riarenas

Should vstest move to using the shared publishing infrastructure for .NET?

I think we have to move the repo to arcade tooling before we can do that.

@JohnTortugo
Copy link

@JohnTortugo I am not aware of how to do that. Can you please provide some guidance for that.

Here are the instructions: https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#add-default-channel

@ViktorHofer
Copy link
Member Author

any update?

@chcosta
Copy link

chcosta commented Sep 25, 2019

@ViktorHofer, @JohnTortugo is OOF today (and yesterday), can this wait another day or two for an update or is this more pressing?

@ViktorHofer
Copy link
Member Author

This can wait, thanks for the update.

@singhsarab
Copy link
Contributor

@JohnTortugo I am not aware of how to do that. Can you please provide some guidance for that.

Here are the instructions: https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#add-default-channel

Sorry I am still not sure where do I run this instructions to make sure we are pointing to the right channel for vstest repo

@ViktorHofer
Copy link
Member Author

You can invoke the darc CLI from any fully on boarded repo, ie from corefx. I should be able to change this as well and will try later.

@ViktorHofer
Copy link
Member Author

I just updated the default channel.

Added: (630) https://github.com/Microsoft/vstest @ refs/heads/master -> .NET Tools - Latest

Removed: (578) https://github.com/Microsoft/vstest @ refs/heads/master -> .NET Core 3 Release (Disabled)

@singhsarab
Copy link
Contributor

@ViktorHofer Great, I assume we can close this issue now ?

@ViktorHofer
Copy link
Member Author

The packages are still not published to the blob feed: https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json.

@JohnTortugo anybody know what needs to be changed to push to our feed?

@singhsarab
Copy link
Contributor

singhsarab commented Sep 26, 2019

@ViktorHofer I guess that will require us to change the CI definition. It currently pushes the packages to myget feed

@ViktorHofer
Copy link
Member Author

You are right, this issue was about the channel. Let me close this one and create a new one for the feed request.

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

No branches or pull requests

6 participants