Skip to content

Commit 935b994

Browse files
authored
Merge branch 'main' into feature/stac-auth-proxy-custom-filters
2 parents 22ae95b + 2332bf2 commit 935b994

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ jobs:
4848
- name: Set release name
4949
run: echo "RELEASE_NAME=eoapi-$(echo "${{ github.sha }}" | cut -c1-8)" >> "$GITHUB_ENV"
5050

51+
- name: Clean up disk space
52+
run: |
53+
echo "=== Disk space before cleanup ==="
54+
df -h
55+
echo "=== Docker cleanup ==="
56+
docker system prune -af --volumes || true
57+
echo "=== Remove unused packages ==="
58+
sudo apt-get clean || true
59+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost "$AGENT_TOOLSDIRECTORY" || true
60+
echo "=== Disk space after cleanup ==="
61+
df -h
62+
5163
- name: Start K3s cluster
5264
uses: jupyterhub/action-k3s-helm@v4
5365
with:
@@ -78,8 +90,11 @@ jobs:
7890
- name: Cleanup
7991
if: always()
8092
run: |
93+
echo "=== Cleaning up Helm release and namespace ==="
8194
helm uninstall "$RELEASE_NAME" -n eoapi || true
8295
kubectl delete namespace eoapi || true
96+
echo "=== Cleaning up Docker resources ==="
97+
docker system prune -af --volumes || true
8398
8499
validate-docs:
85100
name: Validate documentation

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
### Fixed
1616

1717
- Fixed Helm template to check queryables `file` field with schema validation [#380](https://github.com/developmentseed/eoapi-k8s/pull/380)
18+
- Cleaned up docker resources in CI workflow [#386](https://github.com/developmentseed/eoapi-k8s/pull/386)
1819

1920
## [0.8.1]
2021

0 commit comments

Comments
 (0)