mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+terragrunt
This commit is contained in:
parent
8424ce74be
commit
7dd3bf8b8b
1 changed files with 29 additions and 0 deletions
29
projects/terragrunt.gruntwork.io/package.yml
Normal file
29
projects/terragrunt.gruntwork.io/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/gruntwork-io/terragrunt/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: gruntwork-io/terragrunt
|
||||
|
||||
provides:
|
||||
- bin/terragrunt
|
||||
|
||||
dependencies:
|
||||
terraform.io: '*'
|
||||
|
||||
build:
|
||||
script: |
|
||||
go build -v -ldflags="$LDFLAGS"
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv terragrunt "{{ prefix }}"/bin
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
env:
|
||||
LDFLAGS:
|
||||
[-s, -w, "-X=main.VERSION={{ version }}"]
|
||||
linux:
|
||||
LDFLAGS:
|
||||
- -buildmode=pie
|
||||
|
||||
test:
|
||||
test "$(terragrunt --version)" = "terragrunt version {{ version }}"
|
Loading…
Reference in a new issue