Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
Signed-off-by: Ryohsuke Mitsudome <[email protected]>
  • Loading branch information
mitsudome-r committed Dec 7, 2024
1 parent ec3c985 commit 241cab4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose-after.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- SIMULATION_OUTPUT_DIRECTORY=/autoware/result
command: >
bash -c "source /etc/bash.bashrc &&
sleep 10 &&
ros2 launch scenario_test_runner scenario_test_runner.launch.py
architecture_type:=awf/universe/20240605
record:=false
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-before.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- SIMULATION_OUTPUT_DIRECTORY=/autoware/result
command: >
bash -c "source /etc/bash.bashrc &&
sleep 10 &&
ros2 launch scenario_test_runner scenario_test_runner.launch.py
architecture_type:=awf/universe/20240605
record:=false
Expand Down
2 changes: 1 addition & 1 deletion docker/run-after.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Use the script directory to make the docker-compose.yml path relative
docker compose -f "$SCRIPT_DIR/docker-compose-after.yml" up &

sleep 100
sleep 70

echo "terminating containers"

Expand Down
2 changes: 1 addition & 1 deletion docker/run-before.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Use the script directory to make the docker-compose.yml path relative
docker compose -f "$SCRIPT_DIR/docker-compose-before.yml" up &

sleep 100
sleep 60

echo "terminating containers"

Expand Down

0 comments on commit 241cab4

Please sign in to comment.