This repository manages GPU-enabled AMI images for CI/CD workflows with cirun.io using Packer and GitHub Actions.
-
Configure AWS IAM role with permissions for:
- EC2 instance management
- AMI creation/deletion
- Image sharing across regions
-
Set up GitHub repository secrets:
AWS_ROLE_ARN- IAM role ARN for AWS authenticationBOT_GH_TOKEN- GitHub Personal Access Token with repo permissions
The workflow updates AMI configurations in these repositories:
scverse/anndata
Ensure the BOT_GH_TOKEN token has write access to these repositories.
Run the "Build AMI" workflow to create a new GPU-enabled AMI with:
- Ubuntu 24.04 LTS
- Docker & Docker Compose
- NVIDIA drivers
- Pre-installed development tools
Run the "Update CI AMI" workflow to:
- Automatically detect the latest AMI
- Create PRs in target repositories to update
.cirun.ymlfiles - Update AMI references across multiple projects
- Base OS: Ubuntu 24.04 LTS
- Instance Type: GPU-enabled (g4dn.xlarge for building)
- Storage: 125GB gp3 with 6,000 IOPS
- Tools: Docker, NVIDIA drivers, development utilities