2626
2727jobs :
2828 check-label :
29- runs-on : ubuntu-latest
29+ runs-on : [self-hosted, type-ccx13]
3030 outputs :
3131 skip-bittensor-e2e-tests : ${{ steps.get-labels.outputs.skip-bittensor-e2e-tests }}
3232 steps :
33+ - name : Install dependencies
34+ run : |
35+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
36+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" gh jq
37+
3338 - name : Check out repository
3439 uses : actions/checkout@v4
3540 with :
@@ -52,10 +57,15 @@ jobs:
5257 find-btcli-e2e-tests :
5358 needs : check-label
5459 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
55- runs-on : ubuntu-latest
60+ runs-on : [self-hosted, type-ccx13]
5661 outputs :
5762 test-files : ${{ steps.get-btcli-tests.outputs.test-files }}
5863 steps :
64+ - name : Install dependencies
65+ run : |
66+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
67+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" jq
68+
5969 - name : Research preparation
6070 working-directory : ${{ github.workspace }}
6171 run : git clone https://github.com/opentensor/btcli.git
6474 working-directory : ${{ github.workspace }}/btcli
6575 run : git checkout staging
6676
67- - name : Install dependencies
68- run : sudo apt-get install -y jq
69-
7077 - name : Find e2e test files
7178 id : get-btcli-tests
7279 run : |
@@ -77,10 +84,15 @@ jobs:
7784 find-sdk-e2e-tests :
7885 needs : check-label
7986 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
80- runs-on : ubuntu-latest
87+ runs-on : [self-hosted, type-ccx13]
8188 outputs :
8289 test-files : ${{ steps.get-sdk-tests.outputs.test-files }}
8390 steps :
91+ - name : Install dependencies
92+ run : |
93+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
94+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" jq
95+
8496 - name : Research preparation
8597 working-directory : ${{ github.workspace }}
8698 run : git clone https://github.com/opentensor/bittensor.git
89101 working-directory : ${{ github.workspace }}/bittensor
90102 run : git checkout staging
91103
92- - name : Install dependencies
93- run : sudo apt-get install -y jq
94-
95104 - name : Find e2e test files
96105 id : get-sdk-tests
97106 run : |
@@ -101,7 +110,7 @@ jobs:
101110
102111 build-image-with-current-branch :
103112 needs : check-label
104- runs-on : SubtensorCI
113+ runs-on : [self-hosted, type-ccx33]
105114 steps :
106115 - name : Checkout code
107116 uses : actions/checkout@v4
@@ -139,7 +148,7 @@ jobs:
139148 - find-btcli-e2e-tests
140149 - build-image-with-current-branch
141150 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
142- runs-on : ubuntu-latest
151+ runs-on : [self-hosted, type-ccx13]
143152 strategy :
144153 fail-fast : false
145154 max-parallel : 16
@@ -175,7 +184,7 @@ jobs:
175184
176185 - name : Create Python virtual environment
177186 working-directory : ${{ github.workspace }}
178- run : uv venv ${{ github.workspace }}/venv
187+ run : uv venv --seed ${{ github.workspace }}/venv
179188
180189 - name : Clone Bittensor CLI repo
181190 working-directory : ${{ github.workspace }}
@@ -239,7 +248,7 @@ jobs:
239248 - find-sdk-e2e-tests
240249 - build-image-with-current-branch
241250 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
242- runs-on : ubuntu-latest
251+ runs-on : [self-hosted, type-ccx13]
243252 strategy :
244253 fail-fast : false
245254 max-parallel : 16
@@ -275,7 +284,7 @@ jobs:
275284
276285 - name : Create Python virtual environment
277286 working-directory : ${{ github.workspace }}
278- run : uv venv ${{ github.workspace }}/venv
287+ run : uv venv --seed ${{ github.workspace }}/venv
279288
280289 - name : Clone Bittensor SDK repo
281290 working-directory : ${{ github.workspace }}
0 commit comments