Skip to content

Commit

Permalink
chore(ci): remove space reclamation steps for GH runners
Browse files Browse the repository at this point in the history
This commit removes the steps previously used to reclaim space on GH
runners. Since we have moved to self-hosted runners with more resources
available, these steps are no longer necessary

Signed-off-by: vprashar2929 <vibhu.sharma2929@gmail.com>
  • Loading branch information
vprashar2929 committed Oct 10, 2024
1 parent bb677e2 commit addf442
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
KUBECONFIG: /tmp/.kube/config
KIND_WORKER_NODES: 2

runs-on: ubuntu-latest
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- name: Run Operator Upgrade
shell: bash
run: |
./tests/run-e2e.sh --ci
./tests/run-e2e.sh
env:
VERSION: ${{ steps.version.outputs.version }}

Expand Down Expand Up @@ -224,18 +224,9 @@ jobs:
- uses: ./.github/compute-version
id: version

- name: reclaim space before running tests
run: |
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /tmp/*
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Python
df -kh
- name: Run e2e tests
run: |
./tests/run-e2e.sh --ci --no-upgrade
./tests/run-e2e.sh --no-upgrade
env:
VERSION: ${{ steps.version.outputs.version }}

Expand Down

0 comments on commit addf442

Please sign in to comment.