Änderungen für TokenSearch #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/[email protected]" | |
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/ | |
... |