Closed njaczko closed 4 years ago
whoops didnt mean to close!
fixed, please retest
@liveandrew This is how you can tell if the build is broken.
The Dockerfile is still referring to a file that has been deleted: https://github.com/LiveRamp/reslang/blob/master/Dockerfile#L16
I feel like we're rushing a bit here.
I feel like we're rushing a bit here.
thanks, helpful input.
please retest
The build has been fixed now - you can see that the red X has turned into a green check.
It looks like the ts-node dependency has also been removed, but the "installation" is definitely unconventional. It generates a user-specific file that must be present in the local clone of the reslang repository... it is not gitignored but it also should never be checked in. Regardless, running git clean
will "uninstall" reslang, which would definitely be unexpected behavior. We should definitely come up with a better solution before this project is open sourced. We can create a separate issue for this because the problems I enumerated when I opened this issue have been fixed.
For the record, it is much more conventional to have these sorts of discussions on a Pull Request. That way we could make sure everything works before it ends up in production, and not break production while we're waiting for changes to be tested.
The Reslang build is broken right now because the ./reslang executable in the root of the repo was deleted in the commit linked below, but the Dockerfile still relies on the executable.
https://github.com/LiveRamp/reslang/commit/57d3566370a98e9b3dd8b362291800dc0b59dc41
The installation script does not work unless
ts-node
is installed globally, but this dependency is not documented anywhere.I can open a PR at some point, but I don't have time at the moment.