$ fly -t production set-pipeline -c pipeline.yml -p stemcell-new-dev-temp \
--load-vars-from <( lpass show --notes "concourse:production pipeline:stemcell-new-dev-temp" )
Concourse will want to publish its artifacts. Create an IAM user with the required policy. Create buckets for stemcells, then give it a public-read policy...
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bosh-core-stemcells-dev/*"
},
{
"Sid": "",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::bosh-core-stemcells-dev"
}
]
}
When switching from the old pipeline to the new one, don't forget to...
- update
pipeline.yml
and change the bucket frombosh-os-images-dev
to whatever the public bucket should be - update the tasks YAML which is point to tasks in the directory of
os-images
- rename this directory from
new
$ fly -t production set-pipeline -p bosh:stemcells -c ci/pipeline.yml \
--load-vars-from <(lpass show -G "concourse:production pipeline:os-images" --notes)
Concourse will want to publish its artifacts. Create an IAM user with the required policy. Create buckets for OS Images, then give it a public-read policy...
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:PutObject",
"s3:GetObjectAcl",
"s3:GetObject",
"s3:GetObjectVersionAcl",
"s3:PutObjectAcl",
"s3:GetObjectVersion"
],
"Resource": "arn:aws:s3:::bosh-os-images/*"
},
{
"Effect": "Allow",
"Principal": "*",
"Action": [
"s3:ListBucketVersions",
"s3:ListBucket",
"s3:GetBucketVersioning"
],
"Resource": "arn:aws:s3:::bosh-os-images"
}
]
}