-
Notifications
You must be signed in to change notification settings - Fork 30
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
Minor follow-up/tweaks for CI (for working with templates and Windows test parallelization) #70
Comments
Not really a fixup after the templatization/parallelization PRs, but another miscellaneous tweak to do: if we don't pass That way:
|
Some stuff identified to try from #78
|
This should be a separate PR.
I look at those. They are useful in some cases. |
I'm honestly s bit confused why crash reports need to be uploaded to S3, perhaps because Azure Pipelines doesn't store them forever. We certainly don't need to try to upload them to some S3 bucket. Uploading them to Azure Pipelines artifacts storage is already working ("stage crash reports" or some similar named step in CI). As for buildArch, the snippet you just linked was exactly what I was mainly hoping to factor out. It's all redundant, and the CI is actually pretty minimal and readable if you take out some of these odd workarounds for things. Maybe I'll do a branch to prove the point that this can and should be simpler IMO. |
We do more preparation than is necessary (we run the whole We can speed up by dropping the template from Nightly in the Release job... or do what upstream does and only install a pinned version of Node as preparation, no further preparation needed. Example of upstream's Nightly pipeline preparing quickly with only one step (install Node): https://github.visualstudio.com/Atom/_build/results?buildId=57005&view=logs&j=8d802004-fbbb-5f17-b73e-f23de0c1dec8 |
We install npm twice during the Windows Build job. |
The nightly build is not performance-critical. When I made the templates I was aware of the extra steps that happen nightly. However, easier maintenance is more important than shaving 1min from a CI job that runs once in a while. |
These should be fixed in #44 |
Noting things that need small updating or tweaks here and there after the big "templates" (#41 + #46) and "Windows test parallelization" (#50) PRs.
displayName
. For example, for macOS there ismacOS_tests
-->displayName: macOS test
(though this is vague, and I would prefermacOS package tests
, so maybe the displayName on Windows can beWindows renderer tests
.node
andnpm
, installing recent compiler toolchains, installingapt
packages, etc. etc.) have been moved fromscript/vsts/platforms/
[macos.yml
,linux.yml
,windows.yml
] toscript/vsts/platforms/templates/preparation.yml
. We should addpreparation.yml
to the cache identifier.node_modules
forscript/vsts
. It is totally unused after being installed here. We should just delete this, it doesn't appear to do anything beside waste a couple minutes of time under CI on Windows.(Thescript/vsts
packages are needed forGetReleaseVersion
and the "Upload Artifacts" steps of the "Release Branch Build" and "Nightly Release" pipelines. But thescript/vsts/node_modules
dependencies are already properly installed for those. We're just doing it an extra, totally unnecessary additional time on Windows.)script/vsts/windows-run.js
on Windows x86. We should condition this script to only run on Windows x86, and not run it on windows x64.There may be more that I didn't noticed, or saw and forgot about. Will try to post them here (or in a PR!) once I see/remember them.
The text was updated successfully, but these errors were encountered: