Closed
Conversation
- Introduced multiple scripts for managing GitHub Actions runners within an Apptainer container, including build, run, and cleanup functionalities. - Added comprehensive documentation (README.md, AGENTS.md, skills.md) detailing setup, usage, and environment configuration. - Included example environment files for both runner and container configurations to guide users in setting up their environments securely and effectively. This update establishes a robust framework for running GitHub Actions in HPC environments, enhancing usability and maintainability.
- Introduced a new workflow file to automate the setup of a Python virtual environment for Copilot. - The workflow includes steps for checking out the repository, creating and activating a virtual environment, installing dependencies, and verifying ROCm and GPU visibility. - This addition enhances the CI/CD process by streamlining the environment setup for Copilot integration.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an Apptainer/SLURM-oriented self-hosted GitHub Actions runner setup (intended for Copilot-enabled workflows) under .github/scripts/github-runner-files/, plus supporting documentation/examples. It also includes a small formatting tweak in an example utility.
Changes:
- Add scripts to build and run an Apptainer-based self-hosted Actions runner (SLURM job + in-container startup).
- Add documentation and example env configuration for deploying/managing the runner.
- Minor code cleanup in
examples/common/utils.py.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/common/utils.py | Minor lambda formatting cleanup in timestamp JSON export. |
| .github/scripts/github-runner-files/start.sh | In-container runner bootstrap: install/download runner, register, configure, cleanup on exit. |
| .github/scripts/github-runner-files/run-github-coding-agent-runner.sh | SLURM/standalone entrypoint that launches the Apptainer container and wires runner env/paths. |
| .github/scripts/github-runner-files/build-github-coding-agent-runner.sh | SLURM build job for the Apptainer image from a definition file. |
| .github/scripts/github-runner-files/cleanup-old-runners.sh | Utility script intended to remove stale runner state / overlays. |
| .github/scripts/github-runner-files/README.md | Setup and usage documentation for the runner. |
| .github/scripts/github-runner-files/skills.md | Build/run quick notes for SLURM environments. |
| .github/scripts/github-runner-files/env.example | Example host-side env file template for runner-related variables. |
| .github/scripts/github-runner-files/runner-container.env.example | Example container-side env customization template for toolchain paths/options. |
| .github/scripts/github-runner-files/AGENTS.md | Conventions/instructions for editing runner scripts/config in this directory. |
Collaborator
Author
|
@copilot run example 07_gemm_all_scatter and report back the teraflops |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Copilot enabled runner. Tested with hardware access.
Technical Details
Can be run both with slurm or as a script with flags/env variables.
Test Plan
Test Result
Submission Checklist