-
Notifications
You must be signed in to change notification settings - Fork 51
ci: optimize integration test CI time #487
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: main
Are you sure you want to change the base?
Changes from all commits
bc6bf9b
c0777c1
3c3d7e1
6a3881f
63f87fd
1be66e1
cf5d9ea
47a0e98
ff18878
43db981
6825364
b987965
feb4992
be137a1
ae235b1
b0539de
1418911
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -73,3 +73,4 @@ services: | |
| networks: | ||
| demo_network: | ||
| driver: bridge | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,12 +19,13 @@ FROM rust:1.87 | |
|
|
||
| RUN apt-get update && apt-get install -y cmake curl ca-certificates | ||
|
|
||
| # Install uv to a globally accessible location (not /root/.local/bin) | ||
| # This allows the container to run as any user (HOST_UID:HOST_GID) | ||
| ADD https://astral.sh/uv/install.sh /uv-installer.sh | ||
| RUN UV_INSTALL_DIR=/usr/local/bin sh /uv-installer.sh && rm /uv-installer.sh | ||
|
|
||
| RUN sh /uv-installer.sh && rm /uv-installer.sh | ||
|
|
||
| ENV PATH="/root/.local/bin/:$PATH" | ||
|
|
||
| # Install Python to a shared location accessible by any user | ||
| ENV UV_PYTHON_INSTALL_DIR=/opt/python | ||
| RUN uv python install 3.13 | ||
|
|
||
| RUN uv python list | ||
|
|
@@ -36,6 +37,10 @@ ENV PATH="/opt/.venv/bin:$PATH" | |
|
|
||
| RUN uv pip install --only-binary=all 'pyarrow==20.0.0' | ||
|
|
||
| # Make Python installation and venv accessible to any user (needed for HOST_UID:HOST_GID mapping) | ||
| # Python needs read+execute, venv needs read+write+execute for pip install | ||
| RUN chmod -R a+rX /opt/python && chmod -R a+rwX /opt/.venv | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you pre-build this docker image and publish it in docker hub so it can be pulled directly during CI? once everything passed, I can re-publish the same image under Hudi's official docker hub
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm going to try do that before Christmas, thats actually neat solution
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sounds good |
||
|
|
||
| WORKDIR /opt | ||
|
|
||
| CMD tail -f /dev/null | ||
Uh oh!
There was an error while loading. Please reload this page.