diff --git a/.github/audit.yml b/.github/audit.yml index 8a655a04ace82..6a3007248db03 100644 --- a/.github/audit.yml +++ b/.github/audit.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/changes.yml b/.github/workflows/changes.yml index db6c4225073e0..4b6697fed8726 100644 --- a/.github/workflows/changes.yml +++ b/.github/workflows/changes.yml @@ -119,6 +119,8 @@ jobs: k8s: ${{ steps.filter.outputs.k8s }} steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: dorny/paths-filter@v2 id: filter @@ -212,6 +214,8 @@ jobs: webhdfs: ${{ steps.filter.outputs.webhdfs }} steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" # creates a yaml file that contains the filters for each integration, # extracted from the output of the `vdev int ci-paths` command, which diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index a2ba175e0e4cd..7b03d7fef1876 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -28,10 +28,13 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} + submodules: "recursive" - name: Checkout branch if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 + with: + submodules: "recursive" - name: Cache Cargo registry + index uses: actions/cache@v3 diff --git a/.github/workflows/compilation-timings.yml b/.github/workflows/compilation-timings.yml index e96bea65ea946..94616e04af086 100644 --- a/.github/workflows/compilation-timings.yml +++ b/.github/workflows/compilation-timings.yml @@ -17,6 +17,8 @@ jobs: steps: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: bash scripts/environment/prepare.sh - run: cargo clean @@ -33,6 +35,8 @@ jobs: steps: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: bash scripts/environment/prepare.sh - run: cargo clean @@ -44,6 +48,8 @@ jobs: steps: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: bash scripts/environment/prepare.sh - run: cargo clean @@ -55,6 +61,8 @@ jobs: steps: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: bash scripts/environment/prepare.sh - run: cargo clean @@ -68,6 +76,8 @@ jobs: steps: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: bash scripts/environment/prepare.sh - run: cargo clean diff --git a/.github/workflows/environment.yml b/.github/workflows/environment.yml index 7057f98f21d6a..29c1901f31b67 100644 --- a/.github/workflows/environment.yml +++ b/.github/workflows/environment.yml @@ -34,10 +34,13 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} + submodules: "recursive" - name: Checkout branch if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 + with: + submodules: "recursive" - name: Set up QEMU uses: docker/setup-qemu-action@v2.2.0 diff --git a/.github/workflows/gardener_remove_waiting_author.yml b/.github/workflows/gardener_remove_waiting_author.yml index 9fe063e50b40d..37f6665034a14 100644 --- a/.github/workflows/gardener_remove_waiting_author.yml +++ b/.github/workflows/gardener_remove_waiting_author.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions-ecosystem/action-remove-labels@v1 with: labels: "meta: awaiting author" diff --git a/.github/workflows/install-sh.yml b/.github/workflows/install-sh.yml index 045319a191642..83d7f9517035e 100644 --- a/.github/workflows/install-sh.yml +++ b/.github/workflows/install-sh.yml @@ -28,10 +28,13 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} + submodules: "recursive" - name: Checkout branch if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 + with: + submodules: "recursive" - run: pip3 install awscli --upgrade --user - env: diff --git a/.github/workflows/k8s_e2e.yml b/.github/workflows/k8s_e2e.yml index f9360132d71e0..bbdea21a59588 100644 --- a/.github/workflows/k8s_e2e.yml +++ b/.github/workflows/k8s_e2e.yml @@ -88,10 +88,13 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} + submodules: "recursive" - name: Checkout branch if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions/cache@v3 with: @@ -205,10 +208,13 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ steps.comment-branch.outputs.head_ref }} + submodules: "recursive" - name: Checkout branch if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 361aa9cd4a3b8..00ced7b7504b5 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -16,6 +16,8 @@ jobs: runs-on: [ubuntu-20.04] steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - run: cargo install cargo-msrv --version 0.15.1 - run: cargo msrv verify diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 69c86091ea8c0..381be90c0806f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,6 +39,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Generate publish metadata id: generate-publish-metadata run: make ci-generate-publish-metadata @@ -56,6 +57,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -81,6 +83,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -106,6 +109,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -133,6 +137,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -160,6 +165,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -187,6 +193,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Ubuntu-specific) run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh - name: Bootstrap runner environment (generic) @@ -214,6 +221,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (macOS-specific) run: bash scripts/environment/bootstrap-macos-10.sh - name: Build Vector @@ -244,6 +252,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Bootstrap runner environment (Windows-specific) run: .\scripts\environment\bootstrap-windows-2019.ps1 - name: Install Wix @@ -311,6 +320,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (x86_64-unknown-linux-gnu) uses: actions/download-artifact@v3 with: @@ -367,6 +377,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (x86_64-unknown-linux-gnu) uses: actions/download-artifact@v3 with: @@ -394,6 +405,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (x86_64-apple-darwin) uses: actions/download-artifact@v3 with: @@ -424,6 +436,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Login to DockerHub uses: docker/login-action@v2.1.0 with: @@ -499,6 +512,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (aarch64-unknown-linux-gnu) uses: actions/download-artifact@v3 with: @@ -570,6 +584,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (aarch64-unknown-linux-gnu) uses: actions/download-artifact@v3 with: @@ -630,6 +645,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Publish update to Homebrew tap env: GITHUB_TOKEN: ${{ secrets.GH_PACKAGE_PUBLISHER_TOKEN }} @@ -655,6 +671,7 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.git_ref }} + submodules: "recursive" - name: Download staged package artifacts (aarch64-unknown-linux-gnu) uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 40600010998c2..ea6882a2447aa 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -48,6 +48,8 @@ jobs: comment_valid: ${{ steps.comment.outputs.isTeamMember }} steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - name: Collect file changes id: changes @@ -129,6 +131,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 1000 + submodules: "recursive" # If triggered by issue comment, the event payload doesn't directly contain the head and base sha from the PR. # But, we can retrieve this info from some commands. @@ -287,6 +290,8 @@ jobs: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions/checkout@v3 with: @@ -325,6 +330,8 @@ jobs: - uses: colpal/actions-clean@v1 - uses: actions/checkout@v3 + with: + submodules: "recursive" - uses: actions/checkout@v3 with: @@ -475,6 +482,7 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ needs.compute-metadata.outputs.comparison-sha }} + submodules: "recursive" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2.2.0 @@ -594,6 +602,8 @@ jobs: - compute-metadata steps: - uses: actions/checkout@v3 + with: + submodules: "recursive" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2.2.0 @@ -685,6 +695,7 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ needs.compute-metadata.outputs.comparison-sha }} + submodules: "recursive" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2.2.0