Skip to content

Commit a9bc564

Browse files
authored
ci: reduce git fetch depth (#8473)
1 parent 09ef6e0 commit a9bc564

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
timezoneLinux: ${{ matrix.timezone }}
4444
- uses: actions/checkout@v3
4545
with:
46-
fetch-depth: 0
46+
fetch-depth: 800
4747
- name: Set up JDK 11
4848
uses: actions/setup-java@v3
4949
with:

.github/workflows/check-datahub-jars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v3
4040
with:
41-
fetch-depth: 0
41+
fetch-depth: 800
4242
- name: Set up JDK 11
4343
uses: actions/setup-java@v3
4444
with:

.github/workflows/code-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Check out the repo
3939
uses: actions/checkout@v3
4040
with:
41-
fetch-depth: 0
41+
fetch-depth: 800
4242
- uses: actions/setup-python@v4
4343
with:
4444
python-version: "3.10"

.github/workflows/docker-ingestion-base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Check out the repo
3131
uses: actions/checkout@v3
3232
with:
33-
fetch-depth: 0
33+
fetch-depth: 800
3434
- name: Build and Push image
3535
uses: ./.github/actions/docker-custom-build-and-push
3636
with:

.github/workflows/docker-ingestion-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Check out the repo
5454
uses: actions/checkout@v3
5555
with:
56-
fetch-depth: 0
56+
fetch-depth: 800
5757
- name: Build and push
5858
uses: ./.github/actions/docker-custom-build-and-push
5959
with:

.github/workflows/docker-ingestion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Check out the repo
5858
uses: actions/checkout@v3
5959
with:
60-
fetch-depth: 0
60+
fetch-depth: 800
6161
- name: Build and push
6262
uses: ./.github/actions/docker-custom-build-and-push
6363
with:

.github/workflows/docker-postgres-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Check out the repo
4949
uses: actions/checkout@v3
5050
with:
51-
fetch-depth: 0
51+
fetch-depth: 800
5252
- name: Build and push
5353
uses: ./.github/actions/docker-custom-build-and-push
5454
with:

.github/workflows/docker-unified.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Check out the repo
6565
uses: actions/checkout@v3
6666
with:
67-
fetch-depth: 0
67+
fetch-depth: 800
6868
- name: Pre-build artifacts for docker image
6969
run: |
7070
./gradlew :metadata-service:war:build -x test --parallel
@@ -122,7 +122,7 @@ jobs:
122122
- name: Check out the repo
123123
uses: actions/checkout@v3
124124
with:
125-
fetch-depth: 0
125+
fetch-depth: 800
126126
- name: Pre-build artifacts for docker image
127127
run: |
128128
./gradlew :metadata-jobs:mae-consumer-job:build -x test --parallel
@@ -180,7 +180,7 @@ jobs:
180180
- name: Check out the repo
181181
uses: actions/checkout@v3
182182
with:
183-
fetch-depth: 0
183+
fetch-depth: 800
184184
- name: Pre-build artifacts for docker image
185185
run: |
186186
./gradlew :metadata-jobs:mce-consumer-job:build -x test --parallel
@@ -238,7 +238,7 @@ jobs:
238238
- name: Check out the repo
239239
uses: actions/checkout@v3
240240
with:
241-
fetch-depth: 0
241+
fetch-depth: 800
242242
- name: Pre-build artifacts for docker image
243243
run: |
244244
./gradlew :datahub-upgrade:build -x test --parallel
@@ -296,7 +296,7 @@ jobs:
296296
- name: Check out the repo
297297
uses: actions/checkout@v3
298298
with:
299-
fetch-depth: 0
299+
fetch-depth: 800
300300
- name: Pre-build artifacts for docker image
301301
run: |
302302
./gradlew :datahub-frontend:dist -x test -x yarnTest -x yarnLint --parallel
@@ -356,7 +356,7 @@ jobs:
356356
- name: Check out the repo
357357
uses: actions/checkout@v3
358358
with:
359-
fetch-depth: 0
359+
fetch-depth: 800
360360
- name: Build and push
361361
uses: ./.github/actions/docker-custom-build-and-push
362362
with:
@@ -378,7 +378,7 @@ jobs:
378378
- name: Check out the repo
379379
uses: actions/checkout@v3
380380
with:
381-
fetch-depth: 0
381+
fetch-depth: 800
382382
- name: Build and push
383383
uses: ./.github/actions/docker-custom-build-and-push
384384
with:
@@ -400,7 +400,7 @@ jobs:
400400
- name: Check out the repo
401401
uses: actions/checkout@v3
402402
with:
403-
fetch-depth: 0
403+
fetch-depth: 800
404404
- name: Build and push
405405
uses: ./.github/actions/docker-custom-build-and-push
406406
with:

.github/workflows/publish-datahub-jars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v3
5252
with:
53-
fetch-depth: 0
53+
fetch-depth: 800
5454
- name: Set up JDK 11
5555
uses: actions/setup-java@v3
5656
with:

0 commit comments

Comments
 (0)