Skip to content

Commit

Permalink
Generate riot output and set build ARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman authored and iknite committed Feb 19, 2019
1 parent 4a56ab0 commit 563616f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/aws/modules/riot/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

export GOOS=linux
export GOARCH=amd64

mkdir -p ./data

go build -o ./data/riot ../../../../tests/riot.go
4 changes: 4 additions & 0 deletions deploy/aws/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ output "follower-2" {
output "prometheus" {
value = "${module.prometheus.public_ip}"
}
output "riot" {
value = "${module.riot.public_ip}"
}

0 comments on commit 563616f

Please sign in to comment.