-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 1.15 KB
/
docker-compose-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Docker Compose Test
on:
push:
branches:
- main
- '*'
jobs:
Nano_Docker:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
- 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
- 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
sleep 30
docker-compose -f docker-compose.yml -f docker-compose.override.yml down
Pi_Docker:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Docker compose build (raspi)
run: docker-compose -f raspi/docker-compose.yml build
- name: Docker compose up (raspi)
run: |
docker-compose -f raspi/docker-compose.yml up -d
sleep 30
docker-compose -f raspi/docker-compose.yml down