Skip to content

Commit

Permalink
CI + container runtime selection
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Jan 1, 2025
1 parent 1359318 commit df372f3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- run: |
docker pull ghcr.io/eoap/mastering-app-package/crop@sha256:324a0735cc4998f3f790c0e9b7a7df28e8ce8987d5f0798bd2d63c0e72d17dca
docker pull ghcr.io/eoap/mastering-app-package/merge@sha256:324a0735cc4998f3f790c0e9b7a7df28e8ce8987d5f0798bd2d63c0e72d17dca
docker pull ghcr.io/eoap/mastering-app-package/norm_diff@sha256:632991ef2c15e98c46cfa1ac7dd35a638bbe4e5c434d7503a76cf3570b17383f
docker pull ghcr.io/eoap/mastering-app-package/otsu@sha256:0541948f46a7a1a9f30f17973b7833482660f085700ccc98bb743a35a37dabae
docker pull ghcr.io/eoap/mastering-app-package/stac@sha256:e2ee1914cd06a0abc369034a8c8ef9ecf9b8e872b2efbc864d41c741e9faa392
docker pull ghcr.io/eoap/zarr-cloud-native-format/stac-zarr@sha256:092de23d9454812fc2ab7339295b1decb36ba3cbf2337f8b92a23808d6a4e232
Expand Down
18 changes: 16 additions & 2 deletions docs/exploitation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,24 @@
"from io import StringIO\n",
"import yaml\n",
"import json\n",
"\n",
"from shutil import which\n",
"nest_asyncio.apply()"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"if which(\"podman\"):\n",
" podman = True\n",
"elif which(\"docker\"):\n",
" podman = False\n",
"else:\n",
" raise ValueError(\"No container engine\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down Expand Up @@ -52,7 +66,7 @@
"outputs": [],
"source": [
"parsed_args = argparse.Namespace(\n",
" podman=False,\n",
" podman=podman,\n",
" parallel=True,\n",
" validate=False,\n",
" debug=False,\n",
Expand Down

0 comments on commit df372f3

Please sign in to comment.