logging
This commit is contained in:
parent
54ca7a52a7
commit
767cb9e434
1 changed files with 4 additions and 5 deletions
9
Makefile
9
Makefile
|
|
@ -213,13 +213,12 @@ test-ci:
|
|||
done; \
|
||||
echo "Checking key files..."; \
|
||||
ls -la keys/; \
|
||||
echo "Public key fingerprint (host):"; \
|
||||
ssh-keygen -l -f keys/public_key.pem 2>/dev/null || openssl rsa -pubin -in keys/public_key.pem -text -noout | head -5; \
|
||||
echo "Public key fingerprint (container):"; \
|
||||
docker exec openrag-backend sh -c "ls -la /app/keys/ && openssl rsa -pubin -in /app/keys/public_key.pem -text -noout | head -5"; \
|
||||
echo "Public key content:"; \
|
||||
cat keys/public_key.pem; \
|
||||
echo "Private key content (first 5 lines):"; \
|
||||
head -5 keys/private_key.pem; \
|
||||
echo "Generating test JWT token..."; \
|
||||
TEST_TOKEN=$$(uv run python -c "from src.session_manager import SessionManager, AnonymousUser; sm = SessionManager('test'); print(sm.create_jwt_token(AnonymousUser()))"); \
|
||||
echo "Test token (first 100 chars): $${TEST_TOKEN:0:100}..."; \
|
||||
echo "Waiting for OpenSearch with JWT auth to work..."; \
|
||||
JWT_AUTH_READY=false; \
|
||||
for i in $$(seq 1 60); do \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue