-
Notifications
You must be signed in to change notification settings - Fork 217
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
Update samples for preview.3 #108
Conversation
This won't pass the checks until preview.3 is released in its current state as it's not using the release feeds or a preview 8.0.200 SDK release. @balachir do you want to try updating the nuget.config to use the release feed and the global.json to point at the latest 8.0.200-preview SDK (8.0.200-preview.23624.5) for now to ensure this builds? |
OK I ended up doing the above myself and now we can see what actually needs to be updated in this PR due to changes in preview.3
|
…nce metadata when AppHost references a library project
@DamianEdwards thanks. I've made the changes that you suggested, and I can build successfully on my machine now. |
I believe this just needs the NuGet.config change reverted before merging |
global.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"sdk": { | |||
"version": "8.0.100", | |||
"version": "8.0.200-preview.23624.5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was wondering about it too. Should we set the version to 8.0.200 now that the SDK is available? I'm not sure if the build agent is using this 8.0.200-preview version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit to update it
I've reverted the NuGet.config changes now. |
/azp run |
No pipelines are associated with this pull request. |
Do we need to add |
It's already in the |
I added a Dapr CLI installation step to the pipeline |
@ReubenBond still failing |
Yeah, I wonder if the dapr integration isn't working on Windows (which is running first and cancelling the linux build) - I'll see if it works on Linux and we can hold off on merging for now |
Ok, that wasn't it. We get a different error on Linux. I tried updating to the latest DAPR CLI (the default from the action is very old). I assume it's still not finding the binary. I am trying to enable MS Build Structured Logs to the CI to see what the exact issue is now. We might end up needing to set the dapr/path env var manually |
This reverts commit ae7ecc4.
Looking at our code now... did this ever work? The dapr hosting package in Aspire only looks in I think we need to change the Aspire.Hosting.Dapr package to either check the PATH or allow specifying the Dapr installation directory via an env var. I opened dotnet/aspire#2219 to track. |
I'm tempted to say that we should either merge without CI or disable the Dapr sample from building in CI until dotnet/aspire#2219 is resolved and we have updated to a version with that (i.e, Aspire preview 4). |
Skip the tests for the dapr sample |
Looks like this is not updating all of the packages that were shipped yesterday, instead it is only updating the aspire ones. I can push another commit to make sure everything is up-to-date |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is ready to go.
@ReubenBond An ugly way would be to set the |
--------- Co-authored-by: Damian Edwards <[email protected]> Co-authored-by: Reuben Bond <[email protected]> Co-authored-by: ReubenBond <[email protected]> Co-authored-by: Reuben Bond <[email protected]> Co-authored-by: Jose Perez Rodriguez <[email protected]>
WIP branch for updating samples to preview.3. Make changes and/or additions here as necessary.
Fixes #90