This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support in tests for using manual seal * 0.7.0 * Linting fix * Update workflows to use correct compose file
- Loading branch information
1 parent
5fa4b7a
commit 7e251dc
Showing
10 changed files
with
131 additions
and
31 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,7 +100,7 @@ jobs: | |
run: npm run build | ||
- name: Setup dependencies | ||
if: matrix.test-type != 'unit' | ||
run: docker-compose up -d | ||
run: docker-compose -f ./docker-compose-test.yml up -d | ||
- name: Sleep | ||
if: matrix.test-type != 'unit' | ||
uses: kibertoad/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ jobs: | |
run: npm run build | ||
- name: Setup dependencies | ||
if: matrix.test-type != 'unit' | ||
run: docker-compose up -d | ||
run: docker-compose -f ./docker-compose-test.yml up -d | ||
- name: Sleep | ||
if: matrix.test-type != 'unit' | ||
uses: kibertoad/[email protected] | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
version: '3' | ||
|
||
services: | ||
postgres-hyproof-api: | ||
image: postgres:16.1-alpine | ||
container_name: postgres-hyproof-api | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
- hyproof-api-storage:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=dscp-hyproof-api | ||
|
||
postgres-identity-service: | ||
image: postgres:16.1-alpine | ||
container_name: postgres-identity | ||
ports: | ||
- 5433:5432 | ||
volumes: | ||
- identity-storage:/var/lib/postgresql/data | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=dscp-identity-service | ||
|
||
dscp-identity-service: | ||
image: digicatapult/dscp-identity-service:latest | ||
container_name: identity-service | ||
command: /bin/sh -c " | ||
sleep 30 && | ||
npx knex migrate:latest && | ||
node app/index.js" | ||
ports: | ||
- 3002:3002 | ||
environment: | ||
- PORT=3002 | ||
- API_HOST=dscp-node | ||
- DB_HOST=postgres-identity-service | ||
- DB_PORT=5432 | ||
- DB_NAME=dscp-identity-service | ||
- DB_USERNAME=postgres | ||
- DB_PASSWORD=postgres | ||
- SELF_ADDRESS=5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
- AUTH_TYPE=${AUTH_TYPE:-NONE} | ||
|
||
dscp-node: | ||
image: digicatapult/dscp-node:latest | ||
container_name: node | ||
command: --base-path /data/ | ||
--dev | ||
--manual-seal | ||
--unsafe-ws-external | ||
--unsafe-rpc-external | ||
--ws-max-connections 512 | ||
--rpc-cors all | ||
ports: | ||
- 30333:30333 | ||
- 9944:9944 | ||
- 9933:9933 | ||
restart: on-failure | ||
|
||
ipfs: | ||
image: ipfs/go-ipfs:v0.24.0 | ||
container_name: ipfs | ||
environment: | ||
- | | ||
IPFS_SWARM_KEY=/key/swarm/psk/1.0.0/ | ||
/base16/ | ||
0000000000000000000000000000000000000000000000000000000000000000 | ||
ports: | ||
- 4001:4001 | ||
- 8080:8080 | ||
- 5001:5001 | ||
volumes: | ||
hyproof-api-storage: | ||
identity-storage: |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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