Skip to content

Commit 24a87d8

Browse files
committed
specify service to slo via arg
1 parent 786e044 commit 24a87d8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/slo.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,17 @@ jobs:
4848
timeBetweenPhases: 30
4949
shutdownTime: 30
5050

51-
language_id0: sync
52-
language0: python-sync
51+
language_id0: sync-table
52+
language0: Python SDK over Table Service
5353
workload_path0: tests/slo
5454
workload_build_context0: ../..
55-
workload_build_options0: -f Dockerfile
55+
workload_build_options0: -f Dockerfile --build-arg SDK_SERVICE=table-service
56+
57+
language_id1: sync-query
58+
language1: Python SDK over Query Service
59+
workload_path1: tests/slo
60+
workload_build_context1: ../..
61+
workload_build_options1: -f Dockerfile --build-arg SDK_SERVICE=query-service
5662

5763
- uses: actions/upload-artifact@v3
5864
if: env.DOCKER_REPO != null

tests/slo/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ COPY . /src
33
WORKDIR /src
44
RUN python -m pip install --upgrade pip && python -m pip install -e . && python -m pip install -r tests/slo/requirements.txt
55
WORKDIR tests/slo
6+
ARG SDK_SERVICE
67

78
ENTRYPOINT ["python", "src"]

0 commit comments

Comments
 (0)