mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Add delay to yugabytedb piped command.
This commit is contained in:
parent
cfd4df723c
commit
58759a3944
2 changed files with 3 additions and 2 deletions
4
.github/workflows/docker-build-test.yml
vendored
4
.github/workflows/docker-build-test.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-hotspot-test:
|
build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
file: ${{ matrix.dockerfile }}
|
file: ${{ matrix.dockerfile }}
|
||||||
tags: 1337kavin/piped:latest
|
tags: 1337kavin/piped:latest
|
||||||
- name: Start Docker-Compose services
|
- name: Start Docker-Compose services
|
||||||
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 5
|
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 20
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./testing/api-test.sh
|
run: ./testing/api-test.sh
|
||||||
- name: Collect services logs
|
- name: Collect services logs
|
||||||
|
|
|
@ -8,6 +8,7 @@ services:
|
||||||
- ./config.yugabytedb.properties:/app/config.properties
|
- ./config.yugabytedb.properties:/app/config.properties
|
||||||
depends_on:
|
depends_on:
|
||||||
- yb-tserver
|
- yb-tserver
|
||||||
|
command: [ "sh", "-c", "sleep 10 && java -jar piped.jar" ]
|
||||||
yb-master:
|
yb-master:
|
||||||
image: yugabytedb/yugabyte:latest
|
image: yugabytedb/yugabyte:latest
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in a new issue