Skip to content

Commit f763f04

Browse files
committed
setup python
1 parent 1f7f7ff commit f763f04

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/CI.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,19 @@ jobs:
144144
- name: Set up Python
145145
uses: actions/setup-python@v5
146146
with:
147-
python-version: 3.10
147+
python-version: "3.10"
148148
- name: Build Wheel
149149
run: |
150150
make env
151151
make wheel
152+
- id: get-path
153+
run: |
154+
echo "path=./dist/apache_skywalking-$(poetry version | sed 's/apache-skywalking //g')-py3-none-any.whl" >> $GITHUB_OUTPUT
152155
- name: Upload Wheel
153156
uses: actions/upload-artifact@v4
154157
with:
155158
name: apache_skywalking.whl
156-
path: dist/apache_skywalking-$(poetry version | sed 's/apache-skywalking //g')-py3-none-any.whl
159+
path: ${{ steps.get-path.outputs.path }}
157160
retention-days: 1
158161

159162
docker-plugin:
@@ -262,6 +265,11 @@ jobs:
262265
with:
263266
submodules: true
264267
persist-credentials: false
268+
- name: Download wheel
269+
uses: actions/download-artifact@v4
270+
with:
271+
name: apache_skywalking.whl
272+
path: apache_skywalking.whl
265273
- name: Build SkyWalking Python agent base e2e image
266274
run: |
267275
docker build --build-arg BASE_PYTHON_IMAGE -t apache/skywalking-python-agent:latest-e2e --no-cache . -f tests/e2e/base/Dockerfile.e2e

tests/e2e/base/Dockerfile.e2e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY tests/e2e/base/consumer/* /services/
2424
COPY tests/e2e/base/provider/* /services/
2525

2626
# Copy the project and build
27-
COPY apache_skywalking.whl /apache_skywalking.whl
27+
COPY ./dist/apache_skywalking.whl /
2828
RUN pip install /apache_skywalking.whl
2929

3030
# Extra dependencies for e2e services

tests/plugin/Dockerfile.plugin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FROM python:${BASE_PYTHON_IMAGE}
1919

2020
WORKDIR /agent
2121

22-
COPY apache_skywalking.whl /apache_skywalking.whl
22+
COPY ./disst/apache_skywalking.whl /
2323

2424
RUN apt-get update \
2525
&& apt-get install -y --no-install-recommends build-essential procps \

0 commit comments

Comments
 (0)