File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ jobs:
25
25
- name : Build
26
26
run : |
27
27
cd python/src
28
- PYTHON_SDK_VERSION=$(./run .sh -n opentelemetry-python-layer -b true 2>&1 > /dev/null | sed -n "s/opentelemetry-sdk==\(.*\)/\1/p")
28
+ PYTHON_SDK_VERSION=$(./build .sh 2>&1 > /dev/null | sed -n "s/opentelemetry-sdk==\(.*\)/\1/p")
29
29
shell : bash
30
30
31
31
- name : Show directory contents
32
32
run : |
33
33
ls -al
34
- working-directory : python/src
34
+ working-directory : python/src/build
35
35
36
36
- name : Save Python SDK Version
37
37
id : save-python-sdk-version
42
42
name : Save assembled layer to build
43
43
with :
44
44
name : opentelemetry-python-layer.zip
45
- path : python/src/opentelemetry-python-layer.zip
45
+ path : python/src/build/ opentelemetry-python-layer.zip
46
46
47
47
publish-layer :
48
48
uses : ./.github/workflows/layer-publish.yml
Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
mkdir -p build
5
- docker build -t aws-otel-lambda-python-layer otel
5
+ docker build --progress plain - t aws-otel-lambda-python-layer otel
6
6
docker run --rm -v " $( pwd) /build:/out" aws-otel-lambda-python-layer
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ RUN mkdir -p /build && \
19
19
rm -rf /build/python/boto* && \
20
20
rm -rf /build/python/urllib3* && \
21
21
cd /build && \
22
- zip -r layer.zip otel-instrument python
22
+ zip -r opentelemetry-python- layer.zip otel-instrument python
23
23
24
- CMD cp /build/layer.zip /out/layer.zip
24
+ CMD cp /build/opentelemetry-python- layer.zip /out/opentelemetry-python- layer.zip
You can’t perform that action at this time.
0 commit comments