Hello,
I’m interested if anyone ran into GitHub rate-limiting using Tutor when building MFEs several times within an hour in a CI/CD environment. It seems that the tutor-mfe plugin uses the GitHub API that is limited to 60 requests per hour for unauthenticated requests (and 5k for authenticated ones).
Adding credentials to these requests seems to require tutor-mfe PR to add a curl
or wget
command call instead of the ADD
defined in the Dockerfile at the moment. Docker documentation says:
If your URL files are protected using authentication, you need to use RUN wget, RUN curl or use another tool from within the container as the ADD instruction does not support authentication. – reference
Also, this would require adding optional build arguments to the Dockerfile to set the credentials.
cc: @regis you may have some ideas for this that are different than mine.