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

Add gha to upload Pyodide javascript bundle to GCS #2288

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Jun 19, 2024

This adds a github action that makes a binary file out of the pyodide capnproto
bundle and uploads it to GCS.

TODO:

  1. Use the uploaded file (see Load Pyodide runtime from external capnproto file #2430)
  2. Move the pyodide js code and this script to pyodide-build-scripts repo.

@hoodmane hoodmane requested review from a team as code owners June 19, 2024 01:08
@a-robinson a-robinson removed their request for review June 19, 2024 02:18
@hoodmane hoodmane marked this pull request as draft June 19, 2024 15:00
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch 5 times, most recently from b9d9440 to 9699f70 Compare June 19, 2024 21:07
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch 7 times, most recently from b8fd99a to 146638c Compare July 3, 2024 18:55
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch 3 times, most recently from c509902 to 592059f Compare July 24, 2024 12:05
@hoodmane hoodmane changed the title Load Pyodide implementation from external capnproto file Add script to upload Pyodide javascript bundle to GCS Jul 24, 2024
@hoodmane hoodmane changed the title Add script to upload Pyodide javascript bundle to GCS Add gha to upload Pyodide javascript bundle to GCS Jul 24, 2024
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch from 592059f to 7f3d33d Compare July 24, 2024 12:12
@hoodmane hoodmane marked this pull request as ready for review July 24, 2024 12:12
@hoodmane hoodmane requested a review from a team as a code owner July 24, 2024 12:12
@dom96
Copy link
Collaborator

dom96 commented Jul 24, 2024

Move the pyodide js code and this script to pyodide-build-scripts repo.

Should I wait for this to be done before reviewing?

@hoodmane
Copy link
Contributor Author

hoodmane commented Jul 24, 2024

Perhaps. We probably don't need to even merge this since this action is intended to go into pyodide-build-scripts eventually.

hoodmane added a commit that referenced this pull request Jul 29, 2024
Split off from #2288. This doesn't actually use the rule for anything yet, and
perhaps we'll want to move this logic into pyodide-build-scripts eventually. But
this will enable us to make tests that test against the Pyodide startup code in
the source tree.
hoodmane added a commit that referenced this pull request Jul 29, 2024
Split off from #2288. This doesn't actually use the rule for anything yet, and
perhaps we'll want to move this logic into pyodide-build-scripts eventually. But
this will enable us to make tests that test against the Pyodide startup code in
the source tree.
hoodmane added a commit that referenced this pull request Jul 29, 2024
Split off from #2288. This doesn't actually use the rule for anything yet, and
perhaps we'll want to move this logic into pyodide-build-scripts eventually. But
this will enable us to make tests that test against the Pyodide startup code in
the source tree.
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch from 7f3d33d to f9c5c0d Compare August 5, 2024 10:00
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch 3 times, most recently from 319f0a4 to 7c8d78a Compare August 20, 2024 14:10
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch from 7c8d78a to 76c05b4 Compare September 4, 2024 09:21
This adds a github action that makes a binary file out of the pyodide capnproto
bundle and uploads it to GCS.

TODO:
1. Use the uploaded file (see #2430)
2. Move the pyodide js code and this script to pyodide-build-scripts repo.
We want Pyodide to decide we're a browser. It checks a few extra things in
0.26.0 before being convinced of this.
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch from 97cafc0 to 213243c Compare September 5, 2024 12:23
@hoodmane hoodmane force-pushed the hoodmane/pyodide-load-from-file branch from 213243c to b83afe8 Compare September 5, 2024 12:25
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.

2 participants