aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomalok <tomalok@gmail.com>2020-08-09 15:11:34 -0700
committerGitHub <noreply@github.com>2020-08-09 15:11:34 -0700
commitd765bd4ab77fc3ef7c3d66d644016c5b07e8ddab (patch)
tree4d378da66f053e53d3ef2ea4d7b04a9f0136ce94
parent001db8ef996079948f63636f44613736ef8d6f3d (diff)
downloadalpine-ec2-ami-d765bd4ab77fc3ef7c3d66d644016c5b07e8ddab.tar.bz2
alpine-ec2-ami-d765bd4ab77fc3ef7c3d66d644016c5b07e8ddab.tar.xz
alpine-ec2-ami-d765bd4ab77fc3ef7c3d66d644016c5b07e8ddab.zip
Fix edge builds (#78)
alpine-mirrors package removed after 3.12 also add profile for 3.12
-rw-r--r--profiles/base/2103
l---------profiles/base/current2
-rw-r--r--profiles/version/3.102
-rw-r--r--profiles/version/3.112
-rw-r--r--profiles/version/3.1214
-rw-r--r--profiles/version/3.92
l---------profiles/version/current2
-rw-r--r--profiles/version/edge3
8 files changed, 123 insertions, 7 deletions
diff --git a/profiles/base/2 b/profiles/base/2
new file mode 100644
index 0000000..ae58f06
--- /dev/null
+++ b/profiles/base/2
@@ -0,0 +1,103 @@
1### base vars, revision 1
2# vim: ts=2 et:
3
4# Profile/Build
5profile = null
6profile_build = null
7revision = "r0"
8
9# Versioning
10version = null
11release = null
12end_of_life = null
13
14# Architecture
15arch = null
16build_arch = null
17
18# Builder-instance
19build_region = "us-west-2"
20build_subnet = null
21build_instance_type = "t3.nano"
22build_public_ip = null
23build_user = "ec2-user"
24build_ami_name = "amzn2-ami-hvm-2.0.*-gp2"
25build_ami_owner = "137112412989"
26build_ami_latest = "true"
27
28# AMI build/deploy
29aws_profile = null # AWS profile to build AMI
30aws_accounts = null # comma-separated AWS accounts allowed to launch AMI
31ami_name_prefix = "alpine-ami-"
32ami_name_suffix = ""
33ami_desc_prefix = "Alpine Linux "
34ami_desc_suffix = ""
35ami_volume_size = "1"
36ami_encrypt = "false"
37ami_user = "alpine" # modification currently not supported
38
39# NOTE: the following are python format strings, resolved in resolve-profile.py
40ami_name = "{var.ami_name_prefix}{var.release}-{var.arch}-{var.revision}{var.ami_name_suffix}"
41ami_desc = "{var.ami_desc_prefix}{var.release} {var.arch} {var.revision}{var.ami_desc_suffix}"
42
43# AMI configuration
44apk_tools = null
45apk_tools_sha256 = null
46alpine_keys = null
47alpine_keys_sha256 = null
48repos {}
49pkgs {
50 linux-virt = true
51 chrony = true
52 nvme-cli = true
53 openssh = true
54 sudo = true
55 tiny-ec2-bootstrap = true
56 tzdata = true
57}
58svcs {
59 sysinit {
60 devfs = true
61 dmesg = true
62 hwdrivers = true
63 mdev = true
64 }
65 boot {
66 acpid = true
67 bootmisc = true
68 hostname = true
69 hwclock = true
70 modules = true
71 swap = true
72 sysctl = true
73 syslog = true
74 }
75 default {
76 chronyd = true
77 networking = true
78 sshd = true
79 tiny-ec2-bootstrap = true
80 }
81 shutdown {
82 killprocs = true
83 mount-ro = true
84 savecache = true
85 }
86}
87kernel_modules {
88 sd-mod = true
89 usb-storage = true
90 ext4 = true
91 nvme = true
92 ena = true
93}
94kernel_options {
95 "console=ttyS0,115200n8" = true
96 "nvme_core.io_timeout=4294967295" = true
97}
98# NOTE: nvme and ena are critical for i3, a1, m6g, and anything in the 5 series
99# forward. Without them these instances will not boot.
100initfs_features {
101 nvme = true
102 ena = true
103}
diff --git a/profiles/base/current b/profiles/base/current
index 56a6051..d8263ee 120000
--- a/profiles/base/current
+++ b/profiles/base/current
@@ -1 +1 @@
1 \ No newline at end of file 2 \ No newline at end of file
diff --git a/profiles/version/3.10 b/profiles/version/3.10
index a83dff2..17a657f 100644
--- a/profiles/version/3.10
+++ b/profiles/version/3.10
@@ -2,7 +2,7 @@
2# vim: ts=2 et: 2# vim: ts=2 et:
3 3
4# start with base vars 4# start with base vars
5include required("../base/current") 5include required("../base/1")
6 6
7# set version-specific vars 7# set version-specific vars
8version = "3.10" 8version = "3.10"
diff --git a/profiles/version/3.11 b/profiles/version/3.11
index 4f0a55d..f46a210 100644
--- a/profiles/version/3.11
+++ b/profiles/version/3.11
@@ -2,7 +2,7 @@
2# vim: ts=2 et: 2# vim: ts=2 et:
3 3
4# start with base vars 4# start with base vars
5include required("../base/current") 5include required("../base/1")
6 6
7# set version-specific vars 7# set version-specific vars
8version = "3.11" 8version = "3.11"
diff --git a/profiles/version/3.12 b/profiles/version/3.12
new file mode 100644
index 0000000..c51bb39
--- /dev/null
+++ b/profiles/version/3.12
@@ -0,0 +1,14 @@
1### version 3.12 vars
2# vim: ts=2 et:
3
4# start with base vars
5include required("../base/1")
6
7# set version-specific vars
8version = "3.12"
9release = "3.12.0"
10end_of_life = "2022-06-01"
11repos {
12 "http://dl-cdn.alpinelinux.org/alpine/v3.12/main" = true
13 "http://dl-cdn.alpinelinux.org/alpine/v3.12/community" = true
14}
diff --git a/profiles/version/3.9 b/profiles/version/3.9
index 7f5a7e8..f129b58 100644
--- a/profiles/version/3.9
+++ b/profiles/version/3.9
@@ -2,7 +2,7 @@
2# vim: ts=2 et: 2# vim: ts=2 et:
3 3
4# start with base vars 4# start with base vars
5include required("../base/current") 5include required("../base/1")
6 6
7# set version-specific vars 7# set version-specific vars
8version = "3.9" 8version = "3.9"
diff --git a/profiles/version/current b/profiles/version/current
index 902b2c9..fdcfcfd 120000
--- a/profiles/version/current
+++ b/profiles/version/current
@@ -1 +1 @@
3.11 \ No newline at end of file 3.12 \ No newline at end of file
diff --git a/profiles/version/edge b/profiles/version/edge
index 07a04b0..07c583d 100644
--- a/profiles/version/edge
+++ b/profiles/version/edge
@@ -2,7 +2,7 @@
2# vim: ts=2 et: 2# vim: ts=2 et:
3 3
4# based on current 4# based on current
5include required("current") 5include required("../base/current")
6 6
7# add edge-specific tweaks... 7# add edge-specific tweaks...
8version = "edge" 8version = "edge"
@@ -10,7 +10,6 @@ release = "edge"
10end_of_life = "@TOMORROW@" 10end_of_life = "@TOMORROW@"
11revision = "@NOW@" 11revision = "@NOW@"
12 12
13repos = null # remove all values from 'current'
14repos { 13repos {
15 "http://dl-cdn.alpinelinux.org/alpine/edge/main" = true 14 "http://dl-cdn.alpinelinux.org/alpine/edge/main" = true
16 "http://dl-cdn.alpinelinux.org/alpine/edge/community" = true 15 "http://dl-cdn.alpinelinux.org/alpine/edge/community" = true