Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
bc3f0c56
Commit
bc3f0c56
authored
May 25, 2020
by
Casey Strouse
Committed by
GitHub
May 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update terraform from 0.11.1 to 0.12.25 (#4088)
Switch to official project binaries. Tested on x86_64 and ARM.
parent
8397c3ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
27 deletions
+12
-27
packages/terraform.rb
packages/terraform.rb
+12
-27
No files found.
packages/terraform.rb
View file @
bc3f0c56
...
...
@@ -3,36 +3,21 @@ require 'package'
class
Terraform
<
Package
description
'Terraform is a tool for building, changing, and combining infrastructure safely and efficiently.'
homepage
'https://www.terraform.io/'
version
'0.11.1'
source_url
'https://github.com/hashicorp/terraform/archive/v0.11.1.tar.gz'
source_sha256
'da804e69e990226ee14dadbf33850c8b074d5e0782d56522b71d62c4c5c82cba'
version
'0.12.25'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/terraform-0.11.1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/terraform-0.11.1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/terraform-0.11.1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/terraform-0.11.1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'c02e4d1761a5b74e4811cda8746117c9b8a085ef020ab6a626d32fd8ccb01cbe'
,
armv7l:
'c02e4d1761a5b74e4811cda8746117c9b8a085ef020ab6a626d32fd8ccb01cbe'
,
i686:
'52f1396eda1989af2be6b67598d793e64968ff9cc19a72341b8491b0007724f2'
,
x86_64:
'cd1bb823657e6ab6199403db138ddf83141fbe4728d6801b5dae897e782aaf29'
,
})
depends_on
'go'
=>
:build
def
self
.
build
system
'mkdir -p ../src/github.com/hashicorp/terraform'
system
'cp -aT . ../src/github.com/hashicorp/terraform/'
system
'mv ../src .'
system
'export GOPATH=`pwd`; go get -u golang.org/x/tools/cmd/stringer'
system
"export TMPDIR=
#{
CREW_PREFIX
}
/tmp; export GOPATH=`pwd`; export PATH=
\$
PATH:
\$
GOPATH/bin; cd src/github.com/hashicorp/terraform/; make dev"
case
ARCH
when
'x86_64'
source_url
'https://releases.hashicorp.com/terraform/0.12.25/terraform_0.12.25_linux_amd64.zip'
source_sha256
'e95daabd1985329f87e6d40ffe7b9b973ff0abc07a403f767e8658d64d733fb0'
when
'aarch64'
,
'armv7l'
source_url
'https://releases.hashicorp.com/terraform/0.12.25/terraform_0.12.25_linux_arm.zip'
source_sha256
'20979f0f53a0931cd23332cd2c52ed4ec8257797e8050e5b794ad53c791a7e85'
when
'i686'
source_url
'https://releases.hashicorp.com/terraform/0.12.25/terraform_0.12.25_linux_386.zip'
source_sha256
'51a4653dfdbee000bc47f05606ca8f328a1d31ebd6a3b6569230bcd303883571'
end
def
self
.
install
Dir
.
chdir
'src/github.com/hashicorp/terraform'
do
system
"install -D -m 00755 bin/terraform
#{
CREW_DEST_PREFIX
}
/bin/terraform"
end
system
"install -Dm755 terraform
#{
CREW_DEST_PREFIX
}
/bin/terraform"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment