Skip to content

Commit 7196622

Browse files
chore: Add submodules to all checkouts (vectordotdev#17770)
1 parent 53f8bff commit 7196622

File tree

11 files changed

+63
-0
lines changed

11 files changed

+63
-0
lines changed

.github/audit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v3
15+
with:
16+
submodules: "recursive"
1517
- uses: actions-rs/audit-check@v1
1618
with:
1719
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/changes.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ jobs:
119119
k8s: ${{ steps.filter.outputs.k8s }}
120120
steps:
121121
- uses: actions/checkout@v3
122+
with:
123+
submodules: "recursive"
122124

123125
- uses: dorny/paths-filter@v2
124126
id: filter
@@ -212,6 +214,8 @@ jobs:
212214
webhdfs: ${{ steps.filter.outputs.webhdfs }}
213215
steps:
214216
- uses: actions/checkout@v3
217+
with:
218+
submodules: "recursive"
215219

216220
# creates a yaml file that contains the filters for each integration,
217221
# extracted from the output of the `vdev int ci-paths` command, which

.github/workflows/cli.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
ref: ${{ steps.comment-branch.outputs.head_ref }}
31+
submodules: "recursive"
3132

3233
- name: Checkout branch
3334
if: ${{ github.event_name != 'issue_comment' }}
3435
uses: actions/checkout@v3
36+
with:
37+
submodules: "recursive"
3538

3639
- name: Cache Cargo registry + index
3740
uses: actions/cache@v3

.github/workflows/compilation-timings.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- uses: colpal/actions-clean@v1
1919
- uses: actions/checkout@v3
20+
with:
21+
submodules: "recursive"
2022
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
2123
- run: bash scripts/environment/prepare.sh
2224
- run: cargo clean
@@ -33,6 +35,8 @@ jobs:
3335
steps:
3436
- uses: colpal/actions-clean@v1
3537
- uses: actions/checkout@v3
38+
with:
39+
submodules: "recursive"
3640
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
3741
- run: bash scripts/environment/prepare.sh
3842
- run: cargo clean
@@ -44,6 +48,8 @@ jobs:
4448
steps:
4549
- uses: colpal/actions-clean@v1
4650
- uses: actions/checkout@v3
51+
with:
52+
submodules: "recursive"
4753
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
4854
- run: bash scripts/environment/prepare.sh
4955
- run: cargo clean
@@ -55,6 +61,8 @@ jobs:
5561
steps:
5662
- uses: colpal/actions-clean@v1
5763
- uses: actions/checkout@v3
64+
with:
65+
submodules: "recursive"
5866
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
5967
- run: bash scripts/environment/prepare.sh
6068
- run: cargo clean
@@ -68,6 +76,8 @@ jobs:
6876
steps:
6977
- uses: colpal/actions-clean@v1
7078
- uses: actions/checkout@v3
79+
with:
80+
submodules: "recursive"
7181
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
7282
- run: bash scripts/environment/prepare.sh
7383
- run: cargo clean

.github/workflows/environment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ jobs:
3434
uses: actions/checkout@v3
3535
with:
3636
ref: ${{ steps.comment-branch.outputs.head_ref }}
37+
submodules: "recursive"
3738

3839
- name: Checkout branch
3940
if: ${{ github.event_name != 'issue_comment' }}
4041
uses: actions/checkout@v3
42+
with:
43+
submodules: "recursive"
4144

4245
- name: Set up QEMU
4346
uses: docker/[email protected]

.github/workflows/gardener_remove_waiting_author.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12+
with:
13+
submodules: "recursive"
1214
- uses: actions-ecosystem/action-remove-labels@v1
1315
with:
1416
labels: "meta: awaiting author"

.github/workflows/install-sh.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
ref: ${{ steps.comment-branch.outputs.head_ref }}
31+
submodules: "recursive"
3132

3233
- name: Checkout branch
3334
if: ${{ github.event_name != 'issue_comment' }}
3435
uses: actions/checkout@v3
36+
with:
37+
submodules: "recursive"
3538

3639
- run: pip3 install awscli --upgrade --user
3740
- env:

.github/workflows/k8s_e2e.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ jobs:
8888
uses: actions/checkout@v3
8989
with:
9090
ref: ${{ steps.comment-branch.outputs.head_ref }}
91+
submodules: "recursive"
9192

9293
- name: Checkout branch
9394
if: ${{ github.event_name != 'issue_comment' }}
9495
uses: actions/checkout@v3
96+
with:
97+
submodules: "recursive"
9598

9699
- uses: actions/cache@v3
97100
with:
@@ -205,10 +208,13 @@ jobs:
205208
uses: actions/checkout@v3
206209
with:
207210
ref: ${{ steps.comment-branch.outputs.head_ref }}
211+
submodules: "recursive"
208212

209213
- name: Checkout branch
210214
if: ${{ github.event_name != 'issue_comment' }}
211215
uses: actions/checkout@v3
216+
with:
217+
submodules: "recursive"
212218

213219
- uses: actions/download-artifact@v3
214220
with:

.github/workflows/msrv.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: [ubuntu-20.04]
1717
steps:
1818
- uses: actions/checkout@v3
19+
with:
20+
submodules: "recursive"
1921
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
2022
- run: cargo install cargo-msrv --version 0.15.1
2123
- run: cargo msrv verify

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
uses: actions/checkout@v3
4040
with:
4141
ref: ${{ inputs.git_ref }}
42+
submodules: "recursive"
4243
- name: Generate publish metadata
4344
id: generate-publish-metadata
4445
run: make ci-generate-publish-metadata
@@ -56,6 +57,7 @@ jobs:
5657
uses: actions/checkout@v3
5758
with:
5859
ref: ${{ inputs.git_ref }}
60+
submodules: "recursive"
5961
- name: Bootstrap runner environment (Ubuntu-specific)
6062
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
6163
- name: Bootstrap runner environment (generic)
@@ -81,6 +83,7 @@ jobs:
8183
uses: actions/checkout@v3
8284
with:
8385
ref: ${{ inputs.git_ref }}
86+
submodules: "recursive"
8487
- name: Bootstrap runner environment (Ubuntu-specific)
8588
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
8689
- name: Bootstrap runner environment (generic)
@@ -106,6 +109,7 @@ jobs:
106109
uses: actions/checkout@v3
107110
with:
108111
ref: ${{ inputs.git_ref }}
112+
submodules: "recursive"
109113
- name: Bootstrap runner environment (Ubuntu-specific)
110114
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
111115
- name: Bootstrap runner environment (generic)
@@ -133,6 +137,7 @@ jobs:
133137
uses: actions/checkout@v3
134138
with:
135139
ref: ${{ inputs.git_ref }}
140+
submodules: "recursive"
136141
- name: Bootstrap runner environment (Ubuntu-specific)
137142
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
138143
- name: Bootstrap runner environment (generic)
@@ -160,6 +165,7 @@ jobs:
160165
uses: actions/checkout@v3
161166
with:
162167
ref: ${{ inputs.git_ref }}
168+
submodules: "recursive"
163169
- name: Bootstrap runner environment (Ubuntu-specific)
164170
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
165171
- name: Bootstrap runner environment (generic)
@@ -187,6 +193,7 @@ jobs:
187193
uses: actions/checkout@v3
188194
with:
189195
ref: ${{ inputs.git_ref }}
196+
submodules: "recursive"
190197
- name: Bootstrap runner environment (Ubuntu-specific)
191198
run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
192199
- name: Bootstrap runner environment (generic)
@@ -214,6 +221,7 @@ jobs:
214221
uses: actions/checkout@v3
215222
with:
216223
ref: ${{ inputs.git_ref }}
224+
submodules: "recursive"
217225
- name: Bootstrap runner environment (macOS-specific)
218226
run: bash scripts/environment/bootstrap-macos-10.sh
219227
- name: Build Vector
@@ -244,6 +252,7 @@ jobs:
244252
uses: actions/checkout@v3
245253
with:
246254
ref: ${{ inputs.git_ref }}
255+
submodules: "recursive"
247256
- name: Bootstrap runner environment (Windows-specific)
248257
run: .\scripts\environment\bootstrap-windows-2019.ps1
249258
- name: Install Wix
@@ -311,6 +320,7 @@ jobs:
311320
uses: actions/checkout@v3
312321
with:
313322
ref: ${{ inputs.git_ref }}
323+
submodules: "recursive"
314324
- name: Download staged package artifacts (x86_64-unknown-linux-gnu)
315325
uses: actions/download-artifact@v3
316326
with:
@@ -367,6 +377,7 @@ jobs:
367377
uses: actions/checkout@v3
368378
with:
369379
ref: ${{ inputs.git_ref }}
380+
submodules: "recursive"
370381
- name: Download staged package artifacts (x86_64-unknown-linux-gnu)
371382
uses: actions/download-artifact@v3
372383
with:
@@ -394,6 +405,7 @@ jobs:
394405
uses: actions/checkout@v3
395406
with:
396407
ref: ${{ inputs.git_ref }}
408+
submodules: "recursive"
397409
- name: Download staged package artifacts (x86_64-apple-darwin)
398410
uses: actions/download-artifact@v3
399411
with:
@@ -424,6 +436,7 @@ jobs:
424436
uses: actions/checkout@v3
425437
with:
426438
ref: ${{ inputs.git_ref }}
439+
submodules: "recursive"
427440
- name: Login to DockerHub
428441
uses: docker/[email protected]
429442
with:
@@ -499,6 +512,7 @@ jobs:
499512
uses: actions/checkout@v3
500513
with:
501514
ref: ${{ inputs.git_ref }}
515+
submodules: "recursive"
502516
- name: Download staged package artifacts (aarch64-unknown-linux-gnu)
503517
uses: actions/download-artifact@v3
504518
with:
@@ -570,6 +584,7 @@ jobs:
570584
uses: actions/checkout@v3
571585
with:
572586
ref: ${{ inputs.git_ref }}
587+
submodules: "recursive"
573588
- name: Download staged package artifacts (aarch64-unknown-linux-gnu)
574589
uses: actions/download-artifact@v3
575590
with:
@@ -630,6 +645,7 @@ jobs:
630645
uses: actions/checkout@v3
631646
with:
632647
ref: ${{ inputs.git_ref }}
648+
submodules: "recursive"
633649
- name: Publish update to Homebrew tap
634650
env:
635651
GITHUB_TOKEN: ${{ secrets.GH_PACKAGE_PUBLISHER_TOKEN }}
@@ -655,6 +671,7 @@ jobs:
655671
uses: actions/checkout@v3
656672
with:
657673
ref: ${{ inputs.git_ref }}
674+
submodules: "recursive"
658675
- name: Download staged package artifacts (aarch64-unknown-linux-gnu)
659676
uses: actions/download-artifact@v3
660677
with:

.github/workflows/regression.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
comment_valid: ${{ steps.comment.outputs.isTeamMember }}
4949
steps:
5050
- uses: actions/checkout@v3
51+
with:
52+
submodules: "recursive"
5153

5254
- name: Collect file changes
5355
id: changes
@@ -129,6 +131,7 @@ jobs:
129131
- uses: actions/checkout@v3
130132
with:
131133
fetch-depth: 1000
134+
submodules: "recursive"
132135

133136
# If triggered by issue comment, the event payload doesn't directly contain the head and base sha from the PR.
134137
# But, we can retrieve this info from some commands.
@@ -287,6 +290,8 @@ jobs:
287290
- uses: colpal/actions-clean@v1
288291

289292
- uses: actions/checkout@v3
293+
with:
294+
submodules: "recursive"
290295

291296
- uses: actions/checkout@v3
292297
with:
@@ -325,6 +330,8 @@ jobs:
325330
- uses: colpal/actions-clean@v1
326331

327332
- uses: actions/checkout@v3
333+
with:
334+
submodules: "recursive"
328335

329336
- uses: actions/checkout@v3
330337
with:
@@ -475,6 +482,7 @@ jobs:
475482
- uses: actions/checkout@v3
476483
with:
477484
ref: ${{ needs.compute-metadata.outputs.comparison-sha }}
485+
submodules: "recursive"
478486

479487
- name: Configure AWS Credentials
480488
uses: aws-actions/[email protected]
@@ -594,6 +602,8 @@ jobs:
594602
- compute-metadata
595603
steps:
596604
- uses: actions/checkout@v3
605+
with:
606+
submodules: "recursive"
597607

598608
- name: Configure AWS Credentials
599609
uses: aws-actions/[email protected]
@@ -685,6 +695,7 @@ jobs:
685695
- uses: actions/checkout@v3
686696
with:
687697
ref: ${{ needs.compute-metadata.outputs.comparison-sha }}
698+
submodules: "recursive"
688699

689700
- name: Configure AWS Credentials
690701
uses: aws-actions/[email protected]

0 commit comments

Comments
 (0)