Skip to content

Commit

Permalink
move remaining big files into LFS (#30053)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Sep 26, 2023
1 parent 7ac659a commit e185e5f
Show file tree
Hide file tree
Showing 42 changed files with 22 additions and 17,991 deletions.
12 changes: 11 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
*.dlc filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
selfdrive/car/tests/test_models_segs.txt filter=lfs diff=lfs merge=lfs -text

selfdrive/assets/fonts/*.ttf filter=lfs diff=lfs merge=lfs -text
selfdrive/assets/training/*.png filter=lfs diff=lfs merge=lfs -text
system/hardware/tici/updater filter=lfs diff=lfs merge=lfs -text
selfdrive/ui/qt/spinner_larch64 filter=lfs diff=lfs merge=lfs -text
selfdrive/ui/qt/text_larch64 filter=lfs diff=lfs merge=lfs -text
third_party/**/*.a filter=lfs diff=lfs merge=lfs -text
third_party/**/*.so filter=lfs diff=lfs merge=lfs -text
third_party/**/*.dylib filter=lfs diff=lfs merge=lfs -text
third_party/acados/*/t_renderer filter=lfs diff=lfs merge=lfs -text
third_party/bootstrap/bootstrap-icons.svg filter=lfs diff=lfs merge=lfs -text
third_party/qt5/larch64/bin/lrelease filter=lfs diff=lfs merge=lfs -text
third_party/qt5/larch64/bin/lupdate filter=lfs diff=lfs merge=lfs -text
third_party/catch2/include/catch2/catch.hpp filter=lfs diff=lfs merge=lfs -text
8 changes: 5 additions & 3 deletions .github/workflows/selfdrive_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- run: git lfs pull
- name: Build devel
timeout-minutes: 1
run: TARGET_DIR=$STRIPPED_DIR release/build_devel.sh
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- run: git lfs pull
- name: Determine pre-existing Homebrew packages
if: steps.dependency-cache.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -198,7 +200,6 @@ jobs:
$DOCKER_LOGIN
- uses: ./.github/workflows/setup-with-retry
with:
git_lfs: false
docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}
- name: Build and push CL Docker image
if: matrix.arch == 'x86_64'
Expand Down Expand Up @@ -230,8 +231,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build Docker image
run: eval "$BUILD"
- uses: ./.github/workflows/setup-with-retry
- name: pre-commit
timeout-minutes: 4
run: ${{ env.RUN }} "unset PYTHONWARNINGS && pre-commit run --all"
Expand Down Expand Up @@ -394,6 +394,7 @@ jobs:
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- run: git lfs pull
- uses: ./.github/workflows/setup-with-retry
- name: Get base car info
run: |
Expand All @@ -403,6 +404,7 @@ jobs:
with:
submodules: true
path: current
- run: cd current && git lfs pull
- name: Save car docs diff
id: save_diff
run: |
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/setup-with-retry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ inputs:
description: 'Auth token for Docker Hub, required for BuildJet jobs'
required: false
default: ''
git_lfs:
description: 'Whether or not to pull the git lfs'
required: false
default: 'true'
cache_key_prefix:
description: 'Prefix for caching key'
required: false
Expand All @@ -26,7 +22,6 @@ runs:
continue-on-error: true
with:
docker_hub_pat: ${{ inputs.docker_hub_pat }}
git_lfs: ${{ inputs.git_lfs }}
cache_key_prefix: ${{ inputs.cache_key_prefix }}
is_retried: true
- if: steps.setup1.outcome == 'failure'
Expand All @@ -38,7 +33,6 @@ runs:
continue-on-error: true
with:
docker_hub_pat: ${{ inputs.docker_hub_pat }}
git_lfs: ${{ inputs.git_lfs }}
cache_key_prefix: ${{ inputs.cache_key_prefix }}
is_retried: true
- if: steps.setup2.outcome == 'failure'
Expand All @@ -49,6 +43,5 @@ runs:
uses: ./.github/workflows/setup
with:
docker_hub_pat: ${{ inputs.docker_hub_pat }}
git_lfs: ${{ inputs.git_lfs }}
cache_key_prefix: ${{ inputs.cache_key_prefix }}
is_retried: true
5 changes: 0 additions & 5 deletions .github/workflows/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ inputs:
description: 'Auth token for Docker Hub, required for BuildJet jobs'
required: true
default: ''
git_lfs:
description: 'Whether or not to pull the git lfs'
required: true
default: 'true'
cache_key_prefix:
description: 'Prefix for caching key'
required: true
Expand All @@ -30,7 +26,6 @@ runs:
# do this after checkout to ensure our custom LFS config is used to pull from GitLab
- shell: bash
if: ${{ inputs.git_lfs == 'true' }}
run: git lfs pull

# on BuildJet runners, must be logged into DockerHub to avoid rate limiting
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tools_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ jobs:
with:
submodules: true
- uses: ./.github/workflows/setup-with-retry
with:
git_lfs: false
- name: Setup to push to repo
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'
run: |
Expand All @@ -91,8 +89,6 @@ jobs:
with:
submodules: true
- uses: ./.github/workflows/setup-with-retry
with:
git_lfs: false
- name: Use local image for testing devcontainer with latest base image
run: |
echo "USE_LOCAL_IMAGE=true" >> "$GITHUB_ENV"
Expand Down
Binary file modified selfdrive/ui/qt/spinner_larch64
Binary file not shown.
Binary file modified selfdrive/ui/qt/text_larch64
Binary file not shown.
Binary file modified system/hardware/tici/updater
Binary file not shown.
Binary file modified third_party/acados/Darwin/lib/libacados.dylib
Binary file not shown.
Binary file modified third_party/acados/Darwin/lib/libblasfeo.dylib
Binary file not shown.
Binary file modified third_party/acados/Darwin/lib/libhpipm.dylib
Binary file not shown.
Binary file modified third_party/acados/Darwin/lib/libqpOASES_e.3.1.dylib
Binary file not shown.
Binary file modified third_party/acados/Darwin/t_renderer
Binary file not shown.
Binary file modified third_party/acados/larch64/lib/libacados.so
Binary file not shown.
Binary file modified third_party/acados/larch64/lib/libblasfeo.so
Binary file not shown.
Binary file modified third_party/acados/larch64/lib/libhpipm.so
Binary file not shown.
Binary file modified third_party/acados/larch64/t_renderer
Binary file not shown.
Binary file modified third_party/acados/x86_64/lib/libacados.so
Binary file not shown.
Binary file modified third_party/acados/x86_64/lib/libblasfeo.so
Binary file not shown.
Binary file modified third_party/acados/x86_64/lib/libhpipm.so
Binary file not shown.
Binary file modified third_party/acados/x86_64/t_renderer
Binary file not shown.
4 changes: 3 additions & 1 deletion third_party/bootstrap/bootstrap-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e185e5f

Please sign in to comment.