From 0d40fbd19ba01daf1aa6267515814c18f19aaa09 Mon Sep 17 00:00:00 2001 From: Jiaxin Shan Date: Tue, 10 Dec 2024 11:52:55 -0800 Subject: [PATCH] Cut v0.2.0-rc.1 release (#516) 1. Add release manifest folder for stable version in main branch instead of reusing config/default and distinguish by tags 2. Update tag to v0.2.0-rc.1 --- .github/workflows/release-build.yaml | 2 +- README.md | 8 +++--- benchmarks/autoscaling/7b.yaml | 2 +- benchmarks/gateway/7b.yaml | 2 +- config/overlays/release/kustomization.yaml | 26 ++++++++++++++++++++ docs/source/development/release.rst | 4 +-- docs/source/getting_started/installation.rst | 4 +-- docs/source/getting_started/quickstart.rst | 4 +-- hack/sync-images.sh | 4 +-- python/aibrix/pyproject.toml | 2 +- 10 files changed, 42 insertions(+), 16 deletions(-) create mode 100644 config/overlays/release/kustomization.yaml diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 7edb5fb0..f1529c6f 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -106,7 +106,7 @@ jobs: - name: Build Kustomize run: | kustomize build config/dependency > aibrix-dependency-${{ github.ref_name }}.yaml - kustomize build config/default > aibrix-core-${{ github.ref_name }}.yaml + kustomize build config/overlays/release > aibrix-core-${{ github.ref_name }}.yaml # Upload the Kustomize YAML as a release artifact - name: Upload Kustomize YAML diff --git a/README.md b/README.md index 954319b8..26d4c764 100644 --- a/README.md +++ b/README.md @@ -24,20 +24,20 @@ To get started with AIBrix, clone this repository and follow the setup instructi git clone https://github.com/aibrix/aibrix.git cd aibrix -# Install component dependencies +# Install nightly aibrix dependencies kubectl create -k config/dependency -# Install aibrix components +# Install nightly aibrix components kubectl create -k config/default ``` Install stable distribution ```shell # Install component dependencies -kubectl create -k "github.com/aibrix/aibrix/config/dependency?ref=v0.1.1" +kubectl create -k "github.com/aibrix/aibrix/config/dependency?ref=v0.2.0-rc.1" # Install aibrix components -kubectl create -k "github.com/aibrix/aibrix/config/default?ref=v0.1.1" +kubectl create -k "github.com/aibrix/aibrix/config/overlays/release?ref=v0.2.0-rc.1" ``` ## Documentation diff --git a/benchmarks/autoscaling/7b.yaml b/benchmarks/autoscaling/7b.yaml index 4069262e..6598e003 100644 --- a/benchmarks/autoscaling/7b.yaml +++ b/benchmarks/autoscaling/7b.yaml @@ -78,7 +78,7 @@ spec: - name: dshm mountPath: /dev/shm - name: aibrix-runtime - image: aibrix-container-registry-cn-beijing.cr.volces.com/aibrix/runtime:v0.1.1 + image: aibrix-container-registry-cn-beijing.cr.volces.com/aibrix/runtime:v0.2.0-rc.1 command: - aibrix_runtime - --port diff --git a/benchmarks/gateway/7b.yaml b/benchmarks/gateway/7b.yaml index a44618a1..55219e29 100644 --- a/benchmarks/gateway/7b.yaml +++ b/benchmarks/gateway/7b.yaml @@ -78,7 +78,7 @@ spec: - name: dshm mountPath: /dev/shm - name: aibrix-runtime - image: aibrix-container-registry-cn-beijing.cr.volces.com/aibrix/runtime:v0.1.1 + image: aibrix-container-registry-cn-beijing.cr.volces.com/aibrix/runtime:v0.2.0-rc.1 command: - aibrix_runtime - --port diff --git a/config/overlays/release/kustomization.yaml b/config/overlays/release/kustomization.yaml new file mode 100644 index 00000000..0460ca08 --- /dev/null +++ b/config/overlays/release/kustomization.yaml @@ -0,0 +1,26 @@ +# this manifest is for public stable release. +# Please override the tag with latest stable tags. +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: +- ../../default + +images: +- name: quay.io/kuberay/operator + newName: aibrix/kuberay-operator + newTag: v1.2.1-patch +- name: envoyproxy/envoy + newTag: distroless-v1.31.0 +- name: busybox + newTag: stable +- name: redis + newTag: latest +- name: aibrix/plugins + newTag: v0.2.0-rc.1 +- name: aibrix/users + newTag: v0.2.0-rc.1 +- name: aibrix/controller-manager + newTag: v0.2.0-rc.1 +- name: aibrix/runtime + newTag: v0.2.0-rc.1 diff --git a/docs/source/development/release.rst b/docs/source/development/release.rst index d27ac221..2630af5b 100644 --- a/docs/source/development/release.rst +++ b/docs/source/development/release.rst @@ -114,8 +114,8 @@ we need to retag the images and push to VKE Container Registry. .. code-block:: bash - ./hack/sync-images.sh v0.1.1 aibrix-container-registry-cn-beijing.cr.volces.com - ./hack/sync-images.sh v0.1.1 aibrix-container-registry-cn-shanghai.cr.volces.com + ./hack/sync-images.sh v0.2.0-rc.1 aibrix-container-registry-cn-beijing.cr.volces.com + ./hack/sync-images.sh v0.2.0-rc.1 aibrix-container-registry-cn-shanghai.cr.volces.com Update released tags in main branch docs diff --git a/docs/source/getting_started/installation.rst b/docs/source/getting_started/installation.rst index 8744861a..6c167be8 100644 --- a/docs/source/getting_started/installation.rst +++ b/docs/source/getting_started/installation.rst @@ -22,8 +22,8 @@ Stable Version .. code:: bash - kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-dependency-v0.1.1.yaml - kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-core-v0.1.1.yaml + kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-dependency-v0.2.0-rc.1.yaml + kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-core-v0.2.0-rc.1.yaml Nightly Version diff --git a/docs/source/getting_started/quickstart.rst b/docs/source/getting_started/quickstart.rst index 6499c084..d4098535 100644 --- a/docs/source/getting_started/quickstart.rst +++ b/docs/source/getting_started/quickstart.rst @@ -12,8 +12,8 @@ Install AIBrix .. code-block:: bash - kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-dependency-v0.1.1.yaml - kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.1.1/aibrix-core-v0.1.1.yaml + kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.2.0-rc.1/aibrix-dependency-v0.2.0-rc.1.yaml + kubectl apply -f https://github.com/aibrix/aibrix/releases/download/v0.2.0-rc.1/aibrix-core-v0.2.0-rc.1.yaml Deploy base model diff --git a/hack/sync-images.sh b/hack/sync-images.sh index 27dfee26..c94751c9 100755 --- a/hack/sync-images.sh +++ b/hack/sync-images.sh @@ -4,11 +4,11 @@ if [ -z "$1" ] || [ -z "$2" ]; then echo "Error: Missing required parameters." echo "Usage: $0 " - echo "Example: $0 v0.1.1 aibrix-container-registry-cn-beijing.cr.volces.com" + echo "Example: $0 v0.2.0-rc.1 aibrix-container-registry-cn-beijing.cr.volces.com" exit 1 fi -# aibrix tag,e.g. v0.1.1 +# aibrix tag,e.g. v0.2.0-rc.1 # registry,e.g. aibrix-container-registry-cn-beijing.cr.volces.com VERSION=$1 REGISTRY=$2 diff --git a/python/aibrix/pyproject.toml b/python/aibrix/pyproject.toml index 50ba8563..3c172a89 100644 --- a/python/aibrix/pyproject.toml +++ b/python/aibrix/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aibrix" -version = "0.1.0-rc.2" +version = "0.2.0-rc.1" description = "AIBrix, the foundational building blocks for constructing your own GenAI inference infrastructure." authors = [ "AIBrix Authors "