feat: initialize XAS test console with native execution

This commit is contained in:
AdamWen95
2026-10-14 09:38:58 +08:00
commit 438844b01a
83 changed files with 9334 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
[Unit]
Description=XAS script console private execution worker
After=docker.service
Requires=docker.service
[Service]
Type=simple
WorkingDirectory=/adamwen-work-space/xas-test-library
Environment=XAS_CONSOLE_ROOT=/adamwen-work-space/xas-test-library/runtime
Environment=XAS_WORKER_CONFIG=/adamwen-work-space/xas-test-library/deploy/console-worker.json
Environment=PYTHONDONTWRITEBYTECODE=1
ExecStart=/usr/bin/python3 -m console.worker
User=root
Group=root
UMask=0022
Restart=on-failure
RestartSec=5
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target