Skip to content

Commit 5c33f99

Browse files
authored
chore(ci): Remove ci-sweep tasks (vectordotdev#17415)
Noticed this still being used in a couple of places that it didn't need to be (it was only useful for Github hosted runners with tight disk contraints). Once I removed them I found it wasn't being used anywhere so removed the `make` task. Saves roughly 3 minutes per test. Signed-off-by: Jesse Szwedko <[email protected]>
1 parent dc6e54c commit 5c33f99

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

.github/workflows/integration-test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ jobs:
9292
timeout-minutes: 30
9393
steps:
9494
- uses: actions/checkout@v3
95-
- run: make ci-sweep
9695
- run: sudo npm -g install @datadog/datadog-ci
9796
- run: make test-integration-${{ matrix.test }}
9897
env:

.github/workflows/k8s_e2e.yml

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656
CARGO_INCREMENTAL: 0
5757
steps:
5858
- uses: actions/checkout@v3
59-
- run: make ci-sweep
6059
- uses: actions/cache@v3
6160
with:
6261
path: |

Makefile

-13
Original file line numberDiff line numberDiff line change
@@ -635,19 +635,6 @@ generate-component-docs: ## Generate per-component Cue docs from the configurati
635635
signoff: ## Signsoff all previous commits since branch creation
636636
scripts/signoff.sh
637637

638-
ifeq (${CI}, true)
639-
.PHONY: ci-sweep
640-
ci-sweep: ## Sweep up the CI to try to get more disk space.
641-
@echo "Preparing the CI for build by sweeping up disk space a bit..."
642-
df -h
643-
sudo apt-get --purge autoremove --yes
644-
sudo apt-get clean
645-
sudo rm -rf "/opt/*" "/usr/local/*"
646-
sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
647-
docker system prune --force
648-
df -h
649-
endif
650-
651638
.PHONY: version
652639
version: ## Get the current Vector version
653640
@cargo vdev version

0 commit comments

Comments
 (0)