Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): setup release-please to assist with manage version refs internally #465

Merged
merged 5 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.6.1"
}
37 changes: 37 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"packages": {
".": {
"release-type": "simple",
"changelog-path": "CHANGELOG.md",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false }
],
"versioning": "default",
"extra-files": [
"pyproject.toml",
{
"type": "generic",
"path": "**/Chart.yaml",
"glob": true
},
{
"type": "generic",
"path": "**/values.yaml",
"glob": true
},
{
"type": "generic",
"path": "**/zarf.yaml",
"glob": true
},
{
"type": "generic",
"path": "**/uds-bundle.yaml",
"glob": true
}
]
}
}
}
21 changes: 21 additions & 0 deletions .github/workflows/tag-for-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

name: Tag LeapfrogAI

on:
push:
branches:
- main

jobs:
tag-new-version:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Create release tag
id: tag
uses: google-github-actions/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/.release-please-manifest.json
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

## [0.6.1](https://github.com/defenseunicorns/leapfrogai/compare/v0.6.0...v0.6.1) (2024-04-12)

### Features

### Bug Fixes
* fix: remove hardcoded gpu request value by @YrrepNoj in https://github.com/defenseunicorns/leapfrogai/pull/386

### Miscellaneous
* chore: update version refs to 0.6.1 by @YrrepNoj in https://github.com/defenseunicorns/leapfrogai/pull/389


## [0.6.0](https://github.com/defenseunicorns/leapfrogai/releases/tag/v0.6.0) (2024-04-12)

### Features

### Bug Fixes

### Miscellaneous
2 changes: 2 additions & 0 deletions packages/api/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/api/chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
image:
# x-release-please-start-version
lfaiAPITag: 0.6.1
# x-release-please-end
kiwigridTag: 1.23.3

api:
Expand Down
2 changes: 2 additions & 0 deletions packages/api/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ components:
- name: leapfrogai
namespace: leapfrogai
localPath: chart
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "lfai-values.yaml"
images:
Expand Down
2 changes: 2 additions & 0 deletions packages/llama-cpp-python/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/llama-cpp-python/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ image:
repository: "ghcr.io/defenseunicorns/leapfrogai/llama-cpp-python"
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.6.1
# x-release-please-end

nameOverride: llama-cpp-python
fullnameOverride: ""
Expand Down
5 changes: 4 additions & 1 deletion packages/llama-cpp-python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[project]
name = "lfai-llama-cpp-python"
version = "0.6.1"
description = "A LeapfrogAI API-compatible llama-cpp-python wrapper for quantized and un-quantized model inferencing on CPU infrastructures."

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end

dependencies = [
"llama-cpp-python == 0.2.28",
"leapfrogai-sdk",
Expand Down
2 changes: 2 additions & 0 deletions packages/llama-cpp-python/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ components:
namespace: leapfrogai
localPath: chart
releaseName: llama-cpp-python-model
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "llama-cpp-python-values.yaml"
images:
Expand Down
2 changes: 2 additions & 0 deletions packages/repeater/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/repeater/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ image:
repository: "ghcr.io/defenseunicorns/leapfrogai/repeater"
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.6.1
# x-release-please-end

nameOverride: repeater
fullnameOverride: ""
Expand Down
5 changes: 4 additions & 1 deletion packages/repeater/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[project]
name = "lfai-repeater"
version = "0.6.1"
description = "A LeapfrogAI API-compatible pseudo-model for testing the API."

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end

dependencies = [
"leapfrogai-sdk",
]
Expand Down
2 changes: 2 additions & 0 deletions packages/repeater/zarf-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package:
create:
set:
image_repository: "ghcr.io/defenseunicorns/leapfrogai/repeater"
# x-release-please-start-version
image_version: 0.6.1
# x-release-please-end
name: repeater
max_package_size: "1000000000"
deploy:
Expand Down
2 changes: 2 additions & 0 deletions packages/repeater/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ components:
namespace: leapfrogai
localPath: chart
releaseName: repeater
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "repeater-values.yaml"
images:
Expand Down
2 changes: 2 additions & 0 deletions packages/text-embeddings/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/text-embeddings/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ image:
repository: "ghcr.io/defenseunicorns/leapfrogai/text-embeddings"
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.6.1
# x-release-please-end

nameOverride: text-embeddings
fullnameOverride: ""
Expand Down
5 changes: 4 additions & 1 deletion packages/text-embeddings/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[project]
name = "lfai-text-embeddings"
version = "0.6.1"
description = "A LeapfrogAI API-compatible embeddings library wrapper for text-based embedding generation."

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end

dependencies = [
"InstructorEmbedding >= 1.0.1",
"torch == 2.1.2",
Expand Down
2 changes: 2 additions & 0 deletions packages/text-embeddings/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ components:
namespace: leapfrogai
localPath: chart
releaseName: text-embeddings-model
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "embedding-values.yaml"
images:
Expand Down
6 changes: 4 additions & 2 deletions packages/ui/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ 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.1.1
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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.1.8'
appVersion: "0.1.8"
6 changes: 4 additions & 2 deletions packages/ui/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ variables:
prompt: true
sensitive: false
- name: DISABLE_KEYCLOAK
description: Disable keycloak true or false
description: Disable keycloak true or false
default: 'true'
prompt: true
sensitive: false
Expand All @@ -69,9 +69,11 @@ components:
- name: lfaiui
namespace: leapfrogai
localPath: chart
version: 0.6.1
valuesFiles:
- 'chart/ui-values.yaml'
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
images:
- ghcr.io/defenseunicorns/leapfrogai/leapfrogai-ui:###ZARF_PKG_TMPL_IMAGE_VERSION###
actions:
Expand Down
2 changes: 2 additions & 0 deletions packages/vllm/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/vllm/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ image:
repository: "ghcr.io/defenseunicorns/leapfrogai/vllm"
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.6.1
# x-release-please-end

nameOverride: vllm
fullnameOverride: ""
Expand Down
5 changes: 4 additions & 1 deletion packages/vllm/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[project]
name = "lfai-vllm"
version = "0.6.1"
description = "A LeapfrogAI API-compatible VLLM wrapper for quantized and un-quantized model inferencing across GPU infrastructures."

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end

dependencies = [
"pydantic >= 2.3.0",
"vllm==0.3.2",
Expand Down
2 changes: 2 additions & 0 deletions packages/vllm/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ components:
namespace: leapfrogai
localPath: chart
releaseName: vllm-model
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "vllm-values.yaml"
images:
Expand Down
2 changes: 2 additions & 0 deletions packages/whisper/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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/)
# x-release-please-start-version
version: 0.6.1
# x-release-please-end

# 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
Expand Down
2 changes: 2 additions & 0 deletions packages/whisper/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ image:
repository: "ghcr.io/defenseunicorns/leapfrogai/whisper"
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# x-release-please-start-version
tag: 0.6.1
# x-release-please-end

nameOverride: whisper
fullnameOverride: ""
Expand Down
5 changes: 4 additions & 1 deletion packages/whisper/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[project]
name = "lfai-whisper"
version = "0.6.1"
description = "A LeapfrogAI API-compatible faster-whisper wrapper for audio transcription generation across CPU and GPU infrastructures."

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end

dependencies = [
"faster-whisper == 0.10.0",
"leapfrogai-sdk",
Expand Down
2 changes: 2 additions & 0 deletions packages/whisper/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ components:
namespace: leapfrogai
localPath: chart
releaseName: whisper-model
# x-release-please-start-version
version: 0.6.1
# x-release-please-end
valuesFiles:
- "whisper-values.yaml"
images:
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[project]
name = "leapfrogai"
version = "0.6.1"
description = "ChatGPT type capabilities for secure, local, air-gapped systems."
authors = [{ name = "LeapfrogAI Team", email = "ai@defenseunicorns.com" }]

# x-release-please-start-version
version = "0.6.1"
# x-release-please-end
jalling97 marked this conversation as resolved.
Show resolved Hide resolved

readme = "README.md"
license = {file = "LICENSE"}

Expand Down
Loading