Improvement lua e2e case (#6553)

This commit is contained in:
Daming 2021-03-16 13:34:17 +08:00 committed by GitHub
parent af6f7d2c34
commit c2fa8baf5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -15,7 +15,7 @@
FROM openresty/openresty:1.17.8.2-5-alpine-fat
ENV COMMIT_HASH=c19c5cb2aa00b496288dc115a084a68a143f5f11
ENV COMMIT_HASH=c3cee4841798a147d83b96a10914d4ac0e11d0aa
WORKDIR /usr/share/skywalking-nginx-lua
@ -24,3 +24,6 @@ ADD https://github.com/apache/skywalking-nginx-lua/archive/${COMMIT_HASH}.tar.gz
RUN tar -xf ${COMMIT_HASH}.tar.gz --strip 1
RUN rm ${COMMIT_HASH}.tar.gz
RUN luarocks make rockspec/skywalking-nginx-lua-master-0.rockspec

View File

@ -23,7 +23,7 @@ events {
http {
resolver local=on ipv6=off;
lua_package_path "/usr/share/skywalking-nginx-lua/lib/?.lua;;";
# lua_package_path "/usr/local/openresty/luajit/share/lua/5.1/skywalking/?.lua;;";
# Buffer represents the register inform and the queue of the finished segment
lua_shared_dict tracing_buffer 100m;
@ -61,4 +61,4 @@ http {
}
}
}
}
}