Continuous Integration
GitHub: https://github.com/JCSDA-internal/ci
Documentation: via multiple READMEs inside the GitHub repository
Table of Contents |
---|
About
Procedures
Updating CI instance disk space
Use the following procedure to update the disk space for the ci instances if they are running out of space.
- Add an additional EBS volume and mount it on the instance
- Move the spack-stack build and source caches there and link to current locations
- Turn swapfile off on root filesystem and enable on new volume
- Created 500Gb EBS volume “Ubuntu 22.04 CI Intel”
- Mounted on EC2 instance following https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html
- Partitioned on EC2 instance, created ext4 filesystem and mounted via
/etc/fstab
entry following Linux standard practices - mounted as/mnt/addon
; see https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html for one of many tutorials - Moved spack source and build caches to
/mnt/addon/spack-stack/{build,source}-cache
- Created 128GB swapfile /mnt/addon/swapfile and removed 64GB swapfile /swapfile (incl. fstab entries); this again is Linux boilerplate, see e.g. https://phoenixnap.com/kb/linux-swap-file