Skip to content

Commit

Permalink
Merge pull request #2 from CNES/feat/add-otb
Browse files Browse the repository at this point in the history
Feat/add otb
  • Loading branch information
eroan-marie authored Dec 20, 2024
2 parents 33dfad1 + c6b78fe commit a75cf6b
Show file tree
Hide file tree
Showing 37 changed files with 2,810 additions and 2,216 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IMAGE: [base-notebook, pangeo-notebook, pytorch-notebook]
IMAGE: [base-notebook, pangeo-notebook, dtf-notebook]
name: ${{ matrix.IMAGE }}
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CondaLock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IMAGE: [base-notebook, pangeo-notebook, pytorch-notebook]
IMAGE: [base-notebook, pangeo-notebook, dtf-notebook]
name: ${{ matrix.IMAGE }}
runs-on: ubuntu-latest
timeout-minutes: 180
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IMAGE: [base-image, base-notebook, pangeo-notebook, pytorch-notebook]
IMAGE: [dtf-notebook]
name: ${{ matrix.IMAGE }}
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
IMAGE: [base-notebook, pangeo-notebook, pytorch-notebook]
IMAGE: [base-notebook, pangeo-notebook, dtf-notebook]
name: ${{ matrix.IMAGE }}
runs-on: ubuntu-latest
services:
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Makefile for convenience, (doesn't look for command outputs)
.PHONY: all
all: base-image base-notebook pangeo-notebook pytorch-notebook
all: base-image base-notebook pangeo-notebook dtf-notebook
TESTDIR=/srv/test

.PHONY: base-image
Expand Down Expand Up @@ -30,13 +30,13 @@ pangeo-notebook : base-image
docker build -t cnes/pangeo-notebook:master . --progress=plain --platform linux/amd64; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) cnes/pangeo-notebook:master ./run_tests.sh pangeo-notebook

.PHONY: pytorch-notebook
pytorch-notebook : base-image
cd pytorch-notebook ; \
.PHONY: dtf-notebook
dtf-notebook : base-image
cd dtf-notebook ; \
cp -r ../pangeo-notebook/resources ../base-notebook/resources . ; \
conda-lock lock -f environment.yml -f ../pangeo-notebook/environment.yml -f ../base-notebook/environment.yml -p linux-64; \
conda-lock render -k explicit -p linux-64; \
../generate-packages-list.py conda-linux-64.lock > packages.txt; \
../merge-apt.sh ../pangeo-notebook/apt.txt ../base-notebook/apt.txt apt.txt; \
docker build -t cnes/pytorch-notebook:master . ; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) cnes/pytorch-notebook:master ./run_tests.sh pytorch-notebook
docker build -t cnes/dtf-notebook:master . ; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) cnes/dtf-notebook:master ./run_tests.sh dtf-notebook
File renamed without changes.
File renamed without changes.
776 changes: 403 additions & 373 deletions pytorch-notebook/conda-linux-64.lock → dtf-notebook/conda-linux-64.lock

Large diffs are not rendered by default.

Loading

0 comments on commit a75cf6b

Please sign in to comment.