-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (29 loc) · 902 Bytes
/
docker.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: deploy
on: [pull_request, push]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v2"
- name: start TLA containers
run: docker-compose up -d
env:
SAMPLE_URL: http://aaew64.bbaw.de/resources/tla-data/tla-sample-20210115-1000t.tar.gz
- name: show container status
run: docker-compose ps
- name: show ingest container logs
run: docker-compose logs populate
- name: wait for backend to be populated with corpus data
uses: "cygnetdigital/wait_for_response@v2.0.0"
with:
url: http://localhost:8090/lemma/get/100690
responseCode: 200
interval: 5000
timeout: 120000
continue-on-error: true
- name: query backend version
run: curl -s http://localhost:8090/version
- name: query backend endpoints
run: curl -s http://localhost:8090/
...