Skip to content

Commit

Permalink
chore: Revert all submodule introductions to fix CI (#17800)
Browse files Browse the repository at this point in the history
- Revert "chore: Fix publish workflow for older OS images (#17787)"
- Revert "chore: Add submodules to all checkouts (#17770)"
- Revert "chore: Download submodules in the CI checkouts (#17760)"
  • Loading branch information
spencergilbert committed Jun 29, 2023
1 parent 3dcf59d commit ff448f8
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 89 deletions.
4 changes: 1 addition & 3 deletions .github/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
security_audit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 0 additions & 4 deletions .github/workflows/changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ jobs:
k8s: ${{ steps.filter.outputs.k8s }}
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"

- uses: dorny/paths-filter@v2
id: filter
Expand Down Expand Up @@ -214,8 +212,6 @@ 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
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ 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
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/compilation-timings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ 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
Expand All @@ -35,8 +33,6 @@ 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
Expand All @@ -48,8 +44,6 @@ 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
Expand All @@ -61,8 +55,6 @@ 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
Expand All @@ -76,8 +68,6 @@ 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
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/component_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ 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: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
- run: bash scripts/environment/prepare.sh
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ 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
name: Cache Cargo registry + index
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ 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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/gardener_remove_waiting_author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ 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"
3 changes: 0 additions & 3 deletions .github/workflows/install-sh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ 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:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ 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: sudo npm -g install @datadog/datadog-ci

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/k8s_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,10 @@ 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:
Expand Down Expand Up @@ -208,13 +205,10 @@ 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:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ 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
name: Cache Cargo registry + index
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
runs-on: ubuntu-latest
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
21 changes: 0 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ 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
Expand All @@ -57,7 +56,6 @@ 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)
Expand All @@ -83,7 +81,6 @@ 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)
Expand All @@ -109,7 +106,6 @@ 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)
Expand Down Expand Up @@ -137,7 +133,6 @@ 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)
Expand Down Expand Up @@ -165,7 +160,6 @@ 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)
Expand Down Expand Up @@ -193,7 +187,6 @@ 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)
Expand Down Expand Up @@ -221,7 +214,6 @@ 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
Expand Down Expand Up @@ -252,7 +244,6 @@ 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
Expand Down Expand Up @@ -320,11 +311,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.git_ref }}
# Workaround for older OS images
# https://github.com/actions/checkout/issues/758
- name: Checkout submodules
run: |
git submodule update --init --recursive
- name: Download staged package artifacts (x86_64-unknown-linux-gnu)
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -381,7 +367,6 @@ 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:
Expand Down Expand Up @@ -409,7 +394,6 @@ 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:
Expand Down Expand Up @@ -440,7 +424,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.git_ref }}
submodules: "recursive"
- name: Login to DockerHub
uses: docker/login-action@v2.1.0
with:
Expand Down Expand Up @@ -516,7 +499,6 @@ 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:
Expand Down Expand Up @@ -588,7 +570,6 @@ 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:
Expand Down Expand Up @@ -649,7 +630,6 @@ 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 }}
Expand All @@ -675,7 +655,6 @@ 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:
Expand Down
Loading

0 comments on commit ff448f8

Please sign in to comment.