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

Speedup pipelines #1168

Merged
merged 22 commits into from
Jun 7, 2024
Merged

Speedup pipelines #1168

merged 22 commits into from
Jun 7, 2024

Conversation

symbiogenesis
Copy link
Contributor

@symbiogenesis symbiogenesis commented Apr 11, 2024

This may go some ways towards speeding up the pipelines

I think it will save a couple minutes per pipeline. Refactoring the tests, as described in #1162 would help more substantially.

The cache step won't save any time on the first run, but subsequent runs will benefit.

Generating lockfiles was necessary in order to create a perfect cache key

Fixes #1167 and #1165

@symbiogenesis symbiogenesis force-pushed the speedup-pipelines branch 6 times, most recently from 35b3c8c to 2a46908 Compare April 11, 2024 05:52
@symbiogenesis symbiogenesis force-pushed the speedup-pipelines branch 2 times, most recently from 1c0010f to 0b57e90 Compare April 11, 2024 06:14
@symbiogenesis symbiogenesis force-pushed the speedup-pipelines branch 2 times, most recently from 62b7977 to 4f98185 Compare April 11, 2024 06:38
@symbiogenesis
Copy link
Contributor Author

symbiogenesis commented Apr 11, 2024

@Mimetis This should fix the pipelines and also improve them a bunch.

And it closes two of the issues I just opened. Those have some explanation of the justifications.

The cache step may need some tweaking because I'm not sure if it is working.

@symbiogenesis symbiogenesis force-pushed the speedup-pipelines branch 2 times, most recently from a68e891 to 8926277 Compare April 12, 2024 07:29
@symbiogenesis
Copy link
Contributor Author

@Mimetis this should make the pipelines green. I just resolved the conflicts from today.

@Mimetis
Copy link
Owner

Mimetis commented Jun 7, 2024

@symbiogenesis nice, I'll look this week end for sure

@Mimetis Mimetis merged commit 093afe3 into Mimetis:master Jun 7, 2024
27 checks passed
@symbiogenesis symbiogenesis deleted the speedup-pipelines branch June 7, 2024 19:20
@Mimetis
Copy link
Owner

Mimetis commented Jun 10, 2024

Hey @symbiogenesis , I'm struggling a little bit with the tests pipelines since this PR

Seems the tests are not run when targeting .net core 3.1
Seems the runner is not able to find the related tests:

No test matches the given testcase filter `Dotmim.Sync.Tests.SqlServerTcp` in 
/home/vsts/work/1/s/Tests/Dotmim.Sync.Tests/bin/Debug/netcoreapp3.1/Dotmim.Sync.Tests.dll

https://dev.azure.com/dotmim/Dotmim.Sync/_build/results?buildId=1631&view=logs&j=196c4937-6990-58b5-7d18-234ac2f0888b&t=45bab8b5-ece4-5e34-d7da-aaa6e8c8056a

Any idea ?

@Mimetis
Copy link
Owner

Mimetis commented Jun 10, 2024

hum I don't know what I've done, but it's working now :)

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

Successfully merging this pull request may close these issues.

Speed up pipelines
2 participants