Update tests-ui to fix them
This commit is contained in:
parent
041b7f71e5
commit
75d2be7db7
|
@ -13,6 +13,14 @@ RUN GECKODRIVER_VERSION=`curl -i https://github.com/mozilla/geckodriver/releases
|
|||
|
||||
WORKDIR /opt/tests_ui
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache -r requirements.txt
|
||||
|
||||
RUN touch test.txt && \
|
||||
zip -r test.zip test.txt && \
|
||||
rm test.txt
|
||||
|
||||
RUN echo '{ \
|
||||
"id": "discord", \
|
||||
"order": 999, \
|
||||
|
@ -29,13 +37,8 @@ RUN echo '{ \
|
|||
RUN apk del .build-deps && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
COPY main.py .
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY main.py .
|
||||
COPY test.zip .
|
||||
|
||||
CMD ["python3", "main.py"]
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
version: "3.5"
|
||||
|
||||
services:
|
||||
ui-tests:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
extra_hosts:
|
||||
- "www.example.com:192.168.0.2"
|
||||
- "app1.example.com:192.168.0.2"
|
||||
networks:
|
||||
bw-services:
|
||||
ipv4_address: 192.168.0.3
|
||||
|
||||
networks:
|
||||
bw-services:
|
||||
external:
|
||||
name: bw-services
|
|
@ -909,6 +909,8 @@ try:
|
|||
False,
|
||||
)
|
||||
|
||||
sleep(2)
|
||||
|
||||
print(
|
||||
"The bad plugin has been rejected, trying to add a good plugin ...",
|
||||
flush=True,
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue