3f4eaf0b82
* ci: create gh action that installs go from go.mod * ci: create gh action that installs ubuntu dependencies * ci: create gh action that starts yugabyte db * ci: create gh workflow that runs go tests * ci: test the test workflow * ci: delete duplicate line from runner configuration * Revert "ci: test the test workflow" This reverts commit d1da190c375f7104dc1f5151b6f2e8c405d1fb82. * ci: match the circleci runners more accurately * ci: fetch all filecoin-ffi dependencies * ci: rename fetch/install job to cache to better match underlying tasks * ci: set permissions required by the test workflow explicitly
17 lines
482 B
YAML
17 lines
482 B
YAML
name: Start YugabyteDB
|
|
description: Install Yugabyte Database for Filecoin Lotus
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: docker run --rm --name yugabyte -d -p 5433:5433 yugabytedb/yugabyte:2.18.0.0-b65 bin/yugabyted start --daemon=false
|
|
shell: bash
|
|
- run: |
|
|
while true; do
|
|
status=$(docker exec yugabyte bin/yugabyted status);
|
|
echo $status;
|
|
echo $status | grep Running && break;
|
|
sleep 1;
|
|
done
|
|
shell: bash
|