Skip to content

Commit 8138e24

Browse files
authored
Release notes for v2.11.18 (#949)
2 parents d5552b1 + 357d5dd commit 8138e24

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

docs/source/release_notes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Release Notes
33
=============
44

5+
2.11.18
6+
-------
7+
Release date: September 20, 2024
8+
9+
* Added ``with_artifact()`` in ``ContainerRuntime`` class to support running container job with additional artifact.
10+
511
2.11.17
612
-------
713
Release date: August 9, 2024

docs/source/user_guide/jobs/run_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Here is an example to create and run a container job:
2222

2323
To configure ``ContainerRuntime``, you must specify the container ``image``.
2424
Similar to other runtime, you can add environment variables.
25-
You can optionally specify the `entrypoint`, `cmd`, `image_digest` and `image_signature_id` for running the container.
25+
You can optionally specify the `entrypoint`, `cmd`, `image_digest` and `image_signature_id` for running the container. You may also add additional artifact (file or directory) if needed. Please note that if you add a directory, it will be compressed as a zip file under `/home/datascience` and you will need to unzip if in your container.
2626

2727
See also:
2828

docs/source/user_guide/jobs/tabs/container_runtime.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
.with_environment_variable(GREETINGS="Welcome to OCI Data Science")
3434
.with_entrypoint(["/bin/sh", "-c"])
3535
.with_cmd("sleep 5 && echo $GREETINGS")
36+
.artifact("<path/to/artifact>")
3637
)
3738
)
3839

@@ -69,6 +70,7 @@
6970
- name: GREETINGS
7071
value: Welcome to OCI Data Science
7172
image: <region>.ocir.io/<your_tenancy>/<your_image>
73+
scriptPathURI: path/to/artifact
7274

7375

7476
.. code-block:: python

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "flit_core.buildapi"
2121

2222
# Required
2323
name = "oracle_ads" # the install (PyPI) name; name for local build in [tool.flit.module] section below
24-
version = "2.11.17"
24+
version = "2.11.18"
2525

2626
# Optional
2727
description = "Oracle Accelerated Data Science SDK"
@@ -94,6 +94,7 @@ data = [
9494
]
9595
geo = [
9696
"geopandas<1.0.0", # in v1.0.0 removed the built-in dataset 'naturalearth_lowres', fix when relax version of geopandas needed
97+
"fiona<=1.9.6",
9798
"oracle_ads[viz]"
9899
]
99100
huggingface = [

0 commit comments

Comments
 (0)