Skip to content

Commit

Permalink
Upgrade Python to 3.12
Browse files Browse the repository at this point in the history
Signed-off-by: David Schall <[email protected]>
  • Loading branch information
dhschall committed Aug 27, 2024
1 parent 12417aa commit 11be651
Show file tree
Hide file tree
Showing 30 changed files with 82 additions and 82 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/e2e-aes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install wheel ez_setup setuptools
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
python3 -m pip install -r benchmarks/aes/python/requirements/common.txt
python3 -m pip install -r benchmarks/aes/python/requirements/common_requirements.txt
python3 -m pip install -r runner/aws_lambda_scripts/requirements.txt
- name: Setup go dependencies
Expand Down Expand Up @@ -144,18 +144,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install wheel ez_setup setuptools
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
python3 -m pip install -r benchmarks/auth/python/requirements/common.txt
python3 -m pip install -r benchmarks/auth/python/requirements/common_requirements.txt
python3 -m pip install -r runner/aws_lambda_scripts/requirements.txt
- name: Setup go dependencies
Expand Down Expand Up @@ -144,18 +144,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-bert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ jobs:
with:
lfs: "true"

# - name: start docker-compose benchmark
# - name: start docker compose benchmark
# run: |
# docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
# docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
# docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
# docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
# sleep 60s
# cat log_file

Expand All @@ -130,5 +130,5 @@ jobs:
# ./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
# Currently cannot run on CI due to no enough space on device

# - name: show docker-compose log
# - name: show docker compose log
# run: cat log_file
6 changes: 3 additions & 3 deletions .github/workflows/e2e-chained-serving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,20 @@ jobs:
with:
lfs: 'true'

- name: start docker-compose benchmark
- name: start docker compose benchmark
env:
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
working-directory: benchmarks/chained-function-serving/yamls/docker-compose
run: |
docker-compose -f ${{ matrix.file }} up &> log_file &
docker compose -f ${{ matrix.file }} up &> log_file &
sleep 60s
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:${{ matrix.port }} helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat benchmarks/chained-function-serving/yamls/docker-compose/log_file

test-knative:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-compression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
Expand All @@ -112,7 +112,7 @@ jobs:
go build ./test-client.go
./test-client --addr localhost:50000 --name "Example text for CI"
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-fibonacci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-gptj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
Expand All @@ -112,7 +112,7 @@ jobs:
go build ./test-client.go
./test-client --addr localhost:50000 --name "Example text for CI"
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-hotel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-image-rotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-map-reduce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,18 @@ jobs:
with:
lfs: 'true'

- name: start docker-compose benchmark
- name: start docker compose benchmark
working-directory: benchmarks/map-reduce
run: |
docker-compose -f docker-compose-s3.yml up &> log_file &
docker compose -f docker-compose-s3.yml up &> log_file &
sleep 120s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50051 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat benchmarks/map-reduce/log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-online-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-rnn-serving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-spin-sleep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the function directly
Expand All @@ -110,7 +110,7 @@ jobs:
run: |
go build ./test-client.go
./test-client --addr localhost:50000 --name "Example text for CI"
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-stacking-training.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ jobs:
with:
lfs: 'true'

- name: start docker-compose benchmark
- name: start docker compose benchmark
working-directory: benchmarks/stacking-training
env:
BUCKET_NAME: vhive-stacking
run: |
docker-compose -f docker-compose-s3.yml up &> log_file &
docker compose -f docker-compose-s3.yml up &> log_file &
sleep 60s
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50051 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat benchmarks/stacking-training/log_file

test-knative:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tuning-halving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ jobs:
with:
lfs: 'true'

- name: start docker-compose benchmark
- name: start docker compose benchmark
working-directory: benchmarks/tuning-halving
env:
BUCKET_NAME: vhive-tuning
run: |
docker-compose -f docker-compose-s3.yml up &> log_file &
docker compose -f docker-compose-s3.yml up &> log_file &
sleep 60s
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50051 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat benchmarks/tuning-halving/log_file

test-knative:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-video-analytics-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,18 @@ jobs:
with:
lfs: "true"

- name: start docker-compose benchmark
- name: start docker compose benchmark
run: |
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker compose -f ${{ env.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the chain
run: |
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
- name: show docker-compose log
- name: show docker compose log
run: cat log_file

test-knative:
Expand Down
Loading

0 comments on commit 11be651

Please sign in to comment.