2626
2727jobs :
2828 check-label :
29- runs-on : [self-hosted, type-ccx13]
29+ runs-on : ubuntu-latest
3030 outputs :
3131 skip-bittensor-e2e-tests : ${{ steps.get-labels.outputs.skip-bittensor-e2e-tests }}
3232 steps :
5757 find-btcli-e2e-tests :
5858 needs : check-label
5959 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
60- runs-on : [self-hosted, type-ccx13]
60+ runs-on : ubuntu-latest
6161 outputs :
6262 test-files : ${{ steps.get-btcli-tests.outputs.test-files }}
6363 steps :
8484 find-sdk-e2e-tests :
8585 needs : check-label
8686 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
87- runs-on : [self-hosted, type-ccx13]
87+ runs-on : ubuntu-latest
8888 outputs :
8989 test-files : ${{ steps.get-sdk-tests.outputs.test-files }}
9090 steps :
@@ -111,7 +111,7 @@ jobs:
111111 build-image-with-current-branch :
112112 needs : check-label
113113 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
114- runs-on : [self-hosted, type-ccx33]
114+ runs-on : ubuntu-latest
115115 steps :
116116 - name : Checkout code
117117 uses : actions/checkout@v4
@@ -130,17 +130,27 @@ jobs:
130130 - name : Set up Docker Buildx
131131 uses : docker/setup-buildx-action@v3
132132
133+ - name : Move Docker data-root to /mnt/data
134+ run : |
135+ sudo systemctl stop docker
136+ sudo mkdir -p /mnt/data/docker
137+ sudo chown -R runner:runner /mnt/data
138+ sudo chmod -R 777 /mnt/data
139+ echo '{"data-root": "/mnt/data/docker"}' | sudo tee /etc/docker/daemon.json
140+ sudo systemctl start docker
141+ docker info | grep "Docker Root Dir"
142+
133143 - name : Build Docker Image
134144 run : docker build -f Dockerfile-localnet -t localnet .
135145
136146 - name : Save Docker Image as Tar
137- run : docker save -o subtensor-localnet.tar localnet
147+ run : docker save -o /mnt/data/ subtensor-localnet.tar localnet
138148
139149 - name : Upload Docker Image as Artifact
140150 uses : actions/upload-artifact@v4
141151 with :
142152 name : subtensor-localnet
143- path : subtensor-localnet.tar
153+ path : /mnt/data/ subtensor-localnet.tar
144154
145155 # main btcli job
146156 run-btcli-e2e-tests :
@@ -149,7 +159,7 @@ jobs:
149159 - find-btcli-e2e-tests
150160 - build-image-with-current-branch
151161 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
152- runs-on : [self-hosted, type-ccx13]
162+ runs-on : ubuntu-latest
153163 strategy :
154164 fail-fast : false
155165 max-parallel : 16
@@ -181,7 +191,7 @@ jobs:
181191 - name : Install uv
182192 uses : astral-sh/setup-uv@v5
183193 with :
184- enable-cache : ' false'
194+ enable-cache : " false"
185195
186196 - name : Create Python virtual environment
187197 working-directory : ${{ github.workspace }}
@@ -243,7 +253,7 @@ jobs:
243253 - find-sdk-e2e-tests
244254 - build-image-with-current-branch
245255 if : needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
246- runs-on : [self-hosted, type-ccx13]
256+ runs-on : ubuntu-latest
247257 strategy :
248258 fail-fast : false
249259 max-parallel : 16
@@ -275,7 +285,7 @@ jobs:
275285 - name : Install uv
276286 uses : astral-sh/setup-uv@v5
277287 with :
278- enable-cache : ' false'
288+ enable-cache : " false"
279289
280290 - name : Create Python virtual environment
281291 working-directory : ${{ github.workspace }}
0 commit comments