diff --git a/.github/ISSUE_TEMPLATE/new-release.md b/.github/ISSUE_TEMPLATE/new-release.md index efcaf0d..f10d23f 100644 --- a/.github/ISSUE_TEMPLATE/new-release.md +++ b/.github/ISSUE_TEMPLATE/new-release.md @@ -12,35 +12,27 @@ assignees: '' Please do not remove items from the checklist --> - [ ] All [OWNERS](https://github.com/inftyai/llmaz/blob/main/OWNERS) must LGTM the release proposal -- [ ] Verify that the changelog in this issue is up-to-date - [ ] Prepare the image and files - [ ] Run `PLATFORMS=linux/amd64 make image-push GIT_TAG=$VERSION` to build and push an image. - [ ] Run `make artifacts GIT_TAG=$VERSION` to generate the artifact. - [ ] Run `make helm-package` to package the helm chart and update the index.yaml. -- [ ] Update `docs/installation.md`, `chart/README.md` +- [ ] Update `chart/Chart.yaml` and `docs/installation.md`, the helm version is different with the app version. - [ ] Submit a PR and merge it. - [ ] An OWNER [prepares a draft release](https://github.com/inftyai/llmaz/releases) - [ ] Create a new tag - - [ ] Write the change log into the draft release + - [ ] Write the change log into the draft release which should include below items if any: + ``` + 🚀 **Major Features**: + ✨ **Features**: + 🐛 **Bugs**: + ♻️ **Cleanups**: + ``` - [ ] Upload the files to the draft release. - - `manifests.yaml` under artifacts - - new generated helm chart `*.zip` file + - [ ] `manifests.yaml` under artifacts + - [ ] new generated helm chart `*.zip` file - [ ] Publish the draft release prepared at the [Github releases page](https://github.com/inftyai/llmaz/releases) - [ ] Publish the helm chart - [ ] Run `git checkout gh-pages` - [ ] Copy the `index.yaml` from main branch - [ ] Submit a PR and merge it. - [ ] Close this issue - -## Changelog - - -🚀 **Major Features**: - -✨ **Features**: - -🐛 **Bugs**: - -♻️ **Cleanups**: \ No newline at end of file diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 6cc3844..245e6ce 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -13,9 +13,9 @@ type: application # 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.3 +version: 0.0.4 # 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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 0.0.7 +appVersion: 0.0.8 diff --git a/chart/crds/openmodel-crd.yaml b/chart/crds/openmodel-crd.yaml index 796833f..5ba9cf8 100644 --- a/chart/crds/openmodel-crd.yaml +++ b/chart/crds/openmodel-crd.yaml @@ -119,13 +119,26 @@ spec: description: ModelHub represents the model registry for model downloads. properties: + allowPatterns: + description: AllowPatterns refers to files matched with at + least one pattern will be downloaded. + items: + type: string + type: array filename: description: |- Filename refers to a specified model file rather than the whole repo. This is helpful to download a specified GGUF model rather than downloading the whole repo which includes all kinds of quantized models. in the near future. + Note: once filename is set, allowPatterns and ignorePatterns should be left unset. type: string + ignorePatterns: + description: IgnorePatterns refers to files matched with any + of the patterns will not be downloaded. + items: + type: string + type: array modelID: description: |- ModelID refers to the model identifier on model hub, diff --git a/chart/values.yaml b/chart/values.yaml index 492c2b0..25c5050 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -33,7 +33,7 @@ controllerManager: - ALL image: repository: inftyai/llmaz - tag: v0.0.7 + tag: v0.0.8 resources: limits: cpu: 500m diff --git a/config/crd/bases/llmaz.io_openmodels.yaml b/config/crd/bases/llmaz.io_openmodels.yaml index 27a661f..b26622b 100644 --- a/config/crd/bases/llmaz.io_openmodels.yaml +++ b/config/crd/bases/llmaz.io_openmodels.yaml @@ -111,8 +111,8 @@ spec: downloads. properties: allowPatterns: - description: AllowPatterns refers to only files matching at - least one pattern are downloaded. + description: AllowPatterns refers to files matched with at + least one pattern will be downloaded. items: type: string type: array @@ -122,10 +122,11 @@ spec: This is helpful to download a specified GGUF model rather than downloading the whole repo which includes all kinds of quantized models. in the near future. + Note: once filename is set, allowPatterns and ignorePatterns should be left unset. type: string ignorePatterns: - description: IgnorePatterns refers to files matching any of - the patterns are not downloaded. + description: IgnorePatterns refers to files matched with any + of the patterns will not be downloaded. items: type: string type: array diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 0b649b8..fc8bdd5 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: inftyai/llmaz - newTag: v0.0.7 + newTag: v0.0.8 diff --git a/docs/installation.md b/docs/installation.md index b398a0f..360b2ce 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -12,7 +12,7 @@ ```cmd helm repo add inftyai https://inftyai.github.io/llmaz helm repo update -helm install llmaz inftyai/llmaz --namespace llmaz-system --create-namespace --version 0.0.3 +helm install llmaz inftyai/llmaz --namespace llmaz-system --create-namespace --version 0.0.4 ``` ### Uninstall diff --git a/index.yaml b/index.yaml index 260a81f..be46717 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,16 @@ apiVersion: v1 entries: llmaz: + - apiVersion: v2 + appVersion: 0.0.8 + created: "2024-10-23T16:25:18.126844+08:00" + description: A Helm chart for llmaz + digest: e044f45cab602cdaab7a89a62494b46ace6c324ead014aca546a5362692509b8 + name: llmaz + type: application + urls: + - https://inftyai.github.io/llmaz/llmaz-0.0.4.tgz + version: 0.0.4 - apiVersion: v2 appVersion: 0.0.7 created: "2024-09-12T16:49:31.224669+08:00" @@ -31,4 +41,4 @@ entries: urls: - https://inftyai.github.io/llmaz/llmaz-0.0.1.tgz version: 0.0.1 -generated: "2024-09-12T16:49:31.210833+08:00" +generated: "2024-10-23T16:25:18.101337+08:00" diff --git a/pkg/defaults.go b/pkg/defaults.go index f350c17..be857c2 100644 --- a/pkg/defaults.go +++ b/pkg/defaults.go @@ -17,5 +17,5 @@ limitations under the License. package pkg const ( - LOADER_IMAGE = "inftyai/model-loader:v0.0.8" + LOADER_IMAGE = "inftyai/model-loader:v0.0.9" )