Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# IDE/Editor configs
.devcontainer
.github
.vscode
.idea
*.swp
*.swo

# Build artifacts
target/
*.pyc
*.pyo
*.pyd
__pycache__/

# Git-related
.git
.gitignore

# CI/CD
.github
.dockerignore
.gitattributes

# Dockerfiles
Dockerfile
Dockerfile-localnet
13 changes: 1 addition & 12 deletions .github/workflows/check-bittensor-e2e-tests.yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:

build-image-with-current-branch:
needs: check-label
if: needs.check-label.outputs.skip-bittensor-e2e-tests == 'false'
runs-on: [self-hosted, type-ccx33]
steps:
- name: Checkout code
Expand Down Expand Up @@ -211,12 +212,6 @@ jobs:
- name: Retag Docker Image
run: docker tag localnet ghcr.io/opentensor/subtensor-localnet:devnet-ready

# - name: Run tests
# working-directory: ${{ github.workspace }}/btcli
# run: |
# source ${{ github.workspace }}/venv/bin/activate
# uv run pytest ${{ matrix.test-file }} -s

- name: Run with retry
working-directory: ${{ github.workspace }}/btcli
run: |
Expand Down Expand Up @@ -311,12 +306,6 @@ jobs:
- name: Retag Docker Image
run: docker tag localnet ghcr.io/opentensor/subtensor-localnet:devnet-ready

# - name: Run tests
# working-directory: ${{ github.workspace }}/bittensor
# run: |
# source ${{ github.workspace }}/venv/bin/activate
# uv run pytest ${{ matrix.test-file }} -s

- name: Run with retry
working-directory: ${{ github.workspace }}/bittensor
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-localnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ jobs:
tags: |
ghcr.io/${{ github.repository }}-localnet:${{ env.tag }}
${{ env.latest_tag == 'true' && format('ghcr.io/{0}-localnet:latest', github.repository) || '' }}
cache-from: type=gha
cache-to: type=gha,mode=max
Loading