Skip to content

Commit 8798b01

Browse files
committed
config: Add FedoraUser=coreos tag to AMIs
We need to add FedoraGroup=coreos tag adhering to the Fedora policy for the AWS account. Ref: coreos/fedora-coreos-tracker#1605
1 parent a2e854a commit 8798b01

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,13 @@ clouds:
8989
# we make our images public in the release job via plume
9090
public: false
9191
# Accounts to share newly created AMIs with
92+
# Added the FCOS community account so kola can use for testing
9293
grant_users:
9394
- "013116697141"
95+
# Add FedoraGroup=coreos as per Fedora Policy
96+
# Ref: https://github.com/coreos/fedora-coreos-tracker/issues/1605
97+
tags:
98+
- "FedoraGroup=coreos"
9499
azure:
95100
test_resource_group: fedora-coreos-testing
96101
test_storage_account: fedoracoreostesting

docs/config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ clouds:
151151
# OPTIONAL: accounts to share newly created AMIs with
152152
grant_users:
153153
- "1234567890"
154+
# OPTIONAL: AWS tags to add on the AMIs
155+
tags:
156+
- "FedoraGroup=coreos"
154157
# REQUIRED (if AWS build upload credentials provided): the region to do
155158
# initial image creation in.
156159
primary_region: us-east-1

libcloud.groovy

+3
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def upload_to_clouds(pipecfg, basearch, buildID, stream) {
150150
extraArgs += c.grant_users.collect{"--grant-user=${it}"}
151151
extraArgs += c.grant_users.collect{"--grant-user-snapshot=${it}"}
152152
}
153+
if (c.tags) {
154+
extraArgs += c.tags.collect { "--tags=${it}" }
155+
}
153156
if (c.public) {
154157
extraArgs += "--public"
155158
}

0 commit comments

Comments
 (0)