alpine-zdt-images/profiles/alpine.conf
tomalok a530e331f3
Add refresh-releases subcommand, etc. (#97)
* Add refresh-releases subcommand, etc.

* builder.py
  + gen-release-readme
    - convert `build_time` to int
  + release
    - add `source_region` to copied AMI tags
    - check source AMI's permissions, queue for fixing, if necessary
  + refresh-releases
    - update releases/<profile>.yaml based on AMIs that exist in regions
  + explicitly call out `python-dateutil` dependency and `pip install` it into the venv

* Release Alpine 3.12.2 & today's edge
2020-12-14 22:24:29 -08:00

36 lines
1.2 KiB
Plaintext

### Profile for Building the Publically-Available Alpine Linux AMIs
# vim: ts=2 et:
version-3_12 { include required("version/3.12") }
version-3_11 { include required("version/3.11") }
version-3_10 { include required("version/3.10") }
version-edge { include required("version/edge") }
arch-x86_64 { include required("arch/x86_64") }
arch-aarch64 { include required("arch/aarch64") }
# profile vars
alpine {
ami_desc_suffix = " - https://github.com/mcrute/alpine-ec2-ami"
}
fix_root_resize {
# https://github.com/mcrute/tiny-ec2-bootstrap/pull/16
pkgs {
sfdisk = true
util-linux = true
}
setup_script = scripts/tiny-ec2-backport.sh
}
# Build definitions
BUILDS {
# merge version, arch, profile; add { revision = "r1" } if needed
edge-x86_64 = ${version-edge} ${arch-x86_64} ${alpine}
v3_12-x86_64 = ${version-3_12} ${arch-x86_64} ${alpine}
v3_11-x86_64 = ${version-3_11} ${arch-x86_64} ${alpine} { revision = "r1" }
v3_10-x86_64 = ${version-3_10} ${arch-x86_64} ${alpine} { revision = "r1" }
edge-aarch64 = ${version-edge} ${arch-aarch64} ${alpine}
v3_12-aarch64 = ${version-3_12} ${arch-aarch64} ${alpine} ${fix_root_resize}
}