-
Notifications
You must be signed in to change notification settings - Fork 107
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(disk): use an official GCP image on CI VMs for disk auto-resizing, make CI & CD disks 300GB #5371
Conversation
This reverts commit b366d6e.
Previous behavior: We've presented issues in the past with resizing as the device is busy, for example: ``` e2fsck: Cannot continue, aborting. /dev/sdb is in use. ``` Expected behavior: We've been manually resizing the disk as this task was not being done automatically, but having an official Public Image from GCP would make this easier (automatic) and it also integrates better with other GCP services Configuration differences: https://cloud.google.com/compute/docs/images/os-details#notable-difference-debian Solution: - Use `debian-11` from the official public images https://cloud.google.com/compute/docs/images/os-details#debian - Remove the manual disk resizing from the pipeline
I'm going to ask the new CI change questions from the retro:
Let's see if they help us make these changes work. |
Personal note: Consider the changes done here while testing -> #5367 (comment) |
Some GCP disk images are 160 GB, which means they could get to the current 200 GB size soon.
Added to the PR description |
Some things to note, no blockers:
This might change sync speeds, it could be faster.
This is probably unnecessary, if it causes problems, it will mainly impact the full sync.
This change should be fine if CI passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has about the same CI speed as before this change, both around 6 hours.
This PR:
https://github.com/ZcashFoundation/zebra/actions/runs/3227078141
main
branch:
https://github.com/ZcashFoundation/zebra/actions/runs/3222101502
@Mergifyio refresh |
✅ Pull request refreshed |
Merging manually as this has been stalled for a while |
Previous behavior
We've presented issues in the past with resizing as the device is busy, for example:
Depends-On: #5370
Fixes #5085
Expected behavior
We've been manually resizing the disk as this task was not being done automatically, but having an official Public Image from GCP would make this easier (automatic) and it also integrates better with other GCP services
Configuration differences: https://cloud.google.com/compute/docs/images/os-details#notable-difference-debian
Solution
debian-11
from the official public images https://cloud.google.com/compute/docs/images/os-details#debianWhy is this best solution to the problem?
How are we going to test this?
What manual testing has been done?
Review
Anyone from DevOps, but @teor2345 has interacted with this changes before
Reviewer Checklist