Skip to content

Commit

Permalink
Update default ray image to use static SHA tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiona-Waters authored and openshift-merge-bot[bot] committed Sep 23, 2024
1 parent 1235fc8 commit 9a59be8
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/codeflare_sdk/templates/base-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
containers:
# The Ray head pod
- name: ray-head
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
ports:
- containerPort: 6379
Expand Down Expand Up @@ -150,7 +150,7 @@ spec:
spec:
containers:
- name: machine-learning # must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc'
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
# environment variables to set in the container.Optional.
# Refer to https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
lifecycle:
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def get_ray_image():
default_ray_image = "quay.io/modh/ray:2.35.0-py39-cu121"
default_ray_image = "quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283"
return os.getenv("RAY_IMAGE", default_ray_image)


Expand Down
4 changes: 2 additions & 2 deletions tests/test-case-bad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -90,7 +90,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay.io/modh/ray:2.35.0-py39-cu121
image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-case-no-kueue-no-aw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
template:
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -103,7 +103,7 @@ spec:
key: value
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-case-no-mcad.yamls
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
template:
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -106,7 +106,7 @@ spec:
key: value
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
template:
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -111,7 +111,7 @@ spec:
key: value
spec:
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
lifecycle:
preStop:
exec:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-default-appwrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ spec:
spec:
imagePullSecrets: []
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
imagePullPolicy: Always
lifecycle:
preStop:
Expand Down Expand Up @@ -111,7 +111,7 @@ spec:
spec:
imagePullSecrets: []
containers:
- image: quay.io/modh/ray:2.35.0-py39-cu121
- image: quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283
lifecycle:
preStop:
exec:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_test_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def createClusterWrongType():
appwrapper=True,
machine_types=[True, False],
image_pull_secrets=["unit-test-pull-secret"],
image="quay.io/modh/ray:2.35.0-py39-cu121",
image="quay.io/modh/ray@sha256:83084b89885232e5733027b2ee45b83d3642ce32ae0b8e18b79ed45b6e734283",
write_to_file=True,
labels={1: 1},
)
Expand Down

0 comments on commit 9a59be8

Please sign in to comment.