-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial docker compose nightly workflow
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information
1 parent
8332d4a
commit c6b5261
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: "3" | ||
|
||
services: | ||
minimal-nav2: | ||
image: minimal-nav2 | ||
build: | ||
context: .github/minimal-nav2 | ||
# dockerfile: .github/minimal-nav2 | ||
container_name: minimal-nav2 | ||
stop_signal: SIGINT | ||
network_mode: host | ||
privileged: true | ||
stdin_open: true | ||
tty: true | ||
environment: | ||
- ROS_DOMAIN_ID=42 | ||
# command: ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False | ||
|
||
zenoh-bridge: | ||
image: minimal-zenoh-bridge | ||
build: | ||
context: .github/minimal-zenoh-bridge | ||
# dockerfile: docker/task_manager/Dockerfile | ||
container_name: minimal-zenoh-bridge | ||
network_mode: host | ||
stdin_open: true | ||
tty: true | ||
environment: | ||
- ROS_DOMAIN_ID=42 | ||
# command: ros2 launch task_manager task_manager.launch.py params_file:=/examples/nav2_example_params.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Nightly | ||
|
||
on: push | ||
|
||
jobs: | ||
integration-tests: | ||
timeout-minutes: 10 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Start containers | ||
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" up -d --build | ||
|
||
# - name: Install node | ||
# uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: 14.x | ||
|
||
# - name: Install dependencies | ||
# run: npm install | ||
|
||
# - name: Run tests | ||
# run: npm run test | ||
|
||
- name: Stop containers | ||
if: always() | ||
run: docker-compose -f ".github/integration-tests/docker-compose.yaml" down |