-
Notifications
You must be signed in to change notification settings - Fork 142
Draft: Github CI, PR checks, weekly retagger #574
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
base: master
Are you sure you want to change the base?
Conversation
49f0149 to
b082c57
Compare
| "python-unittest-cpython": cpygate + platform_spec(no_jobs) + platform_spec({ | ||
| "linux:amd64:jdk-latest" : tier1, | ||
| }), | ||
| "python-unittest-retagger": ut_retagger + platform_spec(no_jobs) + platform_spec({ |
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.
Those cannot change, they must stay weekly here. I suppose we need to allow weekly when generating the matrix and treat them as after the tiered jobs. I guess then the tier2 -> tier1 change for python-svm-build could also go away
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.
Fixed, i set weekly jobs as tier1 in extract-matrix.py
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.
Please rebase the branch on master, we shouldn't change anything under ci/graal
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.
Fixed except for common.json, the build fails if jvmci version doesn't match the one that mx downloads
ci/python-gate.libsonnet
Outdated
| windows: { | ||
| common: { | ||
| PATH: "$MAVEN_HOME\\bin;$PATH", | ||
| PATH: "$MAVEN_HOME\\bin;$PATH;C:\\hostedtoolcache\\windows\\Python\\3.12.3\\x64\\Scripts;C:\\hostedtoolcache\\windows\\Python\\3.12.3\\x64;C:\\Program Files\\PowerShell\\7;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\usr\\bin;C:\\hostedtoolcache\\windows\\Ruby\\3.2.3\\x64\\bin;C:\\hostedtoolcache\\windows\\Go\\1.22.2\\x64\\bin;C:\\hostedtoolcache\\windows\\Node\\20.11.1\\x64\\;C:\\npm\\prefix;C:\\Program Files\\Amazon\\AWSCLIV2\\;C:\\Program Files\\Amazon\\SessionManagerPlugin\\bin\\;C:\\Program Files\\LLVM\\bin;C:\\Program Files\\CMake\\bin;C:\\Program Files\\OpenSSL\\bin;C:\\msys64\\usr\\bin;C:\\hostedtoolcache\\windows\\php\\8.2.15\\x64;C:\\Program Files\\Azure DevOps CLI\\bin;C:\\hostedtoolcache\\windows\\R\\4.3.3\\x64\\bin;C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\IDE\\Extensions\\Microsoft\\NuGet;", |
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.
That seems like a hack, why is it needed?
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 PATH isn't expanded and is set to PATH=$PATH as 'text'
Got issues such as tar, git, mvn not found
edit: PATH=$PATH comes from the common env a few lines before
ci/python-gate.libsonnet
Outdated
| local artifact_name = name + os + arch, | ||
| setup+: [ | ||
| ["unpack-artifact", artifact_name], | ||
| [".github/scripts/unpack-artifact", artifact_name], |
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.
these paths shouldn't change, .github/scripts should just be on the PATH in our github jobs
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.
Fixed
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.
The changes in this file look ok to me, but I'll defer to @msimacek for a proper review of 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.
Looks like our current retagger merge script sorts the platforms differently. Can you work with @msimacek to make sure we don't get into a merge war while we still run the retagger for some platforms (darwin) internally only?
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 i know why the sorted output is different, i'll fix it
Signed-off-by: Ariouz <virgil.calvez@gmail.com>
This fixes: python-unittest-standalone by downloading and exporting GRADLE_JAVA_HOME NOTE: This only works on linux at this time, other platforms will follow WIP: Download Links depending on platform Todo: Build link using self.runs_on
Default PATH seems to not be evaluated even in defined in jsonnet file, manually set
b082c57 to
22ee071
Compare
a7b09ad to
d591ea3
Compare
As it adds a few things, detailed descriptions are located in fork's PRs.
Python unittest retagger jobs + PR checks: Ariouz#1 (Ariouz@68cff18)
Weekly retagger workflow, github exclusion tag: Ariouz#3
Auto PR on weekly retagger: Ariouz#8 merged in 3
Windows build: Ariouz#5 merged in 3
Platforms: Linux and Windows, github hosted runner for macos has too low mem to build.
This also applies all retags for linux amd64, linux aarch64, windows retagger is still running
Tests ran on PR: https://github.com/Ariouz/graalpython/actions/runs/20066056924
Weekly retagger WF: https://github.com/Ariouz/graalpython/actions/runs/20058297116: Ariouz#13