Skip to content

Commit 7eba5b7

Browse files
nikhil-ctdssrinath-ctds
authored andcommitted
fix docker cleanup in Github CI
1 parent b7502c0 commit 7eba5b7

18 files changed

+18
-18
lines changed

.github/workflows/ci-cpp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
7777
run: |
7878
sudo apt clean
79-
docker rmi $(docker images -q) -f
79+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8080
df -h
8181
8282
- name: build package

.github/workflows/ci-integration-backwards-compatibility.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

.github/workflows/ci-integration-cli.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

.github/workflows/ci-integration-function.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

.github/workflows/ci-integration-messaging.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

.github/workflows/ci-integration-process.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-pulsar-io-ora.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
sudo swapoff -a
8181
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
8282
sudo apt clean
83-
docker rmi $(docker images -q) -f
83+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8484
df -h
8585
8686
- name: run install by skip tests

.github/workflows/ci-integration-pulsar-io.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
sudo swapoff -a
8181
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
8282
sudo apt clean
83-
docker rmi $(docker images -q) -f
83+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8484
df -h
8585
8686
- name: run install by skip tests

.github/workflows/ci-integration-schema.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-sql.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

.github/workflows/ci-integration-standalone.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-thread.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-tiered-filesystem.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-tiered-jcloud.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-integration-transaction.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
run: |
7979
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
- name: run install by skip tests

.github/workflows/ci-owasp-dep-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
sudo swapoff -a
7979
sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
8080
sudo apt clean
81-
docker rmi $(docker images -q) -f
81+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8282
df -h
8383
8484
# Projects dependent on flume, hdfs, hbase, and presto currently excluded from the scan.

.github/workflows/ci-pulsar-website-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: |
6161
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
6262
sudo apt clean
63-
docker rmi $(docker images -q) -f
63+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
6464
df -h
6565
6666
- name: run install by skip tests

.github/workflows/ci-shade-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc
8181
sudo apt clean
82-
docker rmi $(docker images -q) -f
82+
docker rmi $(docker images -q) -f || echo "No Docker images to remove."
8383
df -h
8484
8585
- name: run install by skip tests

0 commit comments

Comments
 (0)