mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
opentofu.org (#3763)
* new file: projects/opentofu.org/package.yml * TFOFU_PROVIDER_REGISTRY * wip
This commit is contained in:
parent
2ddea318b8
commit
3270c4d7a9
32
projects/opentofu.org/package.yml
Normal file
32
projects/opentofu.org/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/opentofu/opentofu/archive/refs/tags/v1.6.0-alpha3.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
# github: opentofu/opentofu
|
||||||
|
# 1.6.0-alpha3
|
||||||
|
- '1.6.0.3'
|
||||||
|
dependencies:
|
||||||
|
linux:
|
||||||
|
# Needs libraries at runtime:
|
||||||
|
# /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by node)
|
||||||
|
gnu.org/gcc: '*'
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- go build $GO_ARGS -ldflags="$LD_FLAGS" ./cmd/tofu
|
||||||
|
env:
|
||||||
|
GO_ARGS:
|
||||||
|
- -o="{{prefix}}/bin/"
|
||||||
|
LD_FLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
linux:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
provides:
|
||||||
|
- bin/tofu
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- tofu init
|
||||||
|
- tofu graph
|
||||||
|
- tofu --version | grep {{version.marketing}}
|
Loading…
Reference in a new issue