-
Notifications
You must be signed in to change notification settings - Fork 11
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
Migrate build system to net8 / fake v6 #361
Conversation
currently runs locally on linux, windows not tested yet. Plus there are some errors in the tests themselves, probably due to mismatched dependencies. |
3957af5
to
7edda72
Compare
dd312c4
to
94922c3
Compare
tests seem to be rather flaky both on my machine and in CI. containers sometimes fail on startup. |
2c70a81
to
53e1052
Compare
@anpin we definitely have some flaky tests - I'll try to take a look at this. Thank you for your hard work |
@Aaronontheweb my apologies for not discussing this major change upfront, but I need to build the package from source and didn't want to use some temporary scripts |
regarding failing tests #362 |
- previous GetContainerLogsAsync method returning stream was marked obsolete, so I replaced it with the IProgress based version - Added retry loop in case container fails to start (e.g. port is alraedy in use)
Let's see if tests would run consistently in CI now. On my machine they do not fail randomly with last commit. |
updating release notes just to trigger the build again and see if any error would occur |
seems to be working. @Aaronontheweb please let me know if anything else is required to merge this |
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.
LGTM - nice work. Would love it if we could bring some of this stuff to the main Akka.NET project too (it also uses an aging FAKE system)
@@ -7,6 +7,12 @@ | |||
"commands": [ | |||
"jb" | |||
] | |||
}, | |||
"docfx": { |
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.
WE can probably get rid of DocFx altogether (it was just part of the template for this repo) but I appreciate you doing this
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.
Will probably make CI faster. I figured it could be executed from some over place where the documentation is built, so I tried to keep it comparability reasons
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.
LGTM
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.
LGTM
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.
LGTM
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.
LGTM - much better lol
@@ -62,7 +62,7 @@ | |||
] | |||
}], | |||
"xref": [ | |||
"../tools/msdn.4.5.2/content/msdn.4.5.2.zip" | |||
"https://learn.microsoft.com/en-us/dotnet/.xrefmap.json" |
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.
We should do this in the main Akka.NET repo as well - uses the same system (I would love to get off of the old FAKE there too)
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.
LGTM
lol this reminds me, I need to finish getting akkadotnet/akka.net#7063 merged in |
Thanks. I can probable take a look at the main repo too. |
This PR updates build scripts to FAKE v6 and updates test targets to
net8.0
thus reducing the need for developer to have multipleoutdatedbuild tools to get started.Fixes
#360
#362
Changes
NetCoreTestVersion
updated tonet8.0
(which requiredMySql.Data
to be updated to latest version)dotnet-tools
(allows working with docs on mac/linux)build.fsx
andserve-docs.[cmd|sh]
are updated to use thatChecklist
For significant changes, please ensure that the following have been completed (delete if not relevant):
Latest
dev
BenchmarksInclude data from the relevant benchmark prior to this change here.
This PR's Benchmarks
Include data from after this change here.