-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
V13: relay-compiler not running in CI #3725
Comments
Hmm, this is very strange... I'm not an expert in CI/Linux. Currently, we're compiling using this target: https://github.com/facebook/relay/blob/main/.github/workflows/ci.yml#L84 Additionally, maybe there are some configuration/security settings in these machines the prevent the execution of these binaries (but unlikely). |
Going down the rabit whole: Installing
|
I've got it to work in the alpine Dockerfile with : # from https://github.com/TobiasDeBruijn/SkinFixer-API/blame/aeda56fd5a227d5ab5de32754b1137a0bf67a686/Dockerfile
ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc
ENV GLIBC_VERSION=2.30-r0
RUN set -ex && \
apk --update add libstdc++ curl ca-certificates && \
for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION}; \
do curl -sSL ${GLIBC_REPO}/releases/download/${GLIBC_VERSION}/${pkg}.apk -o /tmp/${pkg}.apk; done && \
apk add --allow-untrusted /tmp/*.apk && \
rm -v /tmp/*.apk && \
/usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib
But it feels weird for sure. Maybe this https://users.rust-lang.org/t/building-executable-for-alpine-linux/13568 could work? I have no idea what other things that might brake though. |
Thanks for looking into this! |
Seems to be |
|
I cannot get relay-compiler to run successfully in our CI environment.
It runs fine on my (Apple silicon) Mac, but running
yarn relay
in our CI fails with the following message:Using Yarn PnP, with relay-compiler being unplugged:
I've checked the folder, and the file is indeed there, but for some reason it refuses to run:
Even using
npx relay-compiler
it doesn't work:AFAIK the CI running machine is a G5a instance on AWS.
If you have any idea, what we could try to get this solved / debug better, I am very open to all suggestions!
Thanks in advance for any help, I hope It's ok to post this here, ran out of options to try sadly.
The text was updated successfully, but these errors were encountered: