Skip to content
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

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

goldsteinn
Copy link
Collaborator

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.

runner-setup/Dockerfile Show resolved Hide resolved
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>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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 Show resolved Hide resolved
#RUN ./bin/installdependencies.sh

# Install python3 packages
RUN pip3 install tqdm --break-system-packages
Copy link
Owner

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.

@goldsteinn
Copy link
Collaborator Author

Updated documentation with everything thats been necessary. Think should be easily reproducible anywhere.

Copy link
Owner

@dtcxzyw dtcxzyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@dtcxzyw dtcxzyw merged commit bdc6083 into dtcxzyw:main Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants