mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
ci: Correctly pass cgo_enabled=0 flag
This flag was not being passed correctly, it caused the value to be read as unset. Which effectively defaults to enabled. Related to incident 230330-1
This commit is contained in:
parent
b4d0de386e
commit
e9628c5eba
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -101,7 +101,7 @@ jobs:
|
|||||||
package-name: ${{ needs.get-product-version.outputs.pkg-name }}
|
package-name: ${{ needs.get-product-version.outputs.pkg-name }}
|
||||||
product-version: ${{ needs.get-product-version.outputs.product-version }}
|
product-version: ${{ needs.get-product-version.outputs.product-version }}
|
||||||
ld-flags: ${{ needs.get-product-version.outputs.go-ldflags }}
|
ld-flags: ${{ needs.get-product-version.outputs.go-ldflags }}
|
||||||
cgo-enabled: ${{ matrix.cgo }}
|
cgo-enabled: ${{ matrix.cgo-enabled }}
|
||||||
runson: ${{ matrix.runson }}
|
runson: ${{ matrix.runson }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
strategy:
|
strategy:
|
||||||
@ -317,4 +317,4 @@ jobs:
|
|||||||
unzip terraform_${FULL_RELEASE_VERSION}_linux_amd64.zip
|
unzip terraform_${FULL_RELEASE_VERSION}_linux_amd64.zip
|
||||||
export TFEXEC_E2ETEST_TERRAFORM_PATH="$(pwd)/terraform"
|
export TFEXEC_E2ETEST_TERRAFORM_PATH="$(pwd)/terraform"
|
||||||
cd terraform-exec
|
cd terraform-exec
|
||||||
go test -race -timeout=30m -v ./tfexec/internal/e2etest
|
go test -race -timeout=30m -v ./tfexec/internal/e2etest
|
||||||
|
Loading…
Reference in New Issue
Block a user