mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-21 15:21:59 -05:00
* fix login page import * update to mantine v9, reduce the border radius on some things * deploy 2.2.0-dev-1 * move theme to mogh ui * start moving stuff to mogh_ui * move more components to mogh_ui * move section to mogh_ui * move confirm button * move colors and formatting to mogh_ui * move more to mogh_ui * move more components to mogh ui * move entity header / page to mogh ui * move monaco to mogh_monaco * move config / monaco to mogh ui * move text update modal to mogh ui, empty ui folder * deploy 2.2.0-dev-2 * move auth hooks to mogh_ui * move login to mogh ui * move profile management to mogh ui * add missing dedupe deps * bump mogh ui deps * expand shell process path static load * move filterBySplit to mogh_ui * align core aio dockerfile * bump mogh ui * add published mogh_auth_client * comment about onboarding key * fix lockfile * bump mogh ui * improve doc comment on CoreInfo public_key * UI: topbar home butotn use Link instead of nav, cmd click open in new tab * Minor: Update periphery.config.toml (#1365) * Minor: Update periphery.config.toml Make docs on ROOT_DIRECTORY more clear This change relates to line: > ## Each specific sub-directory (like ./stacks) can be overridden below. The change includes `./builds` directory to the list as it also can be overridden. Thus, a reader will have better understanding of the resulting root directory structure * Update compose.env * fix cli multi arch dockerfile and bump other dockerfiles * Add OIDC auto-redirect config to Core (#1339) * Add OIDC auto-redirect config to Core When KOMODO_OIDC_AUTO_REDIRECT=true, the login options response includes oidc_auto_redirect, enabling the UI (via mogh-lib) to automatically redirect unauthenticated users to the OIDC provider. Users can bypass by appending ?disableAutoLogin to the login URL. Depends on moghtech/lib UI change adding auto-redirect to LoginPage. Closes #311 * Skip OIDC auto-redirect for Add Account link The user dropdown's Add Account button navigates to /login to add another account. When OIDC auto-redirect is enabled, this link must opt out so the user can actually sign in as a different user instead of being redirected back to the already-authenticated OIDC session. * bump deps * deploy 2.2.0-dev-3 * Fix swarm deployment Tasks and Inspect tabs * Fix build cancel button variant default * RunSync: Make sure resource sync changes run after repo changes due to dependency * deploy 2.2.0-dev-4 * deploy 2.2.0-dev-5 * fmt * impl mogh server 1.5.0 configuration security headers * to the user * agents send * let user specify if they want command to be run in shell-mode (#1265) * allow users to add commands as shell-mode * revert package.json yarn auto-change * cargo fmt * bump bollard and other deps * gen client * deploy 2.2.0-dev-6 * bump dockerfile rust version 1.95.0 * document new core configurations * deploy 2.2.0-dev-7 * 2 small UI fixes (#1379) * fix: prevent horizontal page scroll on long action log lines Add white-space: pre-wrap to Code component pre elements rendering stdout/stderr in action last-run, update details, and build info views. * fix: UI Defined and Files on Server text too large in stacks table --------- Co-authored-by: twalts <t.mwalton@yahoo.com> * X-Frame-Options * Add support to generate resource json schema (#1337) * add support to generate resource json schema * remove unnecessary renames --------- Co-authored-by: Maxwell Becker <49575486+mbecker20@users.noreply.github.com> * generate resource schema * resources.json * deploy 2.2.0-dev-8 * fix build.version schema (can be string) * add resource toml comments * deploy 2.2.0-dev-9 * use draft 07 for better taplo compat * deploy 2.2.0-dev-10 * builder fix exported toml server_id -> server * deploy 2.2.0-dev-11 * bump mogh auth * deploy 2.2.0-dev-12 * Allow excluding services from global auto update (#1279) * add ignore_polling_services for global auto update * rename ignore_polling_services to auto_update_skip_services and reorganize * fix stack auto_update check show skip services * deploy 2.2.0-dev-13 * 2.2.0 * bold "relative to the root of the repo" --------- Co-authored-by: Andrii Bratanin <20169213+andriibratanin@users.noreply.github.com> Co-authored-by: John Maguire <contact@johnmaguire.me> Co-authored-by: Shen Li <dustet@gmail.com> Co-authored-by: T <github@mail.taylor.media> Co-authored-by: twalts <t.mwalton@yahoo.com> Co-authored-by: bytedream <git+github@bytedream.dev> Co-authored-by: mateuszziolkowski <88323671+mateuszziolkowski@users.noreply.github.com>
81 lines
2.6 KiB
TOML
81 lines
2.6 KiB
TOML
# Runfile | https://crates.io/crates/runnables-cli
|
|
|
|
[dev-core]
|
|
alias = "dc"
|
|
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]
|
|
alias = "dp"
|
|
description = "runs periphery --release pointing to .dev/periphery.config.toml"
|
|
cmd = "cargo run -p komodo_periphery --release -- -c .dev/periphery.config.toml"
|
|
|
|
[dev-periphery-outbound]
|
|
alias = "dpo"
|
|
description = "runs periphery --release pointing to .dev/periphery.config.toml and .dev/outbound.periphery.config.toml"
|
|
cmd = "cargo run -p komodo_periphery --release -- -c .dev/periphery.config.toml -c .dev/outbound.periphery.config.toml"
|
|
|
|
[yarn-install]
|
|
alias = "yi"
|
|
description = "downloads latest javacript dependencies for client and ui"
|
|
cmd = """
|
|
cd ui && yarn && \
|
|
cd ../docsite && yarn && \
|
|
cd ../client/core/ts && yarn
|
|
"""
|
|
|
|
[gen-resource-schema]
|
|
alias = "grs"
|
|
description = "generates resource toml definitions for edition autosuggest"
|
|
cmd = """
|
|
cargo xtask generate resource-schema --pretty --file=./ui/public/schema/resources.json
|
|
"""
|
|
|
|
[gen-client]
|
|
alias = "gc"
|
|
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/. ../../../ui/public/client/. &&
|
|
cd ../../../ui && node fix_public_client.mjs"""
|
|
|
|
[link-client]
|
|
description = "yarn links the ts client to the ui"
|
|
after = "gen-client"
|
|
cmd = """
|
|
cd ./client/core/ts && yarn link && \
|
|
cd ../../../ui && yarn link komodo_client && yarn"""
|
|
|
|
[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"
|
|
|
|
[deploy-komodo]
|
|
alias = "dk"
|
|
cmd = "deno run --allow-all action/deploy.ts"
|
|
|
|
[deploy-komodo-fe-only]
|
|
alias = "dkf"
|
|
cmd = "deno run --allow-all action/deploy-fe.ts"
|
|
|
|
[build-komodo]
|
|
alias = "bk"
|
|
cmd = "deno run --allow-all action/build.ts" |