Skip to content

Commit

Permalink
Use relative path for hog scenarios
Browse files Browse the repository at this point in the history
This avoids hitting issues such as
```
  File "/home/krkn/kraken/kraken/arcaflow_plugin/arcaflow_plugin.py", line 44, in build_args
    raise Exception(
Exception: context folder for arcaflow workflow not found: /home/krkn/kraken//home/krkn/kraken/scenarios/arcaflow/memory-hog
```

Signed-off-by: Naga Ravi Chaitanya Elluri <[email protected]>
  • Loading branch information
chaitanyaenr committed Jul 12, 2024
1 parent 5978e20 commit 8d455c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpu-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ setup_arcaflow_env "$SCENARIO_FOLDER"
checks

# Substitute config with environment vars defined
export SCENARIO_FILE="$SCENARIO_FOLDER/input.yaml"
export SCENARIO_FILE="scenarios/arcaflow/cpu-hog/input.yaml"
envsubst < config.yaml.template > $krkn_loc/cpu_hog_config.yaml

# Run Kraken
Expand Down
2 changes: 1 addition & 1 deletion io-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ setup_arcaflow_env "$SCENARIO_FOLDER"
checks

# Substitute config with environment vars defined
export SCENARIO_FILE="$SCENARIO_FOLDER/input.yaml"
export SCENARIO_FILE="scenarios/arcaflow/io-hog/input.yaml"
envsubst < config.yaml.template > $krkn_loc/io_hog_config.yaml

# Run Kraken
Expand Down
2 changes: 1 addition & 1 deletion memory-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ setup_arcaflow_env "$SCENARIO_FOLDER"
checks

# Substitute config with environment vars defined
export SCENARIO_FILE="$SCENARIO_FOLDER/input.yaml"
export SCENARIO_FILE="scenarios/arcaflow/memory-hog/input.yaml"
envsubst < config.yaml.template > $krkn_loc/memory_hog_config.yaml

# Run Kraken
Expand Down

0 comments on commit 8d455c1

Please sign in to comment.