From 3270c4d7a9050f7b0db7be2e64d3dd77bf8c4261 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:03:51 +0300 Subject: [PATCH] opentofu.org (#3763) * new file: projects/opentofu.org/package.yml * TFOFU_PROVIDER_REGISTRY * wip --- projects/opentofu.org/package.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 projects/opentofu.org/package.yml diff --git a/projects/opentofu.org/package.yml b/projects/opentofu.org/package.yml new file mode 100644 index 00000000..aad648b2 --- /dev/null +++ b/projects/opentofu.org/package.yml @@ -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}} \ No newline at end of file