forked from v6d-io/v6d
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use memfd_create(2) for sharable file descriptor allocation (v6d-io#1293
) What do these changes do? ------------------------- - Use `memfd_create()` on Linux, verified both on Docker and on Kubernetes (between pods) - Fixes the `vineyard-dev` docker image Related issue number -------------------- Fixes v6d-io#1292 Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
- Loading branch information
1 parent
e6885b6
commit dfb5809
Showing
9 changed files
with
61 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ on: | |
paths: | ||
- modules/graph | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- modules/graph | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:20.04 | ||
FROM ubuntu:22.04 | ||
|
||
RUN chmod 1777 /tmp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
set -o pipefail | ||
|
||
export DEBIAN_FRONTEND=noninteractive | ||
export DEBCONF_NONINTERACTIVE_SEEN=true | ||
|
||
# install apache-arrow | ||
wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | ||
apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | ||
apt update | ||
apt install -y libarrow-dev=6.0.1-1 libparquet-dev=6.0.1-1 libarrow-python-dev=6.0.1-1 | ||
apt install -y libarrow-dev=10.0.1-1 libparquet-dev=10.0.1-1 | ||
|
||
# install pyarrow from scratch | ||
sudo pip3 install --no-binary pyarrow pyarrow==6.0.1 | ||
sudo pip3 install --no-binary pyarrow pyarrow==10.0.1 | ||
|
||
# apt-get cleanup | ||
apt-get autoclean | ||
rm -rf ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
set -o pipefail | ||
|
||
# install python packages for codegen, and io adaptors | ||
sudo pip3 install -U "Pygments>=2.4.1" | ||
sudo pip3 install -r build_scripts/requirements.txt | ||
|
||
# install clang-format | ||
sudo curl -L https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-22538c65/clang-format-8_linux-amd64 --output /usr/bin/clang-format | ||
sudo chmod +x /usr/bin/clang-format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
argcomplete | ||
black | ||
black>=22.3.0 | ||
breathe | ||
click | ||
docutils==0.16 | ||
etcd-distro | ||
flake8 | ||
flake8>=4.0.1 | ||
flake8-comprehensions | ||
flake8-logging-format | ||
furo # sphinx theme | ||
isort | ||
isort>=5.10.1 | ||
jinja2>=3.0.0 | ||
libclang | ||
linkify-it-py | ||
makefun | ||
myst-parser>=0.13.0 | ||
nbsphinx | ||
numpy>=1.18.5 | ||
parsec | ||
pandas<1.0.0; python_version<"3.6" | ||
pandas<1.2.0; python_version<"3.7" | ||
pandas>=1.0.0; python_version>="3.7" | ||
pandas<1.2.0; python_version<"3.7" | ||
pickle5; python_version<="3.7" | ||
pygments>=2.4.1 | ||
psutil | ||
pyarrow | ||
pygments>=2.4.1 | ||
pytest | ||
pytest-benchmark | ||
pytest-datafiles | ||
pytest-timeout | ||
setuptools | ||
shared-memory38; python_version<="3.7" | ||
sortedcontainers | ||
sphinx>=3.0.2 | ||
sphinx>=3.0.2,<6 | ||
sphinx-copybutton | ||
sphinx-panels | ||
sphinxemoji | ||
sphinxext-opengraph | ||
sphinx-panels | ||
treelib | ||
wheel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters