-
-
Notifications
You must be signed in to change notification settings - Fork 3
Shrink docker image #228
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
Shrink docker image #228
Conversation
70c0824
to
c9176a0
Compare
For some reason the tests are failing with Both Interestingly the compilation differs between both sides: diff_npm-test_left_bin_run_right.diff.txt, in particular there is this following diff (that is maybe the issue?): diff -r /tmp/exercism-abap-runner-r9dwHl/compiled/cl_abap_elemdescr.clas.mjs /tmp/exercism-abap-runner-ta6Pbp/compiled/cl_abap_elemdescr.clas.mjs
[...]
< abap.statements.clear(ls_row);
---
> ls_row.clear(); There is 0 diff in Even if I create a simple import { spawnSync } from "child_process";
const res = spawnSync('bash', ['bin/run.sh', 'simple-pass', '/workspaces/abap-test-runner/tests/simple-pass', '/workspaces/abap-test-runner/output'], {cwd: '/workspaces/abap-test-runner'}); I tried with @larshp sorry for the ping, if you have any idea of what could possibly go wrong I would be happy to test them. I do not know ABAP, and I cannot understand why the transpilation are different between both invocations. |
d69e2d4
to
6e7d624
Compare
The tests need to pass and this PR needs an approval from an ABAP maintainer. |
maybe I just broke stuff, #229 opened, try rebasing after its merged |
7643346
to
c676334
Compare
Okay thanks! Everything should be ready now. |
🚢 |
thanks |
Before: 436MB, after: 187MB (57% reduction)
There are 160MB from the base
node:lts-alpine
Missing potential savings:
abap-test-runner/src/index.ts
Lines 127 to 144 in af7a806
There are 2 commits: