opentofu.org (#3763)

* new file:   projects/opentofu.org/package.yml

* TFOFU_PROVIDER_REGISTRY

* wip
This commit is contained in:
Andrew 2023-10-23 17:03:51 +03:00 committed by GitHub
parent 2ddea318b8
commit 3270c4d7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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}}