Skip to content

Commit 6577329

Browse files
Use git-lfs to track .o files (grafana#1183)
* Delete object files * Track .o files with git-lfs * Setup git-lfs
1 parent 2e55be5 commit 6577329

21 files changed

+27
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
*.o filter=lfs diff=lfs merge=lfs -text
12
. !text !filter !merge !diff
23
* !text !filter !merge !diff

.github/workflows/backport.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
repository: grafana/grafana-github-actions
1717
path: ./actions
1818
ref: main
19+
lfs: true
1920
- name: Install Actions
2021
run: npm install --production --prefix ./actions
2122
- name: Run backport

.github/workflows/check_ebpf_integrity.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16+
with:
17+
lfs: true
1618
- name: "Check eBPF code integrity"
1719
run: make check-ebpf-integrity

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18+
lfs: true
1819

1920
- name: Install Clang-Format
2021
run: sudo apt-get install clang-format

.github/workflows/generator-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
21+
with:
22+
lfs: true
2123

2224
- name: Set up QEMU
2325
uses: docker/setup-qemu-action@v3

.github/workflows/helm-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0 # required for chart-testing to work
30+
lfs: true
3031

3132
- name: Regenerate docs
3233
run: |

.github/workflows/publish-technical-documentation-next.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16+
with:
17+
lfs: true
1618

1719
- name: Clone website-sync Action
1820
# WEBSITE_SYNC_TOKEN is a fine-grained GitHub Personal Access Token that expires.

.github/workflows/publish-technical-documentation-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21+
lfs: true
2122

2223
- name: Checkout Actions library
2324
uses: actions/checkout@v4

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
go: [ '1.23' ]
1616
steps:
1717
- uses: actions/checkout@v3
18+
with:
19+
lfs: true
1820
# TODO:
1921
# - name: Check Drone.yml is up-to-date
2022
# uses: chrislennon/action-drone@v1

.github/workflows/pull_request_integration_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
go: [ '1.23' ]
1616
steps:
1717
- uses: actions/checkout@v3
18+
with:
19+
lfs: true
1820
- name: Set up Go
1921
uses: actions/setup-go@v3
2022
with:

0 commit comments

Comments
 (0)