-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up CI scripts and prune Docker images between builds #4815
Conversation
Signed-off-by: Yuri Shkuro <github@ysh.us>
@@ -2,7 +2,6 @@ | |||
|
|||
set -exu | |||
|
|||
BRANCH=${BRANCH:?'missing BRANCH env var'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used in this script
@@ -26,5 +26,4 @@ if [[ $body != *"Rides On Demand"* ]]; then | |||
fi | |||
docker rm -f $CID | |||
|
|||
BRANCH=${BRANCH:?'missing BRANCH env var'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not used in this script
temp_file=$(mktemp) | ||
trap "rm -f ${temp_file}" EXIT | ||
release_url="https://github.com/jaegertracing/jaeger-ui/releases/download/${LAST_TAG}/assets.tar.gz" | ||
release_url="https://github.com/jaegertracing/jaeger-ui/releases/download/${last_tag}/assets.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a refactoring to use lowercase names for variables
docker buildx prune --all --verbose | ||
docker system prune |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to add --force
for each of these to avoid being prompted for confirmation.
Which problem is this PR solving?
Description of the changes
How was this change tested?