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

bt forgejo_actions #404

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

bt forgejo_actions #404

wants to merge 5 commits into from

Conversation

RagnarGrootKoerkamp
Copy link
Owner

Add bt forgejo_actions that can be run from each contest in a git repo.
The contest can either be the root, or /<contest>.

The docs contain some additional configuration for the runners. Everything else
should just work.

@RagnarGrootKoerkamp
Copy link
Owner Author

RagnarGrootKoerkamp commented Nov 10, 2024

Currently we always pull the latest version of BAPCtools before running, but this requires /opt/hostedtoolcache to be mounted as a shared cache to be efficient (avoid constantly re-pulling).
We could also just use the version in the ragnargrootkoerkamp/bapctools docker container, which may be not the latest, but for those not working on bapctools that doesn't matter anyway probably.

Maybe we could put using the latest behind a flag: --use-latest-bapctools that's off by default.

@RagnarGrootKoerkamp
Copy link
Owner Author

Added a --latest-bt flag so the user can explicitly ask for a recent image to be cached. Otherwise the BAPCtools from the docker is used, which is a bit simpler and doesn't require a cache volume to be mounted.

Only remaining TODOs for later:

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.

1 participant