-
Notifications
You must be signed in to change notification settings - Fork 17
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
Docker prune is in deploy script, cron schedule is off #1153
Conversation
Oops! Looks like you forgot to update the changelog. When updating CHANGELOG.md, please consider the following:
|
- name: 'Setup crontab to clean up docker images' | ||
cron: | ||
user: '{{ crontab_user }}' | ||
name: 'cleanup docker images' | ||
minute: '0' | ||
hour: '0' | ||
job: '/usr/bin/docker system prune -af >> /var/log/docker-prune.log' | ||
|
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.
Think we need to keep this for a while and set it to state: absent
instead - otherwise it only doesn't get installed to new environments but never gets removed from the existing environments
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.
ok i am changing it right now
Your environment is deployed to https://prune-images-on-deploy.opencrvs.dev. |
@alsmk These changes have been moved to countryconfig right? In that case, can we close this please? |
deploy.sh file contains the image prune operations
infrasttructure > server-setup > tasks > docker.yaml file now doesn't contains the docker prune operations