-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use minio for python sdk doctest (#281)
- Loading branch information
Showing
6 changed files
with
47 additions
and
8 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
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 |
---|---|---|
|
@@ -14,3 +14,6 @@ dist | |
|
||
# ABIs | ||
contracts | ||
|
||
# Minio Data | ||
minio/data |
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
34 changes: 34 additions & 0 deletions
34
packages/sdk/python/human-protocol-sdk/minio/docker-compose.yml
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,34 @@ | ||
version: '3.7' | ||
|
||
services: | ||
minio: | ||
container_name: minio | ||
image: minio/minio | ||
ports: | ||
- 9000:9000 | ||
- 9001:9001 | ||
environment: | ||
MINIO_ROOT_USER: minio | ||
MINIO_ROOT_PASSWORD: minio123 | ||
entrypoint: 'sh' | ||
volumes: | ||
- ./data:/data | ||
command: -c "minio server /data --console-address ':9001'" | ||
healthcheck: | ||
test: ['CMD', 'curl', '-f', 'http://localhost:9000/minio/health/live'] | ||
interval: 5s | ||
timeout: 5s | ||
retries: 3 | ||
minio-mc: | ||
container_name: minio-mc | ||
image: minio/mc | ||
depends_on: | ||
minio: | ||
condition: service_healthy | ||
entrypoint: > | ||
/bin/sh -c " | ||
/usr/bin/mc config host add myminio http://minio:9000 minio minio123; | ||
/usr/bin/mc mb myminio/escrow-results; | ||
/usr/bin/mc mb myminio/escrow-public-results; | ||
/usr/bin/mc anonymous set public myminio/escrow-public-results; | ||
" |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[pytest] | ||
addopts = -p no:warnings --doctest-modules | ||
addopts = -p no:warnings --doctest-modules |
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
fortune-reputation-oracle-mumbai – ./packages/examples/fortune/reputation-oracle
fortune-reputation-oracle-mumbai-humanprotocol.vercel.app
fortune-reputation-oracle-mumbai.vercel.app
fortune-reputation-oracle-mumbai-git-main-humanprotocol.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
exchange-oracle – ./
exchange-oracle.vercel.app
exchange-oracle-git-main-humanprotocol.vercel.app
exchange-oracle-humanprotocol.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
eth-kvstore-gui – ./
eth-kvstore-gui-humanprotocol.vercel.app
eth-kvstore-gui-git-main-humanprotocol.vercel.app
eth-kvstore-gui.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
recording-oracle – ./packages/examples/fortune/recording-oracle
recording-oracle-jade.vercel.app
recording-oracle-humanprotocol.vercel.app
recording-oracle-git-main-humanprotocol.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
fortune-exchange-mumbai – ./
fortune-exchange-mumbai.vercel.app
fortune-exchange-mumbai-humanprotocol.vercel.app
fortune-exchange-mumbai-git-main-humanprotocol.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
job-launcher-client – ./packages/examples/fortune/launcher/client
job-launcher-client-humanprotocol.vercel.app
job-launcher-client-git-main-humanprotocol.vercel.app
job-launcher-client.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
job-launcher-server – ./packages/examples/fortune/launcher/server
job-launcher-server-git-main-humanprotocol.vercel.app
job-launcher-server.vercel.app
job-launcher-server-humanprotocol.vercel.app
26adee0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
human-protocol-escrow-dashboard – ./packages/apps/escrow-dashboard
human-protocol-escrow-dashboard-humanprotocol.vercel.app
dashboard.humanprotocol.org
human-protocol-escrow-dashboard-git-main-humanprotocol.vercel.app