Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 1 addition & 45 deletions .github/workflows/test-server-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ jobs:
test_name:
[
correl,
get_computation_result,
get_elapsed_time,
job_error_info,
join,
Expand All @@ -199,7 +200,6 @@ jobs:
sum,
token,
variance,
get_computation_result
]
steps:
- name: Checkout
Expand All @@ -224,49 +224,6 @@ jobs:
run: docker-compose ${{ env.COMPOSE_FILES_OPT }} run medium-libc pytest src/tests/test_${{ matrix.test_name }}.py -s -v -log-cli-level=DEBUG
working-directory: ./scripts

medium_test_libclient_new:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_name:
[
correl,
get_elapsed_time,
job_error_info,
join,
mean,
parallel,
send_share,
string,
sum,
token,
variance,
get_computation_result
]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.CI_REPOSITORY_ACCESS_TOKEN }}
submodules: true

- name: Update .bazelrc for using remote cache
run: |
eval "echo \"$(cat ./.github/workflows/.bazelrc_for_ci)\"" >> ./packages/server/computation_container/.bazelrc
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}

- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

- uses: ./.github/actions/prepare_libclient_test

- name: Run container test
run: docker-compose ${{ env.COMPOSE_FILES_OPT }} run medium-libc pytest src/tests_new/test_${{ matrix.test_name }}.py -s -v -log-cli-level=DEBUG
working-directory: ./scripts

medium_test_container_up:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -304,7 +261,6 @@ jobs:
[
send_share,
execute_computation,
execute_computations,
get_computation_result,
execute_multiple
]
Expand Down
11 changes: 4 additions & 7 deletions demo/client_demo/README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ $ pipenv --python=3.8 # Python3.8の場合
$ pipenv --python=3.9 # Python3.9の場合
```
### 3. ディレクトリを移動して実行する
各操作ごとのデモは`unit_demo/`,全体のデモは`integration_demo/`で実行可能.
また,`send_share.py`,`send_asss_share.py`,`demo_sharize.py`はコマンドライン引数にファイルのpathを指定する必要がある. <br>
また、[ステップ1](#1-コンテナを立ちあげる)にてGCPで立ち上げた場合は実行ファイルの接続情報を書き換える.
[ステップ1](#1-コンテナを立ちあげる)にてGCPで立ち上げた場合は実行ファイルの接続情報を書き換える.

```
qmpc: QMPC = QMPC(
Expand All @@ -30,8 +28,7 @@ qmpc: QMPC = QMPC(
```

```console
$ cd unit_demo/
$ pipenv run python send_share.py [file_path] # シェア送信のデモを実行
$ pipenv run python execute_computation.py # 計算リクエストのデモを実行
$ cd scripts/
$ pipenv run python execute_demo.py # 統計演算のデモを実行
$ pipenv run python join_demo.py # 横結合のデモを実行
```
なお,`unit_demo/execute_computation.py`などの一部のunit_demoは,動作がsend_shareなどから得られるID情報に依存するため,適宜IDを書き換える必要がある.
9 changes: 3 additions & 6 deletions demo/client_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ $ pipenv --python=3.9 # for Python 3.9
```

### 3. Navigate and run in the directory
Demos for each operation can be run in `unit_demo/` and for the whole demo in `integration_demo/`.
Also, `send_share.py`, `send_asss_share.py` and `demo_sharize.py` require the file path to be specified in the command line argument.
```console
$ cd unit_demo/
$ pipenv run python send_share.py [file_path] # Run the demo of sending share
$ pipenv run python execute_computation.py # Run the demo of executing computation
$ cd scripts/
$ pipenv run python execute_demo.py
$ pipenv run python join_demo.py
```
Note that some unit_demos such as ``unit_demo/execute_computation.py`` depend on ID information obtained from send_share, etc., so you need to rewrite the ID accordingly.
6 changes: 0 additions & 6 deletions demo/client_demo/data/data1-3.csv

This file was deleted.

107 changes: 0 additions & 107 deletions demo/client_demo/integration_demo/execute_demo.py

This file was deleted.

143 changes: 0 additions & 143 deletions demo/client_demo/integration_demo/progress_demo.py

This file was deleted.

14 changes: 0 additions & 14 deletions demo/client_demo/integration_demo/utils.py

This file was deleted.

Loading