-
Notifications
You must be signed in to change notification settings - Fork 40
44 lines (34 loc) · 1.32 KB
/
github-ci.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
43
44
name: CI
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker run rabbitmq
run: |
cd rabbitmq
docker-compose up -d
cd ..
- name: Test container rabbitmq
run: |
docker run --network container:container-rabbitmq-queue jwilder/dockerize -wait http://localhost:15672 -timeout 120s -wait-retry-interval 5s
- name: docker run micro live manager
run: |
cd micro-live-manager
docker-compose up -d
cd ..
- name: Test container micro-live-manager-backend
run: |
docker run --network container:micro-live-manager-backend jwilder/dockerize -wait http://localhost:3333/api/lives -timeout 300s -wait-retry-interval 5s
- name: Test container micro-live-manager-frontend
run: |
docker run --network container:micro-live-manager-frontend jwilder/dockerize -wait http://localhost:8000 -timeout 120s -wait-retry-interval 5s
- name: docker run micro live streaming
run: |
cd micro-live-streaming
docker-compose up -d
cd ..
- name: Test container micro-live-streaming
run: |
docker run --network container:micro-live-streaming jwilder/dockerize -wait http://localhost:4000 -timeout 120s -wait-retry-interval 5s