Skip to content

Commit

Permalink
Print version info after installing CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
amisevsk authored and gorkem committed May 2, 2024
1 parent 11a0bb4 commit 5df8abc
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<img width="1270" alt="KitOps" src="https://github.com/jozu-ai/kitops/assets/10517533/41295471-fe49-4011-adf6-a215f29890c2">


# Setup Kit CLI

This action provides downloading and caching distribution of the requested Kit
CLI, and adding it to the PATH

## Simplify handoffs between data scientists, app devs, and DevOps.

[![LICENSE](https://img.shields.io/badge/License-Apache%202.0-yellow.svg)](https://github.com/myscale/myscaledb/blob/main/LICENSE)
Expand All @@ -14,9 +14,15 @@ CLI, and adding it to the PATH

### What is KitOps?

KitOps is your toolkit for transforming how you package, share, and deploy AI/ML models. Say goodbye to compatibility concerns and hello to smooth AI/ML collaboration.
KitOps is your toolkit for transforming how you package, share, and deploy AI/ML
models. Say goodbye to compatibility concerns and hello to smooth AI/ML
collaboration.

KitOps simplifies the handoffs between data scientists, application developers, and SREs working on self-hosted AI/ML models (including LLMs). KitOps' ModelKits create a unified package for models, their dependencies, configurations, and environments. The ModelKit is portable and uses open standards for compatibility with the tools you already use.
KitOps simplifies the handoffs between data scientists, application developers,
and SREs working on self-hosted AI/ML models (including LLMs). KitOps' ModelKits
create a unified package for models, their dependencies, configurations, and
environments. The ModelKit is portable and uses open standards for compatibility
with the tools you already use.

https://github.com/jozu-ai/kitops/assets/10517533/8f7539e1-b0d2-43c4-abfe-31841d4c68bd

Expand Down
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@actions/tool-cache": "^2.0.1"
},
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as core from '@actions/core'
import * as exec from '@actions/exec'
import { findMatchingRelease, getReleases } from './releases/kit-release'
import { downloadAndInstall } from './installer/install'

Expand Down Expand Up @@ -29,6 +30,8 @@ export async function run(): Promise<void> {
}
const execPath = await downloadAndInstall(releaseToDownload)
core.info(`🎉 Kit CLI installed to ${execPath}`)
core.info('Version Info:')
exec.exec('kit version')
core.setOutput('kit-path', execPath)
} catch (error) {
// Handle any errors that occur during the request
Expand Down

0 comments on commit 5df8abc

Please sign in to comment.