Skip to content

Commit

Permalink
refactor<workflow-test> update with new path
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahelsamahy committed Oct 11, 2024
1 parent f12a2c8 commit df172f1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:

- name: Docker compose build
run: |
services="zerotier wireguard httpd teleop pilot ftpd rosnode vehicle"
docker-compose -f docker-compose.yml -f docker-compose.override.yml build $services
cd jetson_runtime
docker-compose build
- name: Docker compose up
run: |
services="zerotier wireguard httpd teleop pilot ftpd rosnode vehicle"
docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d $services
cd jetson_runtime
docker-compose up -d
sleep 30
docker-compose -f docker-compose.yml -f docker-compose.override.yml down
docker-compose down
Pi_Docker:
runs-on: ubuntu-20.04
Expand All @@ -33,10 +33,13 @@ jobs:
uses: actions/checkout@v2

- name: Docker compose build (raspi)
run: docker-compose -f raspi/docker-compose.yml build
run: |
cd pi4_runtime
docker-compose build
- name: Docker compose up (raspi)
run: |
docker-compose -f raspi/docker-compose.yml up -d
cd pi4_runtime
docker-compose up -d
sleep 30
docker-compose -f raspi/docker-compose.yml down
docker-compose down

0 comments on commit df172f1

Please sign in to comment.