Skip to content

Commit d653100

Browse files
committed
Merge branch 'main' into qiskit-main
2 parents 401e11e + 497fb0b commit d653100

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1247
-267
lines changed

charts/qiskit-serverless/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
- name: gateway
33
repository: ""
4-
version: 0.19.0
4+
version: 0.20.0
55
- name: nginx-ingress-controller
66
repository: https://charts.bitnami.com/bitnami
77
version: 9.11.0
@@ -11,5 +11,5 @@ dependencies:
1111
- name: kuberay-operator
1212
repository: https://ray-project.github.io/kuberay-helm
1313
version: 1.1.1
14-
digest: sha256:93a046a5058892f841d498bef5bede802fe06dddf07d76755cd66c2eabaec3a9
15-
generated: "2025-02-04T15:45:49.756017738Z"
14+
digest: sha256:ff4329caaee3f5dbea33e305a4c94c3ef0dc1f16ddafc477c5d4744a4e539ef9
15+
generated: "2025-02-25T15:58:02.359109934Z"

charts/qiskit-serverless/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: Qiskit-Serverless helm chart that contains different dependencies.
44

55
type: application
66

7-
version: 0.19.0
8-
appVersion: "0.19.0"
7+
version: 0.20.0
8+
appVersion: "0.20.0"
99

1010
dependencies:
1111
- name: gateway
1212
condition: gatewayEnable
13-
version: 0.19.0
13+
version: 0.20.0
1414
- name: nginx-ingress-controller
1515
condition: nginxIngressControllerEnable
1616
version: 9.11.0

charts/qiskit-serverless/charts/gateway/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.19.0
18+
version: 0.20.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.19.0"
24+
appVersion: "0.20.0"

charts/qiskit-serverless/charts/gateway/templates/deployment.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ spec:
109109
value: {{ .Values.application.auth.token.url | quote }}
110110
- name: SETTINGS_TOKEN_AUTH_VERIFICATION_FIELD
111111
value: {{ .Values.application.auth.token.verificationField | quote }}
112+
- name: IAM_IBM_CLOUD_BASE_URL
113+
value: {{ .Values.application.auth.token.iamUrl | quote }}
114+
- name: RESOURCE_CONTROLLER_IBM_CLOUD_BASE_URL
115+
value: {{ .Values.application.auth.token.resourceControllerUrl | quote }}
116+
- name: RESOURCE_PLANS_ID_ALLOWED
117+
value: {{ .Values.application.auth.token.resourcePlansAllowed | quote }}
112118
- name: SETTINGS_AUTH_MOCKPROVIDER_REGISTRY
113119
value: {{ .Values.application.authMockproviderRegistry }}
114120
- name: RAY_CLUSTER_WORKER_REPLICAS
@@ -156,8 +162,6 @@ spec:
156162
value: {{ .Values.application.ray.openTelemetryCollector.host }}:{{ .Values.application.ray.openTelemetryCollector.port }}
157163
- name: OTEL_EXPORTER_OTLP_TRACES_INSECURE
158164
value: {{ .Values.application.ray.openTelemetryCollector.insecure | quote }}
159-
- name: QISKIT_IBM_CHANNEL
160-
value: {{ .Values.application.qiskitRuntime.channel }}
161165
- name: QISKIT_IBM_URL
162166
value: {{ .Values.application.qiskitRuntime.url }}
163167
- name: IQP_QCON_API_BASE_URL

charts/qiskit-serverless/charts/gateway/values.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ application:
1818
superuser:
1919
enable: true
2020
ray:
21-
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.19.0"
21+
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.20.0"
2222
cpu: 2
2323
memory: 2
2424
gpu: 1
@@ -44,7 +44,6 @@ application:
4444
keepClusterOnComplete: False
4545
programTimeoutDays: 14
4646
qiskitRuntime:
47-
channel: "ibm_quantum"
4847
url: "https://auth.quantum-computing.ibm.com/api"
4948
iqpQcon:
5049
url: "https://api-qcon.quantum.ibm.com/api"

charts/qiskit-serverless/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Qiskit Serverless Info
33
# ===================
44
global:
5-
version: 0.19.0
5+
version: 0.20.0
66

77
# ===================
88
# Qiskit Serverless configs
@@ -47,7 +47,7 @@ gateway:
4747
image:
4848
repository: "icr.io/quantum-public/qiskit-serverless/gateway"
4949
pullPolicy: IfNotPresent
50-
tag: "0.19.0"
50+
tag: "0.20.0"
5151
application:
5252
siteHost: "http://gateway:8000"
5353
rayHost: "http://kuberay-head-svc:8265"
@@ -59,7 +59,7 @@ gateway:
5959
type: ClusterIP
6060
port: 8000
6161
ray:
62-
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.19.0"
62+
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.20.0"
6363
opensslImage: registry.access.redhat.com/ubi8/openssl:8.9-13
6464
kubectlImage: alpine/k8s:1.29.13
6565
gpuJobsConfig: "/tmp/gpujobs/gpu-jobs.json"

client/qiskit_serverless/VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.19.0
1+
0.20.0

client/qiskit_serverless/core/client.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ class BaseClient(JobService, RunService, JsonSerializable, ABC):
5757
"""
5858

5959
def __init__( # pylint: disable=too-many-positional-arguments
60-
self, name: str, host: Optional[str] = None, token: Optional[str] = None
60+
self,
61+
name: str,
62+
host: Optional[str] = None,
63+
token: Optional[str] = None,
64+
instance: Optional[str] = None,
6165
):
6266
"""
6367
Initialize a BaseClient instance.
@@ -66,10 +70,12 @@ def __init__( # pylint: disable=too-many-positional-arguments
6670
name: name of client
6771
host: host of client a.k.a managers host
6872
token: authentication token for manager
73+
instance: IBM Cloud CRN
6974
"""
7075
self.name = name
7176
self.host = host
7277
self.token = token
78+
self.instance = instance
7379

7480
@classmethod
7581
@abstractmethod

0 commit comments

Comments
 (0)