run tests

This commit is contained in:
Adil Hafeez 2025-02-12 17:25:02 -08:00
parent 40b339b2e3
commit f18919ff15
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
5 changed files with 60 additions and 5 deletions

View file

@ -24,8 +24,10 @@ RUN pip install -r requirements.txt
COPY arch/tools/cli/config_generator.py .
COPY arch/envoy.template.yaml .
COPY arch/arch_config_schema.yaml .
COPY arch/validate_schema.sh .
RUN pip install requests
RUN touch /var/log/envoy.log
RUN chmod a+x validate_schema.sh
ENTRYPOINT ["sh","-c", "python config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --component-log-level wasm:debug 2>&1 | tee /var/log/envoy.log"]