Skip to content

Commit

Permalink
Add openshift_oauth as a workaround for RHOAIENG-3981
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison committed Mar 28, 2024
1 parent 7a8e8a1 commit ffd1dbc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ def ray_fn(openshift_server: str, openshift_token: str) -> int:
auth_return = auth.login()
print(f'auth_return: "{auth_return}"')
print("after login")
# openshift_oauth is a workaround for RHOAIENG-3981
cluster = Cluster(
ClusterConfiguration(
name="raytest",
# namespace must exist, and it is the same from 432__data-science-pipelines-tekton.robot
namespace="pipelineskfp1",
openshift_oauth=True,
num_workers=1,
head_cpus="500m",
min_memory=1,
Expand Down

0 comments on commit ffd1dbc

Please sign in to comment.