8f563aa4f1
* Makefile - improve/fix check for required make vars * resolve-profile.py.in + build a list of all regions & probe to see which ones are enabled (unknown if special subscription regions like ap-northeast-3 would show up in this list) + expand 'ami_regions' 'ALL' meta key to all enabled regions, 'ALL' key's value is preserved (that is, a value of None or False will disable all regions) + warn/remove regions in profile config that are found to be disabled. + improve checks for [None, False] values
31 lines
807 B
Plaintext
31 lines
807 B
Plaintext
### Profile for Building the Publically-Available Alpine Linux AMIs
|
|
# vim: ts=2 et:
|
|
|
|
version-current { include required("version/current") }
|
|
version-edge { include required("version/edge") }
|
|
arch-x86_64 { include required("arch/x86_64") }
|
|
|
|
# profile vars
|
|
alpine {
|
|
# default profile revision is 'r0', reset for each new version release!
|
|
#revision = "r0"
|
|
|
|
ami_desc_suffix = " - https://github.com/mcrute/alpine-ec2-ami"
|
|
|
|
build_region = "us-west-2"
|
|
build_subnet = "subnet-b80c36e2"
|
|
ami_access {
|
|
all = true # these AMIs are publicly available
|
|
}
|
|
ami_regions {
|
|
ALL = true
|
|
}
|
|
}
|
|
|
|
# Build definitions
|
|
BUILDS {
|
|
# merge version, arch, and profile vars
|
|
current-x86_64 = ${version-current} ${arch-x86_64} ${alpine}
|
|
edge-x86_64 = ${version-edge} ${arch-x86_64} ${alpine}
|
|
}
|