Skip to content

Commit

Permalink
Cut v0.2.0-rc.1 release (#516)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jeffwan authored Dec 10, 2024
1 parent ab1c382 commit 0d40fbd
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/autoscaling/7b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/gateway/7b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions config/overlays/release/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions docs/source/development/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/getting_started/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions hack/sync-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Error: Missing required parameters."
echo "Usage: $0 <version> <region>"
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
Expand Down
2 changes: 1 addition & 1 deletion python/aibrix/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
Expand Down

0 comments on commit 0d40fbd

Please sign in to comment.