File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 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 :
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments