Skip to content

Commit

Permalink
fix(frontend/code): disable temporarily to workaround incompatible ex…
Browse files Browse the repository at this point in the history
…tensions
  • Loading branch information
Zitrone44 committed Aug 8, 2024
1 parent 42ddbd0 commit 4d30c8a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: [all-python-cpu, all-python-cuda, all-r-cpu, all-rust-cpu]
image: [all-python-cpu, all-python-cuda, all-r, all-rust]
env:
FORCE_COLOR: 1
steps:
Expand Down
44 changes: 21 additions & 23 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,32 @@ common:
RUN micromamba install -n base -c conda-forge -y htop nvtop curl wget unzip
WORKDIR /workspace

build:
ARG language
ARG frontend
BUILD +$language-$frontend

build-all-frontends:
ARG language
BUILD +build --language=$language --frontend=jupyter #--frontend=code

all:
BUILD +all-python
BUILD +all-r
BUILD +all-rust
BUILD +build-all-frontends --language=python-cpu --language=python-cuda --language=rust --language=r

all-python:
BUILD +all-python-cpu
BUILD +all-python-cuda
BUILD +build-all-frontends --language=python-cpu --language=python-cuda

all-r:
BUILD +all-r-cpu
BUILD +build-all-frontends --language=r

all-rust:
BUILD +all-rust-cpu
BUILD +build-all-frontends --language=rust

all-python-cpu:
BUILD +python-cpu-jupyter
BUILD +python-cpu-code
BUILD +build-all-frontends --language=python-cpu

all-python-cuda:
BUILD +python-cuda-jupyter
BUILD +python-cuda-code

all-r-cpu:
BUILD +r-cpu-jupyter

all-rust-cpu:
BUILD +rust-cpu-jupyter
BUILD +build-all-frontends --language=python-cuda

python-cpu:
FROM +common
Expand Down Expand Up @@ -72,22 +70,22 @@ python-cuda-code:
DO code+SETUP
SAVE IMAGE --push $REGISTRY/python-cuda-code:$VERSION

r-cpu:
r:
FROM +common
DO r+SETUP_CPU

r-cpu-jupyter:
FROM +r-cpu
r-jupyter:
FROM +r
DO jupyter+SETUP
DO r+JUPYTER_POST_INSTALL
SAVE IMAGE --push $REGISTRY/r-jupyter:$VERSION

rust-cpu:
rust:
FROM +common
DO rust+SETUP_CPU

rust-cpu-jupyter:
FROM +rust-cpu
rust-jupyter:
FROM +rust
DO jupyter+SETUP
DO rust+JUPYTER_POST_INSTALL
SAVE IMAGE --push $REGISTRY/rust-jupyter:$VERSION
4 changes: 2 additions & 2 deletions frontend/code/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SETUP:
RUN micromamba -n base run code-server \
--install-extension ms-toolsai.jupyter \
--install-extension equinusocio.vsc-material-theme \
--install-extension equinusocio.vsc-material-theme-icons #\
# --install-extension ms-python.python
--install-extension equinusocio.vsc-material-theme-icons \
--install-extension ms-python.python
COPY frontend/code/jupyter_server_config.py /etc/jupyter/jupyter_server_config.py
CMD ["jupyter", "server", "--ip=0.0.0.0", "--port=8888"]

0 comments on commit 4d30c8a

Please sign in to comment.