Browse Source

Merge pull request #399 from dora-rs/dora-cli-renaming

Dora cli renaming

Closes #376
tags/v0.3.1-rc5
Haixuan Xavier Tao GitHub 2 years ago
parent
commit
433070907f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 19 deletions
  1. +11
    -11
      .github/workflows/ci.yml
  2. +4
    -4
      .github/workflows/release.yml
  3. +0
    -1
      README.md
  4. +1
    -1
      apis/python/node/Cargo.toml
  5. +1
    -1
      binaries/cli/Cargo.toml
  6. +1
    -1
      libraries/arrow-convert/src/from_impls.rs

+ 11
- 11
.github/workflows/ci.yml View File

@@ -62,8 +62,8 @@ jobs:

- name: "Check"
run: cargo check --all
- name: "Build"
run: cargo build --all
- name: "Build (Without Python node as it is build with maturin)"
run: cargo build --all --exclude dora-node-api-python
- name: "Test"
# Remove Windows as there is `pdb` linker issue.
# See: https://github.com/dora-rs/dora/pull/359#discussion_r1360268497
@@ -243,30 +243,30 @@ jobs:
# fail-fast by using bash shell explictly
shell: bash
run: |
dora-cli up
dora-cli list
dora up
dora list

# Test Rust template Project
dora-cli new test_rust_project --internal-create-with-path-dependencies
dora new test_rust_project --internal-create-with-path-dependencies
cd test_rust_project
cargo build --all
dora-cli start dataflow.yml --name ci-rust-test
dora start dataflow.yml --name ci-rust-test
sleep 10
dora-cli stop --name ci-rust-test
dora stop --name ci-rust-test
cd ..

# Test Python template Project
pip3 install maturin
maturin build -m apis/python/node/Cargo.toml
pip3 install target/wheels/*
dora-cli new test_python_project --lang python --internal-create-with-path-dependencies
dora new test_python_project --lang python --internal-create-with-path-dependencies
cd test_python_project
dora-cli start dataflow.yml --name ci-python-test
dora start dataflow.yml --name ci-python-test
sleep 10
dora-cli stop --name ci-python-test
dora stop --name ci-python-test
cd ..

dora-cli destroy
dora destroy

clippy:
name: "Clippy"


+ 4
- 4
.github/workflows/release.yml View File

@@ -92,7 +92,7 @@ jobs:
New-Item -Path archive -ItemType Directory
Copy-Item target/release/dora-coordinator.exe -Destination archive
Copy-Item target/release/dora-daemon.exe -Destination archive
Copy-Item target/release/dora-cli.exe -Destination archive/dora.exe
Copy-Item target/release/dora.exe -Destination archive/dora.exe
Compress-Archive -Path archive\* -DestinationPath archive.zip

- name: "Upload release asset"
@@ -130,7 +130,7 @@ jobs:
mkdir archive
cp target/release/dora-coordinator archive
cp target/release/dora-daemon archive
cp target/release/dora-cli archive/dora
cp target/release/dora archive/dora
cd archive
zip -r ../archive.zip .
cd ..
@@ -174,7 +174,7 @@ jobs:
mkdir archive_aarch64
cp target/aarch64-unknown-linux-gnu/release/dora-coordinator archive_aarch64
cp target/aarch64-unknown-linux-gnu/release/dora-daemon archive_aarch64
cp target/aarch64-unknown-linux-gnu/release/dora-cli archive_aarch64/dora
cp target/aarch64-unknown-linux-gnu/release/dora archive_aarch64/dora
cd archive_aarch64
zip -r ../archive_aarch64.zip .
cd ..
@@ -221,7 +221,7 @@ jobs:
mkdir archive_aarch64
cp target/aarch64-apple-darwin/release/dora-coordinator archive_aarch64
cp target/aarch64-apple-darwin/release/dora-daemon archive_aarch64
cp target/aarch64-apple-darwin/release/dora-cli archive_aarch64/dora
cp target/aarch64-apple-darwin/release/dora archive_aarch64/dora
cd archive_aarch64
zip -r ../archive_aarch64.zip .
cd ..


+ 0
- 1
README.md View File

@@ -57,7 +57,6 @@ Quickest way:

```bash
cargo install dora-cli
alias dora='dora-cli'
cargo install dora-coordinator
cargo install dora-daemon
pip install dora-rs ## For Python API


+ 1
- 1
apis/python/node/Cargo.toml View File

@@ -28,4 +28,4 @@ dora-ros2-bridge-python = { workspace = true }

[lib]
name = "dora"
crate-type = ["lib", "cdylib"]
crate-type = ["cdylib"]

+ 1
- 1
binaries/cli/Cargo.toml View File

@@ -9,7 +9,7 @@ license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "dora-cli"
name = "dora"
path = "src/main.rs"

[features]


+ 1
- 1
libraries/arrow-convert/src/from_impls.rs View File

@@ -1,5 +1,5 @@
use arrow::{
array::{make_array, Array, AsArray, PrimitiveArray, StringArray},
array::{Array, AsArray, PrimitiveArray, StringArray},
datatypes::ArrowPrimitiveType,
};
use eyre::ContextCompat;


Loading…
Cancel
Save