-
Notifications
You must be signed in to change notification settings - Fork 118
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
Use github artifact attestations for the prebuilt artifacts #503
Conversation
8155c1c
to
797c728
Compare
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 would love to see this merged, simply since it would allow servo builds for OH to work on windows. If there are objections to using |
Shouldn't prebuilt artifacts already work? |
true, I guess the issue is that we never cut a release after #501. Should i open a seperate PR which just bumps the version? |
Ah we didn't bump mozjs-sys ver in #501, so that's why there is no ohos release. So what this PR actually does is use attestation for ohos artifact. If we decide to introduce attestation, we should introduce it for all targets. |
That would be ideal. |
I remember someone on zulip had reservations about potential influence on runtime of the build-script, so I thought perhaps we should first get some real-world experience on one target, before affecting the commonly used ones |
That was me :). I think we should make make it for all platforms but let it be disabled by default (enabled via |
797c728
to
e87091e
Compare
How fancy do we want to make this switch? I guess having an option like |
Sounds good. |
39ef251
to
31af738
Compare
Is it possible we need to update the upstream mozjs COMMIT again? seems like the artifact download is failing. |
We need to update SM to new minor release. I will do it later today. |
38beed5
to
6ee294f
Compare
I will review this at the end of the week. |
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.
Generally LGTM, still need to test this on my machine.
b018d2d
to
39cbe9c
Compare
8b3e9fb
to
9a8e93f
Compare
Signed-off-by: Jonathan Schwender <[email protected]> f Signed-off-by: Jonathan Schwender <[email protected]> Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
Signed-off-by: Jonathan Schwender <[email protected]>
9a8e93f
to
65e2939
Compare
Seems good to me. Let's give this a shot. |
I tested this on my local fork (changed line 908 to point to
jschwe/mozjs
.On my work machine the attestation takes around 500ms, but network is generally slow (downloading the 16MB artifact via curl takes somewhere between 20 and 60s for some reason)