Skip to content

Commit

Permalink
feat(full): add full image
Browse files Browse the repository at this point in the history
  • Loading branch information
Zitrone44 committed Aug 14, 2024
1 parent 4d30c8a commit 715e133
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 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, all-rust]
image: [all-python-cpu, all-python-cuda, all-r, all-rust, full-jupyter]
env:
FORCE_COLOR: 1
steps:
Expand Down
21 changes: 19 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ ARG --required --global VERSION
common:
FROM mambaorg/micromamba:1.5.8
ENV SHELL=/bin/bash
RUN micromamba install -n base -c conda-forge -y htop nvtop curl wget unzip
RUN micromamba install -n base -c conda-forge -y htop curl wget unzip
WORKDIR /workspace

common-cuda:
FROM +common
RUN micromamba install -n base -c conda-forge -y nvtop

build:
ARG language
ARG frontend
Expand Down Expand Up @@ -42,6 +46,19 @@ all-python-cpu:
all-python-cuda:
BUILD +build-all-frontends --language=python-cuda

full:
FROM +common
DO python+SETUP_CPU
DO r+SETUP_CPU
DO rust+SETUP_CPU

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

python-cpu:
FROM +common
DO python+SETUP_CPU
Expand All @@ -57,7 +74,7 @@ python-cpu-code:
SAVE IMAGE --push $REGISTRY/python-code:$VERSION

python-cuda:
FROM +common
FROM +common-cuda
DO python+SETUP_CUDA

python-cuda-jupyter:
Expand Down

0 comments on commit 715e133

Please sign in to comment.