Skip to content

Commit

Permalink
Parameterize revision sha
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunsch committed Jul 12, 2016
1 parent 81b3562 commit 8aa6133
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appspec.yml
Expand Up @@ -10,5 +10,5 @@ permissions:
hooks:
BeforeInstall:
- location: script/deps
timeout: 600
timeout: 1200
runas: ubuntu
9 changes: 8 additions & 1 deletion formation.json
Expand Up @@ -5,6 +5,13 @@
"KeyName": {
"Description": "An EC2 KeyPair for SSH Access",
"Type": "AWS::EC2::KeyPair::KeyName"
},
"RevisionSha": {
"Description": "A Git SHA for the revision to be deployed",
"Type": "String",
"Default": "81b35621e118735468e5c68f745889692e88684f",
"MinLength": "40",
"MaxLength": "40"
}
},
"Resources": {
Expand Down Expand Up @@ -79,7 +86,7 @@
"Revision": {
"RevisionType": "GitHub",
"GitHubLocation": {
"CommitId": "82ddae6008458d05be89e9903d53a8c6f3739ea1",
"CommitId": { "Ref": "RevisionSha" },
"Repository": "mwunsch/sonic-sketches"
}
}
Expand Down

0 comments on commit 8aa6133

Please sign in to comment.