Skip to content

Commit

Permalink
Merge pull request #47 from fluentci-io/feat/remote-exec
Browse files Browse the repository at this point in the history
feat: improve `fluentci agent` (remote exec)
  • Loading branch information
tsirysndr authored Jun 11, 2024
2 parents 8fa05ac + 3cd497e commit 49348d1
Show file tree
Hide file tree
Showing 10 changed files with 563 additions and 74 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ Requirements:

**Latest (Desktop):**

- `Mac`: arm64: [fluentci-studio_v0.1.0_arm64.dmg](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.0/fluentci-studio_v0.1.0_arm64.dmg) intel: [fluentci-studio_v0.1.0_x64.dmg](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.0/fluentci-studio_v0.1.0_x64.dmg)
- `Linux`: [fluentci-studio_v0.1.0.AppImage](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.0/fluentci-studio_v0.1.0.AppImage)
- `Mac`: arm64: [fluentci-studio_v0.1.1_arm64.dmg](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.1/fluentci-studio_v0.1.1_arm64.dmg) intel: [fluentci-studio_v0.1.1_x64.dmg](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.1/fluentci-studio_v0.1.1_x64.dmg)
- `Linux`: [fluentci-studio_v0.1.1.AppImage](https://github.com/fluentci-io/fluentci-studio/releases/download/v0.1.1/fluentci-studio_v0.1.1.AppImage)

**Latest (CLI):**

- `Mac`: arm64: [fluentci_v0.14.6_aarch64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.6/fluentci_v0.14.6_aarch64-apple-darwin.tar.gz) intel: [fluentci_v0.14.6_x86_64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.6/fluentci_v0.14.6_x86_64-apple-darwin.tar.gz)
- `Linux`: intel: [fluentci_v0.14.6_x86_64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.6/fluentci_v0.14.6_x86_64-unknown-linux-gnu.tar.gz) arm64: [fluentci_v0.14.6_aarch64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.6/fluentci_v0.14.6_aarch64-unknown-linux-gnu.tar.gz)
- `Mac`: arm64: [fluentci_v0.14.7_aarch64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.7/fluentci_v0.14.7_aarch64-apple-darwin.tar.gz) intel: [fluentci_v0.14.7_x86_64-apple-darwin.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.7/fluentci_v0.14.7_x86_64-apple-darwin.tar.gz)
- `Linux`: intel: [fluentci_v0.14.7_x86_64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.7/fluentci_v0.14.7_x86_64-unknown-linux-gnu.tar.gz) arm64: [fluentci_v0.14.7_aarch64-unknown-linux-gnu.tar.gz](https://github.com/fluentci-io/fluentci/releases/download/v0.14.7/fluentci_v0.14.7_aarch64-unknown-linux-gnu.tar.gz)

## ✨ Quick Start

Expand All @@ -110,7 +110,7 @@ fluentci studio
fluentci --help

Usage: fluentci [pipeline] [jobs...]
Version: 0.14.6
Version: 0.14.7

Description:

Expand Down
2 changes: 2 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export async function main() {
.option("-r, --reload", "Reload pipeline source cache")
.option("-w, --wasm", "Run pipeline as WebAssembly Module")
.option("--remote-exec", "Run pipeline on remote agent")
.option("--work-dir <workDir:string>", "Set working directory")
.option("-*, --* [args:string]", "Pass arguments to pipeline")
.action(function (options, pipeline, ...jobs: [string, ...Array<string>]) {
if (options.wasm) {
Expand All @@ -61,6 +62,7 @@ export async function main() {
.option("-r, --reload", "Reload pipeline source cache")
.option("-w, --wasm", "Run pipeline as WebAssembly Module")
.option("--remote-exec", "Run pipeline on remote agent")
.option("--work-dir <workDir:string>", "Set working directory")
.option("-*, --* [args:string]", "Pass arguments to pipeline")
.action(function (options, pipeline, ...jobs: [string, ...Array<string>]) {
if (pipeline.endsWith(".wasm") || pipeline.endsWith("?wasm=1")) {
Expand Down
Loading

0 comments on commit 49348d1

Please sign in to comment.