Skip to content

Commit

Permalink
chore(ci): Remove ci-sweep tasks (vectordotdev#17415)
Browse files Browse the repository at this point in the history
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 <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko authored May 16, 2023
1 parent dc6e54c commit 5c33f99
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- run: make ci-sweep
- run: sudo npm -g install @datadog/datadog-ci
- run: make test-integration-${{ matrix.test }}
env:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/k8s_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v3
- run: make ci-sweep
- uses: actions/cache@v3
with:
path: |
Expand Down
13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -635,19 +635,6 @@ generate-component-docs: ## Generate per-component Cue docs from the configurati
signoff: ## Signsoff all previous commits since branch creation
scripts/signoff.sh

ifeq (${CI}, true)
.PHONY: ci-sweep
ci-sweep: ## Sweep up the CI to try to get more disk space.
@echo "Preparing the CI for build by sweeping up disk space a bit..."
df -h
sudo apt-get --purge autoremove --yes
sudo apt-get clean
sudo rm -rf "/opt/*" "/usr/local/*"
sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "${AGENT_TOOLSDIRECTORY}"
docker system prune --force
df -h
endif

.PHONY: version
version: ## Get the current Vector version
@cargo vdev version
Expand Down

0 comments on commit 5c33f99

Please sign in to comment.