Update runner docs (#876)
This commit is contained in:
2
.github/workflows/pr-e2e-test.yml
vendored
2
.github/workflows/pr-e2e-test.yml
vendored
@@ -18,8 +18,6 @@ concurrency:
|
||||
jobs:
|
||||
pr-e2e-test:
|
||||
runs-on: self-hosted
|
||||
env:
|
||||
CUDA_VISIBLE_DEVICES: 6
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -14,9 +14,10 @@ add `/lib/systemd/system/runner.service`
|
||||
[Unit]
|
||||
StartLimitIntervalSec=0
|
||||
[Service]
|
||||
Environment="CUDA_VISIBLE_DEVICES=7"
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
ExecStart=/home/lmzheng/zhyncs/actions-runner/run.sh
|
||||
ExecStart=/data/zhyncs/actions-runner/run.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user