-
Notifications
You must be signed in to change notification settings - Fork 4
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
[CI] Add Dockerfile for setting up CI runner #1401
Conversation
runner-setup/Dockerfile
Outdated
ENV RUNNER_HOME=/home/${RUNNER_USER} | ||
# Should probably use docker compose and to set these values: | ||
ENV RUNNER_VERSION=2.319.1 | ||
ENV GITHUB_TOKEN=#<Github Token Here> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use RUN --mount=type=secret
for secrets: https://docs.docker.com/reference/dockerfile/#example-mount-as-environment-variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just ARG
will work here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did secret
runner-setup/Dockerfile
Outdated
#RUN ./bin/installdependencies.sh | ||
|
||
# Install python3 packages | ||
RUN pip3 install tqdm --break-system-packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can install python3-tqdm
with apt
.
Updated documentation with everything thats been necessary. Think should be easily reproducible anywhere. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
This will make it easier to add future runners.
Wait on success of:
https://github.com/dtcxzyw/llvm-opt-benchmark/actions/runs/11108241699/job/30860722989?pr=1400
to make sure this is correct.