Skip to content

Commit

Permalink
fix docker cleanup in Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil-ctds authored and srinath-ctds committed Jan 16, 2025
1 parent b7502c0 commit 7eba5b7
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: |
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: build package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-pulsar-io-ora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
sudo swapoff -a
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-pulsar-io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
sudo swapoff -a
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-thread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-tiered-filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-tiered-jcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-owasp-dep-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
sudo swapoff -a
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
# Projects dependent on flume, hdfs, hbase, and presto currently excluded from the scan.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pulsar-website-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-shade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
sudo apt clean
docker rmi $(docker images -q) -f
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
df -h
- name: run install by skip tests
Expand Down

0 comments on commit 7eba5b7

Please sign in to comment.