-
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
- Loading branch information
Showing
8 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -7,33 +7,42 @@ on: | |
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma" | ||
LATEST_VERSION: "0.4.5" | ||
LATEST_VERSION: "0.4.6" | ||
|
||
jobs: | ||
build-images: | ||
strategy: | ||
matrix: | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5 ] | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6 ] | ||
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/arm/v6,linux/arm/v7,linux/arm64 | ||
build-args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}-dev,${{ env.IMAGE_NAME }}:canary" | ||
|
@@ -44,6 +53,8 @@ jobs: | |
context: . | ||
file: image/Dockerfile | ||
push: true | ||
build-args: | | ||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build- args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}-dev" |
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 |
---|---|---|
|
@@ -7,33 +7,42 @@ on: | |
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: "ghcr.io/amikos-tech/chromadb-chart/chroma" | ||
LATEST_VERSION: "0.4.5" | ||
LATEST_VERSION: "0.4.6" | ||
|
||
jobs: | ||
build-images: | ||
strategy: | ||
matrix: | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5 ] | ||
chroma-version: [ 0.4.3, 0.4.4, 0.4.5, 0.4.6 ] | ||
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/arm/v6,linux/arm/v7,linux/arm64 | ||
build-args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }},${{ env.IMAGE_NAME }}:latest" | ||
|
@@ -44,6 +53,7 @@ jobs: | |
context: . | ||
file: image/Dockerfile | ||
push: true | ||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 | ||
build-args: | | ||
CHROMA_VERSION=${{ matrix.chroma-version }} | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }},${{ env.IMAGE_NAME }}:latest" | ||
tags: "${{ env.IMAGE_NAME }}:${{ matrix.chroma-version }}" |
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
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