Clear the Heroku build cache

RESOLVED FIXED

Status

P3
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

(Assignee)

Description

3 years ago
There's lots of old cruft in there:

eg:

~ $ cd ~/.heroku/python/bin/
~/.heroku/python/bin $ ls -l
total 8408
...
-rwx------ 1 u23839 23839     308 Aug 24 19:24 cython
-rwx------ 1 u23839 23839     314 Aug 24 19:24 cythonize
(Assignee)

Comment 1

3 years ago
[~/src/treeherder]$ heroku plugins:install https://github.com/heroku/heroku-repo.git
Installing https://github.com/heroku/heroku-repo.git... done
updating Heroku CLI...done. Updated to 3.41.4
[~/src/treeherder]$ heroku repo:purge_cache
...

Slug size before: 80.7MB
Slug size after: 68.5MB

It's probably also worth adding these steps to deployment docs created in the future, when we've switched to Heroku, in case we need to clear the cache to fix problems with it.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.