mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
* inc version * Komodo interp in ui compose file * fix auto update when image doesn't specify tag by defaulting to latest * Pull image buttons don't need safety dialog * WIP crosscompile * rename * entrypoint * fix copy * remove example/* from workspace * add targets * multiarch pkg config * use specific COPY * update deps * multiarch build command * pre compile deps * cross compile * enable-linger * remove spammed log when server doesn't have docker * add multiarch.Dockerfile * fix casing * fix tag * try not let COPY fail * try * ARG TARGETPLATFORM * use /app for consistency * try * delete cross-compile approach * add multiarch core build * multiarch Deno * single arch multi arch * typeshare cli note * new typeshare * remove note about aarch64 image * test configs * fix config file headers * binaries dockerfile * update cargo build * docs * simple * just simple * use -p * add configurable binaries tag * add multi-arch * allow copy to fail * fix binary paths * frontend Dockerfiel * use dedicated static frontend build * auto retry getting instance state from aws * retry 5 times * cleanup * simplify binary build * try alpine and musl * install alpine deps * back to debian, try rustls * move fully to rustls * single arch builds using single binary image * default IMAGE_TAG * cleanup * try caching deps * single arch add frontend build * rustls::crypto::ring::default_provider() * back to simple * comment dockerfile * add select options prop, render checkboxes if present * add allowSelectedIf to enable / disable rows where necessary * rename allowSelectIf to isSelectable, allow false as global disable, disable checkboxes when not allowed * rename isSelectable to disableRow (it works the oppsite way lol) * selected resources hook, start deployment batch execute component * add deployment group actions * add deployment group actions * add default (empty) group actions for other resources * fix checkbox header styles * explicitly check if disableRow is passed (this prop is cursed) * don't disable row selection for deployments table * don't need id for groupactions * add group actions to resources page * fix row checkbox (prop not cursed, i dumb) * re-implement group action list using dropdown menu * only make group actions clickable when at least one row selected * add loading indicator * gap betwen new resource and group actions * refactor group actions * remove "Batch" from action labels * add group actions for relevant resources * fix hardcode * add selectOptions to relevant tables * select by name not id * expect selected to be names * add note re selection state init for future reference * multi select working nicely for all resources * configure server health check timeout * config message * refresh processes remove dead processes * simplify the build args * default timeout seconds 3 --------- Co-authored-by: kv <karamvir.singh98@gmail.com>
77 lines
2.2 KiB
TOML
77 lines
2.2 KiB
TOML
[start-frontend]
|
|
description = "starts the frontend in dev mode"
|
|
path = "frontend"
|
|
cmd = "yarn dev"
|
|
|
|
[gen-client]
|
|
description = "generates typescript types and build the ts client"
|
|
cmd = """
|
|
node ./client/core/ts/generate_types.mjs && \
|
|
cd ./client/core/ts && yarn build && \
|
|
cp -r dist/. ../../../frontend/public/client/."""
|
|
|
|
[link-client]
|
|
description = "yarn links the ts client to the frontend"
|
|
after = "gen-client"
|
|
cmd = """
|
|
cd ./client/core/ts && yarn link && \
|
|
cd ../../../frontend && yarn link komodo_client && yarn
|
|
"""
|
|
|
|
[build-frontend]
|
|
description = "generates fresh ts client and builds the frontend"
|
|
path = "frontend"
|
|
cmd = "yarn build"
|
|
after = "gen-client"
|
|
|
|
[publish-typescript]
|
|
path = "client/core/ts"
|
|
cmd = "npm publish"
|
|
|
|
[test-compose]
|
|
description = "deploys test.compose.yaml"
|
|
cmd = """
|
|
docker compose -p komodo-dev -f test.compose.yaml down --remove-orphans && \
|
|
docker compose -p komodo-dev -f test.compose.yaml up -d"""
|
|
|
|
[test-compose-exposed]
|
|
description = "deploys test.compose.yaml with exposed port and non-ssl periphery"
|
|
cmd = """
|
|
docker compose -p komodo-dev -f test.compose.yaml -f expose.compose.yaml down --remove-orphans && \
|
|
docker compose -p komodo-dev -f test.compose.yaml -f expose.compose.yaml up -d"""
|
|
|
|
[test-compose-build]
|
|
description = "builds and deploys test.compose.yaml"
|
|
cmd = """
|
|
docker compose -p komodo-dev -f test.compose.yaml build"""
|
|
|
|
[test-core]
|
|
description = "runs core --release pointing to .komodo/core.config.toml"
|
|
cmd = "KOMODO_CONFIG_PATH=.komodo/core.config.toml cargo run -p komodo_core --release"
|
|
|
|
[test-periphery]
|
|
description = "runs periphery --release pointing to test.periphery.config.toml"
|
|
cmd = "PERIPHERY_CONFIG_PATH=test.periphery.config.toml cargo run -p komodo_periphery --release"
|
|
|
|
[create-multiarch-builder]
|
|
cmd = "docker buildx create --name builder --use --bootstrap"
|
|
|
|
[build-multiarch-periphery]
|
|
cmd = """
|
|
docker build \
|
|
--platform linux/amd64,linux/arm64 \
|
|
-f bin/periphery/cross-compile.Dockerfile \
|
|
.
|
|
"""
|
|
|
|
[docsite-start]
|
|
path = "docsite"
|
|
cmd = "yarn start"
|
|
|
|
[docsite-deploy]
|
|
path = "docsite"
|
|
cmd = "yarn deploy"
|
|
|
|
# [rustdoc-server]
|
|
# cmd = "cargo watch -s 'cargo doc --no-deps -p komodo_client' & http --quiet target/doc"
|