-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Added integration workflow Refs: #1 * fix: Added kubectl wait to wait for deployment to complete Refs: #1 * fix: Some issue with service. Experimenting with listing service. Refs: #1 * fix: Fixed the service issue and added matrix testing of kube versions Refs: #1 * chore: Updated test matrix to match chart kubeVersion range >=1.24 <= 1.27 Refs: #1 * fix: Fixed chart issue with boolean flags - Added further variance to the test matrix by including allowReset and isPersistent flags (no specific tests are implemented but those are coming soon) Refs: #1 * fix: Added docker image hnswlib rebuild + sqlite3 for debugging - Added a small test to ensure chroma is up and running. - Docker image rebuilt. * docs: Added small clarification how to build/push the docker image. * chore: Added bug and feature request issue templates and docker image in ghcr Refs: #2 * feat: Backup and restore feature Refs: #6 * feat: Backup and restore feature - Adding sudo to the image for fsfreeze use Refs: #6 * feat: Backup and restore feature - Making chroma user sudoer Refs: #6 * feat: Adding tests for v0.4.5 * feat: Adding Chroma 0.4.5 support to chart * feat: Updating WFs * feat: Lowering chart requirements to k8s API 1.23.0 * feat: Adding multi-platform build * fix: Moved platforms out of the matrix and directly into platform parameter of build-push action * fix: Fixed a typo in build images workflow. * chore: Removing hnswlib reinstall to check multi-arch build * feat: Adding support for Chroma 0.4.6 * chore: Updating integration tests * feat: Updating chart version and default version to 0.4.6 * fix: chroma-hnswlib reinstall is needed as it does uniformly work across platforms. * chore: Chart version bump for hnsw lib fix * chore: Chart version bump for hnsw lib fix * feat: Support for k8s API 1.28 and Chroma 0.4.7 Refs: #14 * feat: Support for k8s API 1.28 and Chroma 0.4.7 - Bumping upper bound of chart support. - Removed isPeristent/allowReset from test matrix to reduce generated jobs. Refs: #14 * fix: Made the integration test install local copy of the chart instead of pullingit. * fix: Updating chart version to allow RC Refs: #14 * chore: Version bumps - Default Chroma version set to 0.4.7 - Chart version bump Refs: #14 * feat: Chroma auth support - Token and basic auth support - Bumping chart version - Added chroma 0.4.8 and 0.4.9 support - Minor tweaks to Dockerfile Refs: #13 * feat: Chroma auth support - Fixed image builds Refs: #13 * feat: Chroma auth support - bump wait time Refs: #13 * feat: Chroma auth support - Adding debug Refs: #13 * feat: Chroma auth support - Adding debug Refs: #13 * feat: Chroma auth support - Adding debug Refs: #13 * feat: Chroma auth support - Merging dev image build with int test Refs: #13 * feat: Chroma auth support - Fixed a typo in dev image build Refs: #13 * feat: Chroma auth support - Fixed wrong chart value in integration test. Refs: #13 * feat: Chroma auth support - Increasing wait time for pod Refs: #13 * feat: Chroma auth support - Chasing 0.4.7 bug Refs: #13 * feat: Chroma auth support - Chasing 0.4.7 bug Refs: #13 * feat: Chroma auth support - Chasing 0.4.7 bug Refs: #13 * feat: Chroma auth support - Conditional support of auth: basic (0.4.7), token (0.4.8) Refs: #13 * feat: Chroma auth support - Added full test matrix Refs: #13 * feat: Chroma auth support - Int testing is now trigger for changes in Chart, tests, Docker image Refs: #13
- Loading branch information
Showing
12 changed files
with
242 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,75 @@ | ||
name: Integration test | ||
name: Dev Image Build and Integration test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
paths: | ||
- charts/** | ||
- image/** | ||
- tests/** | ||
pull_request: | ||
branches: | ||
- main | ||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma" | ||
LATEST_VERSION: "0.4.9" | ||
jobs: | ||
release: | ||
build-images: | ||
strategy: | ||
matrix: | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Log in to the Container registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ${{ env.IMAGE_NAME }} | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Build and push release Docker image | ||
uses: docker/[email protected] | ||
if: ${{ env.LATEST_VERSION == matrix.chroma-version }} | ||
with: | ||
context: . | ||
file: image/Dockerfile | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
build-args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}-dev,${{ env.IMAGE_NAME }}:canary" | ||
- name: Build and push release Docker image | ||
uses: docker/[email protected] | ||
if: ${{ env.LATEST_VERSION != matrix.chroma-version }} | ||
with: | ||
context: . | ||
file: image/Dockerfile | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}-dev" | ||
integration-test: | ||
needs: build-images | ||
strategy: | ||
matrix: | ||
kubernetes-version: [1.23.0, 1.24.0, 1.27.3, v1.28.0-rc.0 ] | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7 ] | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -31,17 +87,12 @@ jobs: | |
uses: medyagh/setup-minikube@latest | ||
with: | ||
kubernetes-version: ${{ matrix.kubernetes-version }} | ||
# - name: Add helm repo | ||
# run: | | ||
# set -e | ||
# helm repo add chromadb https://amikos-tech.github.io/chromadb-chart/ | ||
# helm repo update | ||
- name: Install chromadb | ||
run: | | ||
set -e | ||
helm install chromadb ./charts/chromadb-chart --set chromadb.isPersistent=true \ | ||
--set chromadb.allowReset=true \ | ||
--set chromadb.chromaVersion=${{ matrix.chroma-version }} | ||
--set chromadb.apiVersion=${{ matrix.chroma-version }}-dev | ||
- name: Wait for deployment to be ready | ||
run: | | ||
set -e | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.