Skip to content

Commit

Permalink
chore: linting-formatting and readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mohiiit committed Dec 19, 2024
1 parent afeda2e commit a717ddf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Setup mode configures the required AWS services and dependencies.
Use the following command:

```bash
cargo run --release --bin orchestrator setup --aws --aws-s3 --aws-sqs --aws-sns --aws-event-bridge
cargo run --release --bin orchestrator setup --aws --aws-s3 --aws-sqs --aws-sns --aws-event-bridge-rule
```

Note: Setup mode is currently in development. A fresh setup is required
Expand Down
5 changes: 2 additions & 3 deletions e2e-tests/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ impl Orchestrator {
.arg("--aws")
.arg("--aws-s3")
.arg("--aws-sqs")
.arg("--aws-sns")
.arg("--aws-event-bridge-rule");
.arg("--aws-sns");

// Add event bridge arg only for setup mode
if is_run_mode {
Expand All @@ -75,7 +74,7 @@ impl Orchestrator {

command.stdout(Stdio::piped()).stderr(Stdio::piped());
} else {
command.arg("--aws-event-bridge");
command.arg("--aws-event-bridge-rule");

// For setup mode, inherit the stdio to show output directly
command.stdout(Stdio::inherit()).stderr(Stdio::inherit());
Expand Down
3 changes: 0 additions & 3 deletions e2e-tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ async fn test_orchestrator_workflow(#[case] l2_block_number: String) {

println!("✅ Orchestrator setup completed.");

let trigger_rule_name = &get_env_var_or_panic("MADARA_ORCHESTRATOR_EVENT_BRIDGE_TRIGGER_RULE_NAME");
let target_queue_name = &get_env_var_or_panic("MADARA_ORCHESTRATOR_EVENT_BRIDGE_TARGET_QUEUE_NAME");

// Run orchestrator
let mut orchestrator =
Orchestrator::new(OrchestratorMode::Run, setup_config.envs()).expect("Failed to start orchestrator");
Expand Down

0 comments on commit a717ddf

Please sign in to comment.