Skip to content

Commit

Permalink
Disable docker-prune.sh for now
Browse files Browse the repository at this point in the history
It is causing a lot of problems on CI:
Error response from daemon: a prune operation is already running

Let's try to disable it as it might not be useful anymore.

Also upgrade the docker-maven-plugin to the latest.
  • Loading branch information
gsmet committed Aug 22, 2023
1 parent 84e30aa commit 9177c11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/docker-prune.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ set -e
# pruning is only run when inside CI to avoid accidentally removing stuff
# GITHUB_ACTIONS is always set to true inside Github Actions
# https://docs.github.com/en/actions/learn-github-actions/environment-variables
if [ "${GITHUB_ACTIONS}" == true ] ; then
docker container prune -f
docker image prune -f
docker network prune -f
docker volume prune -f
fi
#if [ "${GITHUB_ACTIONS}" == true ] ; then
# docker container prune -f
# docker image prune -f
# docker network prune -f
# docker volume prune -f
#fi

echo "docker-prune.sh is disabled for now"
2 changes: 1 addition & 1 deletion build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<jacoco.agent.argLine></jacoco.agent.argLine>

<asciidoctor-maven-plugin.version>2.0.0</asciidoctor-maven-plugin.version>
<docker-maven-plugin.version>0.43.0</docker-maven-plugin.version>
<docker-maven-plugin.version>0.43.4</docker-maven-plugin.version>
<formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version>
<impsort-maven-plugin.version>1.9.0</impsort-maven-plugin.version>
<maven-invoker-plugin.version>3.6.0</maven-invoker-plugin.version>
Expand Down

0 comments on commit 9177c11

Please sign in to comment.