Skip to content
Permalink
Browse files

feat: add builder type and base script

  • Loading branch information...
etienne-napoleone committed May 29, 2019
1 parent a66eea3 commit 4bba4844d206fc3e7c034f61e3b9f31f21f647e3
Showing with 13 additions and 4 deletions.
  1. +13 −4 AWS/private-18-04.json
@@ -11,21 +11,30 @@
{
"type": "shell",
"inline": [
"echo draft"
"apt -y update",
"apt -y upgrade",
"apt -y install git",
"git clone https://github.com/tomochain/tomochain",
"cd tomochain",
"make all",
"sudo mv build/bin/puppeth /usr/local/bin/",
"sudo mv build/bin/tomo /usr/local/bin/"
]
}
],
"builders": [{
"access_key": "{{user `aws_access_key`}}",
"account_id": "{{user `aws_account_id`}}",
"type": "amazon-instance",
"ssh_username": "ubuntu",
"access_key": "{{user `aws_access_key`}}",
"account_id": "{{user `aws_account_id`}}",
"ami_name": "tomochain-private-{{isotime \"2006-01-02\" | clean_resource_name}}",
"instance_type": "a1.large",
"region": "ap-southeast-1",
"s3_bucket": "{{user `aws_s3_bucket`}}",
"secret_key": "{{user `aws_secret_key`}}",
"source_ami": "ami-0355471dc9f264631",
"x509_cert_path": "{{user `aws_x509_cert_path`}}",
"x509_key_path": "{{user `aws_key_path`}}"
"x509_key_path": "{{user `aws_x509_key_path`}}"
}]
}

0 comments on commit 4bba484

Please sign in to comment.
You can’t perform that action at this time.