Skip to content

Commit 5e354b5

Browse files
Hector AzpuruaHector Azpurua
authored andcommitted
added nogpu version for ci/cd testing
1 parent e6cfb8a commit 5e354b5

6 files changed

Lines changed: 27 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"remoteUser": "ubuntu",
66
"service": "ros1",
77
"dockerComposeFile": [
8-
"../compose_linux_host.yaml"
8+
"../compose_linux_nvidia.yaml"
99
],
1010
"waitFor": "postCreateCommand",
1111
"workspaceFolder": "/home/ubuntu",

.github/workflows/build-amd64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Build and start Docker Compose services
20-
run: docker compose -f compose_linux_host.yaml up --build
20+
run: docker compose -f compose_linux_nogpu.yaml up --build
2121

2222
- name: Wait for services to be healthy (optional, but recommended)
2323
# You can use a dedicated action or a script to wait for health checks

compose_linux_nogpu.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
services:
2+
ros1:
3+
container_name: ros1_noetic_devel
4+
build:
5+
context: .
6+
dockerfile: docker/Dockerfile.amd64
7+
ipc: host
8+
pid: host
9+
privileged: true
10+
network_mode: host
11+
environment:
12+
- DISPLAY=${DISPLAY:-:0}
13+
- TZ=${TZ:-UTC}
14+
- ROS_LOG_DIR=/var/log/val_logger/noetic_devel
15+
- ROS_MASTER_URI=http://localhost:11311/
16+
- DEBIAN_FRONTEND=noninteractive
17+
volumes:
18+
- ${localWorkspaceFolder:-./}local_mount/:/home/ubuntu/ros_ws
19+
- /etc/localtime:/etc/localtime:ro
20+
- /etc/timezone:/etc/timezone:ro
21+
- /tmp/.X11-unix:/tmp/.X11-unix
22+
- /var/log/val_logger:/var/log/val_logger
23+
cap_add:
24+
- NET_ADMIN
25+
- SYS_MODULE

0 commit comments

Comments
 (0)