Skip to content

Commit

Permalink
fix for workflow by bundling libsodium w/ pysodium
Browse files Browse the repository at this point in the history
Signed-off-by: 2byrds <2byrds@gmail.com>
  • Loading branch information
2byrds committed Apr 25, 2024
1 parent 6293c30 commit bcaca58
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-app-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest hio
export SODIUM_INSTALL=bundled
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint changes
run: |
Expand Down
41 changes: 37 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ services:
- 5643:5643 # witness
- 5644:5644 # witness
entrypoint: kli witness demo
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:5642/oobi']
interval: 2s
timeout: 3s
retries: 5
start_period: 2s

vlei:
image: 2byrds/vlei:latest
Expand All @@ -28,6 +34,16 @@ services:
- PYTHONUNBUFFERED=1
- PYTHONIOENCODING=UTF-8
entrypoint: [ "vLEI-server", "-s", "./schema/acdc", "-c" , "./samples/acdc/", "-o", "./samples/oobis/" ]
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7723/oobi/EBfdlu8R27Fbx-ehrqwImnK-8Cm79sqbAQ4MmvEAYqao
interval: 2s
timeout: 3s
retries: 5
start_period: 2s

vlei-verifier:
build:
Expand All @@ -41,7 +57,24 @@ services:
- witnesses
ports:
- 7676:7676
# networks:
# - reg
# volumes:
# - './data/keri:/usr/local/var/keri'
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7676/authorizations/BGj25ISqZ7vw79h6R3o20EHZebS6I6ey5Q0xuAabSveW
interval: 2s
timeout: 3s
retries: 5
start_period: 2s

deps:
image: alpine
command: ['echo', 'Dependencies running']
depends_on:
vlei:
condition: service_healthy
vlei-verifier:
condition: service_healthy
witnesses:
condition: service_healthy

0 comments on commit bcaca58

Please sign in to comment.