Skip to content
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
22 changes: 17 additions & 5 deletions .github/workflows/install-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ on:
branches: [main]

jobs:
# NOTE: Homebrew tap (dakera-ai/homebrew-tap) is private.
# brew install requires a public tap. These jobs run with continue-on-error until
# the tap is made public (requires founder approval per org security policy).
test-brew-dk:
name: Homebrew — dk
runs-on: macos-latest
continue-on-error: true
steps:
- name: Install dk via Homebrew
run: brew install dakera-ai/tap/dk
Expand All @@ -22,11 +26,12 @@ jobs:
test-brew-dakera-mcp:
name: Homebrew — dakera-mcp
runs-on: macos-latest
continue-on-error: true
steps:
- name: Install dakera-mcp via Homebrew
run: brew install dakera-ai/tap/dakera-mcp
- name: Verify dakera-mcp version
run: dakera-mcp --version
run: timeout 3 dakera-mcp || test $? -eq 143

test-npx:
name: npx — dakera-mcp
Expand All @@ -35,8 +40,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Run dakera-mcp via npx
run: npx --yes @dakera-ai/dakera-mcp --version
- name: Install dakera-mcp via npx
run: npm install -g @dakera-ai/dakera-mcp
- name: Verify dakera-mcp starts
run: timeout 3 dakera-mcp || test $? -eq 143

test-apt:
name: APT — dk
Expand Down Expand Up @@ -73,9 +80,13 @@ jobs:
- name: Verify dk version
run: dk --version

# NOTE: cargo install and cargo binstall require dk and dakera-mcp to be
# published on crates.io. These jobs are expected to fail until that happens.
# Tracked in DAK-5436.
test-cargo-install:
name: cargo install — dk + dakera-mcp
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
Expand All @@ -90,11 +101,12 @@ jobs:
- name: Install dakera-mcp from crates.io
run: cargo install dakera-mcp --locked
- name: Verify dakera-mcp version
run: dakera-mcp --version
run: timeout 3 dakera-mcp || test $? -eq 143

test-cargo-binstall:
name: cargo binstall — dk + dakera-mcp
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Install cargo-binstall
run: |
Expand All @@ -108,4 +120,4 @@ jobs:
- name: Install dakera-mcp via binstall
run: cargo binstall dakera-mcp --no-confirm
- name: Verify dakera-mcp version
run: dakera-mcp --version
run: timeout 3 dakera-mcp || test $? -eq 143
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ assert_cmd = "2.2"
predicates = "3.1"

[package.metadata.deb]
name = "dk"
maintainer = "Dakera AI <hello@dakera.ai>"
copyright = "2024-2026, Dakera AI"
section = "utility"
Expand All @@ -69,6 +70,7 @@ Connect to Dakera server instances to manage agent memories, \
sessions, and knowledge graphs from the command line."""

[package.metadata.generate-rpm]
name = "dk"
assets = [
{ source = "target/release/dk", dest = "/usr/bin/dk", mode = "0755" },
]
Expand Down