update-version-0.15.0 (#1446)
* [create-pull-request] automated change * Updated some refs from last ray image changes * Update .github/workflows/update-component-versions.yaml Co-authored-by: Paul Schweigert <paul@paulschweigert.com> * Remove version from test * Update helm publish gha --------- Co-authored-by: Tansito <9059044+Tansito@users.noreply.github.com> Co-authored-by: Paul Schweigert <paul@paulschweigert.com>
This commit is contained in:
parent
6235f971b1
commit
e3ece4834f
|
@ -5,7 +5,7 @@ on:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package:
|
package:
|
||||||
|
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sed -i "s/${OLDNUM}/${NEWNUM}/g" docs/deployment/cloud.rst
|
sed -i "s/${OLDNUM}/${NEWNUM}/g" docs/deployment/cloud.rst
|
||||||
sed -i "s/${OLDNUM}-py310/${NEWNUM}-py310/g" docs/deployment/deploying_custom_image_function.rst
|
sed -i "s/${OLDNUM}-py310/${NEWNUM}/g" docs/deployment/deploying_custom_image_function.rst
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@cd5c7e4b8bff84befe9c12e7cffbecfda02c7ce9 #6.1.0
|
uses: peter-evans/create-pull-request@cd5c7e4b8bff84befe9c12e7cffbecfda02c7ce9 #6.1.0
|
||||||
|
|
|
@ -217,7 +217,7 @@ git rebase main issue-1234-new-feature
|
||||||
### Adding tests
|
### Adding tests
|
||||||
|
|
||||||
Our team upholds the philosophy that a healthy codebase will include the proper amount of testing.
|
Our team upholds the philosophy that a healthy codebase will include the proper amount of testing.
|
||||||
From the project you are working on, you can run tests with `tox -epy310`.
|
From the project you are working on, you can run tests with `tox -epy311`.
|
||||||
Note if you run this command from qiskit-serverless top directory, it will build the project documentation.
|
Note if you run this command from qiskit-serverless top directory, it will build the project documentation.
|
||||||
For detailed testing guidelines using tox environments, please refer to [this documentation](./client/tests/README.md).
|
For detailed testing guidelines using tox environments, please refer to [this documentation](./client/tests/README.md).
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
repository: ""
|
repository: ""
|
||||||
version: 0.14.2
|
version: 0.15.0
|
||||||
- name: nginx-ingress-controller
|
- name: nginx-ingress-controller
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 9.11.0
|
version: 9.11.0
|
||||||
|
@ -11,5 +11,5 @@ dependencies:
|
||||||
- name: kuberay-operator
|
- name: kuberay-operator
|
||||||
repository: https://ray-project.github.io/kuberay-helm
|
repository: https://ray-project.github.io/kuberay-helm
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
digest: sha256:31e0c7ee15c26725bd1b559f24fa30fbdab506de77afc0311c6657ddf890ed2c
|
digest: sha256:ae36b6484ca8d81355ba63f079abad6f1c9e0677be890d63e3c47ca3ccbe73b8
|
||||||
generated: "2024-08-01T16:29:27.215746-04:00"
|
generated: "2024-08-06T22:24:25.007524029Z"
|
||||||
|
|
|
@ -4,13 +4,13 @@ description: Qiskit-Serverless helm chart that contains different dependencies.
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
version: 0.14.2
|
version: 0.15.0
|
||||||
appVersion: "0.14.2"
|
appVersion: "0.15.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
condition: gatewayEnable
|
condition: gatewayEnable
|
||||||
version: 0.14.2
|
version: 0.15.0
|
||||||
- name: nginx-ingress-controller
|
- name: nginx-ingress-controller
|
||||||
condition: nginxIngressControllerEnable
|
condition: nginxIngressControllerEnable
|
||||||
version: 9.11.0
|
version: 9.11.0
|
||||||
|
|
|
@ -15,10 +15,10 @@ type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.14.2
|
version: 0.15.0
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "0.14.2"
|
appVersion: "0.15.0"
|
||||||
|
|
|
@ -18,7 +18,7 @@ application:
|
||||||
superuser:
|
superuser:
|
||||||
enable: true
|
enable: true
|
||||||
ray:
|
ray:
|
||||||
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2"
|
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0"
|
||||||
cpu: 2
|
cpu: 2
|
||||||
memory: 2
|
memory: 2
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
@ -26,7 +26,7 @@ application:
|
||||||
maxReplicas: 4
|
maxReplicas: 4
|
||||||
opensslImage: registry.access.redhat.com/ubi8/openssl:8.8-9
|
opensslImage: registry.access.redhat.com/ubi8/openssl:8.8-9
|
||||||
kubectlImage: alpine/k8s:1.29.2@sha256:a51aa37f0a34ff827c7f2f9cb7f6fbb8f0e290fa625341be14c2fcc4b1880f60
|
kubectlImage: alpine/k8s:1.29.2@sha256:a51aa37f0a34ff827c7f2f9cb7f6fbb8f0e290fa625341be14c2fcc4b1880f60
|
||||||
proxyImage: "icr.io/quantum-public/qiskit-serverless/proxy:0.14.2"
|
proxyImage: "icr.io/quantum-public/qiskit-serverless/proxy:0.15.0"
|
||||||
scrapeWithPrometheus: true
|
scrapeWithPrometheus: true
|
||||||
openTelemetry: false
|
openTelemetry: false
|
||||||
openTelemetryCollector:
|
openTelemetryCollector:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Qiskit Serverless Info
|
# Qiskit Serverless Info
|
||||||
# ===================
|
# ===================
|
||||||
global:
|
global:
|
||||||
version: 0.14.2
|
version: 0.15.0
|
||||||
|
|
||||||
# ===================
|
# ===================
|
||||||
# Qiskit Serverless configs
|
# Qiskit Serverless configs
|
||||||
|
@ -47,7 +47,7 @@ gateway:
|
||||||
image:
|
image:
|
||||||
repository: "icr.io/quantum-public/qiskit-serverless/gateway"
|
repository: "icr.io/quantum-public/qiskit-serverless/gateway"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: "0.14.2"
|
tag: "0.15.0"
|
||||||
application:
|
application:
|
||||||
siteHost: "http://gateway:8000"
|
siteHost: "http://gateway:8000"
|
||||||
rayHost: "http://kuberay-head-svc:8265"
|
rayHost: "http://kuberay-head-svc:8265"
|
||||||
|
@ -59,7 +59,7 @@ gateway:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8000
|
port: 8000
|
||||||
ray:
|
ray:
|
||||||
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2"
|
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0"
|
||||||
opensslImage: registry.access.redhat.com/ubi8/openssl:8.8-9
|
opensslImage: registry.access.redhat.com/ubi8/openssl:8.8-9
|
||||||
kubectlImage: alpine/k8s:1.29.2@sha256:a51aa37f0a34ff827c7f2f9cb7f6fbb8f0e290fa625341be14c2fcc4b1880f60
|
kubectlImage: alpine/k8s:1.29.2@sha256:a51aa37f0a34ff827c7f2f9cb7f6fbb8f0e290fa625341be14c2fcc4b1880f60
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.14.2
|
0.15.0
|
|
@ -39,7 +39,7 @@ The command `tox -eblack` will reformat all files in the repository according to
|
||||||
The `py##` environments are the main test environments. tox defines one for each version of Python. For instance, the following command will run the tests on Python 3.9 and Python 3.10:
|
The `py##` environments are the main test environments. tox defines one for each version of Python. For instance, the following command will run the tests on Python 3.9 and Python 3.10:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ tox -epy39,py310
|
$ tox -epy311
|
||||||
```
|
```
|
||||||
|
|
||||||
First, these environments execute all tests using [pytest], which supports its own simple style of tests, in addition to [unittest]-style tests and [doctests] located throughout the project's docstrings.
|
First, these environments execute all tests using [pytest], which supports its own simple style of tests, in addition to [unittest]-style tests and [doctests] located throughout the project's docstrings.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
testrayhead:
|
testrayhead:
|
||||||
container_name: testrayhead
|
container_name: testrayhead
|
||||||
image: icr.io/quantum-public/qiskit-serverless/ray-node:latest-py310
|
image: icr.io/quantum-public/qiskit-serverless/ray-node:latest
|
||||||
entrypoint: [
|
entrypoint: [
|
||||||
"ray", "start", "--head", "--port=6379",
|
"ray", "start", "--head", "--port=6379",
|
||||||
"--dashboard-host=0.0.0.0", "--block"
|
"--dashboard-host=0.0.0.0", "--block"
|
||||||
|
|
|
@ -3,7 +3,7 @@ services:
|
||||||
ray-head:
|
ray-head:
|
||||||
user: "0"
|
user: "0"
|
||||||
container_name: ray-head
|
container_name: ray-head
|
||||||
image: icr.io/quantum-public/qiskit-serverless/ray-node:${VERSION:-0.14.2}-py310
|
image: icr.io/quantum-public/qiskit-serverless/ray-node:${VERSION:-0.15.0}
|
||||||
entrypoint: [
|
entrypoint: [
|
||||||
"ray", "start", "--head", "--port=6379",
|
"ray", "start", "--head", "--port=6379",
|
||||||
"--dashboard-host=0.0.0.0", "--block"
|
"--dashboard-host=0.0.0.0", "--block"
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
always
|
always
|
||||||
gateway:
|
gateway:
|
||||||
container_name: gateway
|
container_name: gateway
|
||||||
image: icr.io/quantum-public/qiskit-serverless/gateway:${VERSION:-0.14.2}
|
image: icr.io/quantum-public/qiskit-serverless/gateway:${VERSION:-0.15.0}
|
||||||
command: gunicorn main.wsgi:application --bind 0.0.0.0:8000 --workers=4
|
command: gunicorn main.wsgi:application --bind 0.0.0.0:8000 --workers=4
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
|
@ -53,7 +53,7 @@ services:
|
||||||
- postgres
|
- postgres
|
||||||
scheduler:
|
scheduler:
|
||||||
container_name: scheduler
|
container_name: scheduler
|
||||||
image: icr.io/quantum-public/qiskit-serverless/gateway:${VERSION:-0.14.2}
|
image: icr.io/quantum-public/qiskit-serverless/gateway:${VERSION:-0.15.0}
|
||||||
entrypoint: "./scripts/scheduler.sh"
|
entrypoint: "./scripts/scheduler.sh"
|
||||||
environment:
|
environment:
|
||||||
- DEBUG=0
|
- DEBUG=0
|
||||||
|
|
|
@ -84,7 +84,7 @@ Once your cluster is ready, the installation is relatively straightforward with
|
||||||
and run the next commands:
|
and run the next commands:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:caption: run this commands with the release version like 0.14.2 in x.y.z (2 places)
|
:caption: run this commands with the release version like 0.15.0 in x.y.z (2 places)
|
||||||
|
|
||||||
$ helm -n <INSERT_YOUR_NAMESPACE> install qiskit-serverless --create-namespace https://github.com/Qiskit/qiskit-serverless/releases/download/vx.y.z/qiskit-serverless-x.y.z.tgz
|
$ helm -n <INSERT_YOUR_NAMESPACE> install qiskit-serverless --create-namespace https://github.com/Qiskit/qiskit-serverless/releases/download/vx.y.z/qiskit-serverless-x.y.z.tgz
|
||||||
|
|
||||||
|
@ -119,6 +119,6 @@ with the configuration of your domain and provider.
|
||||||
Optionally, you can install an observability package to handle logging and monitoring on your cluster by running the following command:
|
Optionally, you can install an observability package to handle logging and monitoring on your cluster by running the following command:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:caption: run this commands with the release version like 0.14.2 in x.y.z (2 places) using the same namespace as in the previous helm command
|
:caption: run this commands with the release version like 0.15.0 in x.y.z (2 places) using the same namespace as in the previous helm command
|
||||||
|
|
||||||
$ helm -n <INSERT_YOUR_NAMESPACE> install qs-observability https://github.com/Qiskit/qiskit-serverless/releases/download/vx.y.z/qs-observability-x.y.z.tgz
|
$ helm -n <INSERT_YOUR_NAMESPACE> install qs-observability https://github.com/Qiskit/qiskit-serverless/releases/download/vx.y.z/qs-observability-x.y.z.tgz
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310@sha256:e012a6f7159b2660dd87af15bf85029fe62bec22e6bef7d99e54ca0cfa4f3aa6
|
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0
|
||||||
|
|
||||||
# install all necessary dependencies for your custom image
|
# install all necessary dependencies for your custom image
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ In our simple case it will look something like this:
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:caption: Dockerfile for custom image function.
|
:caption: Dockerfile for custom image function.
|
||||||
|
|
||||||
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310
|
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0
|
||||||
|
|
||||||
# install all necessary dependencies for your custom image
|
# install all necessary dependencies for your custom image
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ Dockerfile
|
||||||
.. code-block::
|
.. code-block::
|
||||||
:caption: Dockerfile
|
:caption: Dockerfile
|
||||||
|
|
||||||
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310
|
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0
|
||||||
|
|
||||||
# install all necessary dependencies for your custom image
|
# install all necessary dependencies for your custom image
|
||||||
|
|
||||||
|
|
|
@ -320,7 +320,7 @@ RAY_CLUSTER_MODE = {
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
RAY_NODE_IMAGE = os.environ.get(
|
RAY_NODE_IMAGE = os.environ.get(
|
||||||
"RAY_NODE_IMAGE", "icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2"
|
"RAY_NODE_IMAGE", "icr.io/quantum-public/qiskit-serverless/ray-node:0.15.0"
|
||||||
)
|
)
|
||||||
RAY_CLUSTER_WORKER_REPLICAS = int(os.environ.get("RAY_CLUSTER_WORKER_REPLICAS", "1"))
|
RAY_CLUSTER_WORKER_REPLICAS = int(os.environ.get("RAY_CLUSTER_WORKER_REPLICAS", "1"))
|
||||||
RAY_CLUSTER_WORKER_REPLICAS_MAX = int(
|
RAY_CLUSTER_WORKER_REPLICAS_MAX = int(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.1
|
minversion = 2.1
|
||||||
envlist = py39, py310, lint, coverage
|
envlist = py311, lint, coverage
|
||||||
# CI: skip-next-line
|
# CI: skip-next-line
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
# CI: skip-next-line
|
# CI: skip-next-line
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM icr.io/quantum-public/qiskit-serverless/ray-node:0.14.2-py310
|
FROM icr.io/quantum-public/qiskit-serverless/ray-node:latest
|
||||||
|
|
||||||
# install all necessary dependencies for your custom image
|
# install all necessary dependencies for your custom image
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue