Files
komodo/runfile.toml
Maxwell Becker 4d401d7f20 1.18.1 (#566)
* 1.18.1

* improve stack header / all resource links

* disable build config selector

* clean up deployment header

* update build header

* builder header

* update repo header

* start adding repo links from api

* implement list item repo link

* clean up fe

* gen client

* repo links across the board

* include state tracking buffer, so alerts are only triggered by consecutive out of bounds conditions

* add runnables-cli link in runfile

* improve frontend first load time through some code splitting

* add services count to stack header

* fix repo on pull

* Add dedicated Deploying state to Deployments and Stacks

* move predeploy script before compose config (#584)

* Periphery / core version mismatch check / red text

* move builders / alerts out of sidebar, into settings

* remove force push

* list schedules api

* dev-1

* actually dev-3

* fix action

* filter none procedures

* fix schedule api

* dev-5

* basic schedules page

* prog on schedule page

* simplify schedule

* use name to sort target

* add resource tags to schedule

* Schedule page working

* dev-6

* remove schedule table type column

* reorder schedule table

* force confirm  dialogs for delete, even if disabled in config

* 1.18.1

---------

Co-authored-by: undaunt <31376520+undaunt@users.noreply.github.com>
2025-06-06 23:08:51 -07:00

79 lines
2.3 KiB
TOML

# Runfile | https://crates.io/crates/runnables-cli
[dev-frontend]
description = "starts the frontend in dev mode"
path = "frontend"
cmd = "yarn dev"
[dev-core]
description = "runs core --release pointing to .dev/core.config.toml"
cmd = "KOMODO_CONFIG_PATH=.dev/core.config.toml cargo run -p komodo_core --release"
[dev-periphery]
description = "runs periphery --release pointing to .dev/periphery.config.toml"
cmd = "PERIPHERY_CONFIG_PATH=.dev/periphery.config.toml cargo run -p komodo_periphery --release"
[dev-docsite]
description = "starts the documentation site (https://komo.do) in dev mode"
path = "docsite"
cmd = "yarn && yarn start"
[yarn-install]
description = "downloads latest javacript dependencies for client and frontend"
cmd = """
cd frontend && yarn && \
cd ../client/core/ts && yarn
"""
[gen-client]
description = "generates typescript types and build the ts client"
after = "yarn-install"
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-ts-client]
path = "client/core/ts"
cmd = "npm publish"
[publish-docsite]
description = "publishes the documentation site (https://komo.do) to github pages"
path = "docsite"
cmd = "yarn && yarn deploy"
[dev-compose]
description = "deploys dev.compose.yaml"
cmd = """
docker compose -p komodo-dev -f dev.compose.yaml down --remove-orphans && \
docker compose -p komodo-dev -f dev.compose.yaml up -d"""
[dev-compose-exposed]
description = "deploys dev.compose.yaml with exposed port and non-ssl periphery"
cmd = """
docker compose -p komodo-dev down --remove-orphans && \
docker compose -p komodo-dev -f dev.compose.yaml -f expose.compose.yaml up -d"""
[dev-compose-build]
description = "builds and deploys dev.compose.yaml"
cmd = """
docker compose -p komodo-dev -f dev.compose.yaml build"""
[dev-rustdoc]
description = "starts the rustdoc site (https://docs.rs/komodo_client/latest/komodo_client/) in dev mode"
cmd = "cargo doc --no-deps -p komodo_client && http-server -p 8050 target/doc"