exercism / haskell-test-runner

GNU Affero General Public License v3.0
1 stars 13 forks source link

Revert "Update to resolver 20.11" #78

Closed iHiD closed 1 year ago

iHiD commented 1 year ago

Reverts exercism/haskell-test-runner#72

iHiD commented 1 year ago

@ErikSchierboom Can you revert this revert tomorrow pls. This deploy caused the machines to run out of HDD space so I reverted it. Not anyone's fault (other than mine really) but reverting was the quickest solution. As a note, this image is huge though (5GB) compared to other that are like 200MB.

MatthijsBlom commented 1 year ago

This revert broke all exercises on the Haskell track again.

I guess this could (largely) be fixed by reverting https://github.com/exercism/haskell/pull/1158 as well, but seeing as this one will be reverted tomorrow it's probably not worth the hassle. I'll post a heads-up on the forum.

ErikSchierboom commented 1 year ago

@MatthijsBlom Is there any way in which we can reduce the image size? In particular, we're running stack build --resolver lts-20.18 --no-terminal --test --no-run-tests beforehand to pre-compile/download any extra dependencies.

MatthijsBlom commented 1 year ago

I hardly know anything about what an image is, or what the test runner even does. I'd need to read up / be explained.

However,

In particular, we're running stack build --resolver lts-20.18 --no-terminal --test --no-run-tests beforehand to pre-compile/download any extra dependencies.

Do I understand correctly that you are 'pre-compiling' the allowed dependencies every time?

ErikSchierboom commented 1 year ago

No, we're precompiling them once when we build the image