Skip to content

Commit

Permalink
Build tar, vagrant , AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Packard committed Aug 20, 2016
1 parent c696a80 commit a926308
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions shibboleth-appliance-vbox.json → shibboleth-appliance.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"ssh_username": "centos",
"ssh_password": "centos",
"region": "us-west-1",
"outputfile_name": "shibboleth-appliance-centos7-vbox-{{timestamp}}.tar"
"timestamper": "{{timestamp}}",
"outputfile_name": "shibboleth-appliance-centos7"
},
"provisioners": [
{
Expand Down Expand Up @@ -58,8 +59,24 @@
],
"post-processors": [
{
"output": "builds/{{user `outputfile_name`}}",
"type": "compress"
"type": "compress",
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-ova-{{user `timestamper`}}.tar"
},
{
"type": "vagrant",
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-vagrant-{{user `timestamper`}}.box"
},
{
"type": "amazon-import",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "{{user `region`}}",
"s3_bucket_name": "internet2-ami-import-us-west-1",
"tags": {
"Description": "packer amazon-import-shibboleth-appliance {{user `timestamper`}}"
}
}
]
}

0 comments on commit a926308

Please sign in to comment.