mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 17:40:34 +00:00
Iterate over an array holding all rpm names to see if any of them is missing from `dist/ami/files`. If they are missing, look them up in build/redhat/RPMS/x86_64 so that if reloc/build_rpm.sh was run manually before dist/ami/build_ami.sh we can just collect the built rpms from its output dir. If we're still missing any rpms, then run reloc/build_rpm.sh and copy the required rpms from build/redhat/RPMS/x86_64. Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Reviewed-by: Glauber Costa <glauber@scylladb.com>
Edit variables.json and run dist/ami/build_ami.sh, it will build & upload AMI.
When deploying the AMI, be sure to add two more disks(sdb, sdc) to construct RAID.