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:
|
jobs:
|
||||||
pr-e2e-test:
|
pr-e2e-test:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
env:
|
|
||||||
CUDA_VISIBLE_DEVICES: 6
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ add `/lib/systemd/system/runner.service`
|
|||||||
[Unit]
|
[Unit]
|
||||||
StartLimitIntervalSec=0
|
StartLimitIntervalSec=0
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment="CUDA_VISIBLE_DEVICES=7"
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
ExecStart=/home/lmzheng/zhyncs/actions-runner/run.sh
|
ExecStart=/data/zhyncs/actions-runner/run.sh
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user