ci: Add AWS Flatcar Edge configuration
Tests on the Flatcar CL Edge channel should only
run on master branch changes. Therefore AWS is
chosen as the most reliable platform that always
has the current Edge release.
ADD
ci/aws-edge/aws-edge-cluster.lokocfg.envsubst
+../aws/aws-cluster.lokocfg.envsubst
\ No newline at end of file

ADD
ci/aws-edge/lokocfg.vars
+asset_dir = "~/lokoctl-assets"
+os_channel = "edge"

MODIFY
ci/aws/aws-cluster.lokocfg.envsubst
ci/aws/aws-cluster.lokocfg.envsubst
@@ -3,11 +3,16 @@ variable "asset_dir" {
type = "string"
}
+variable "os_channel" {
+ type = "string"
+}
+
cluster "aws" {
asset_dir = pathexpand(var.asset_dir)
cluster_name = "$CLUSTER_ID"
dns_zone = "$AWS_DNS_ZONE"
dns_zone_id = "$AWS_DNS_ZONE_ID"
+ os_channel = var.os_channel
ssh_pubkeys = ["$PUB_KEY"]
}

MODIFY
ci/aws/lokocfg.vars
ci/aws/lokocfg.vars
asset_dir = "~/lokoctl-assets"
+os_channel = "stable"

ci: Add AWS Flatcar Edge configuration

Tests on the Flatcar CL Edge channel should only
run on master branch changes. Therefore AWS is
chosen as the most reliable platform that always
has the current Edge release.