rollback irrlevant changes

This commit is contained in:
Elbaz 2023-08-24 10:25:25 +03:00
parent b3fac1e45e
commit 92bbf22332
5 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
This repository contains OpenTF core, which includes the command line interface and the main graph engine This repository contains OpenTF core, which includes the command line interface and the main graph engine
This document provides guidance on OpenTF contribution recommended practices. It covers what we're looking for in order to help set some expectations and help you get the most out of participation in this project. This document provides guidance on OpenTF contribution recommended practices. It covers what we're looking for in order to help set some expectations and help you get the most out of participation in this project.
To record a bug report, enhancement proposal, or give any other product feedback, please [open a GitHub issue](https://github.com/placeholderplaceholderplaceholder/opentf/issues/new/choose) using the most appropriate issue template To record a bug report, enhancement proposal, or give any other product feedback, please [open a GitHub issue](https://github.com/placeholderplaceholderplaceholder/opentf/issues/new/choose) using the most appropriate issue template
@ -22,7 +22,7 @@ The contribution guideline will change in the near future, as the management of
## Proposing a Change ## Proposing a Change
In order to be respectful of the time of community contributors, we aim to discuss potential changes in GitHub issues prior to implementation. That will allow us to give design feedback up front and set expectations about the scope of the change, and, for larger changes, how best to approach the work such that the OpenTF team can review it and merge it along with other concurrent work. In order to be respectful of the time of community contributors, we aim to discuss potential changes in GitHub issues prior to implementation. That will allow us to give design feedback up front and set expectations about the scope of the change, and, for larger changes, how best to approach the work such that the Terraform team can review it and merge it along with other concurrent work.
If the bug you wish to fix or enhancement you wish to implement isn't already covered by a GitHub issue, please do start a discussion (either in [a new GitHub issue](https://github.com/placeholderplaceholderplaceholder/opentf/issues/new/choose) or an existing one, as appropriate) before you invest significant development time. If the bug you wish to fix or enhancement you wish to implement isn't already covered by a GitHub issue, please do start a discussion (either in [a new GitHub issue](https://github.com/placeholderplaceholderplaceholder/opentf/issues/new/choose) or an existing one, as appropriate) before you invest significant development time.

View File

@ -2,16 +2,16 @@
# SPDX-License-Identifier: MPL-2.0 # SPDX-License-Identifier: MPL-2.0
name: equivalence-test name: equivalence-test
description: "Execute the suite of OpenTF equivalence tests in testing/equivalence-tests" description: "Execute the suite of Terraform equivalence tests in testing/equivalence-tests"
inputs: inputs:
target-opentf-version: target-terraform-version:
description: "The version of OpenTF to use in execution." description: "The version of Terraform to use in execution."
required: true required: true
target-opentf-branch: target-terraform-branch:
description: "The branch within this repository to update and compare." description: "The branch within this repository to update and compare."
required: true required: true
target-equivalence-test-version: target-equivalence-test-version:
description: "The version of the OpenTF equivalence tests to use." description: "The version of the Terraform equivalence tests to use."
default: "0.3.0" default: "0.3.0"
target-os: target-os:
description: "Current operating system" description: "Current operating system"

View File

@ -10,11 +10,11 @@ Usage: ./equivalence-test.sh <command> [<args>] [<options>]
Description: Description:
This script will handle various commands related to the execution of the This script will handle various commands related to the execution of the
OpenTF equivalence tests. Terraform equivalence tests.
Commands: Commands:
get_target_branch <version> get_target_branch <version>
get_target_branch returns the default target branch for a given OpenTF get_target_branch returns the default target branch for a given Terraform
version. version.
target_branch=$(./equivalence-test.sh get_target_branch v1.4.3); target_branch=v1.4 target_branch=$(./equivalence-test.sh get_target_branch v1.4.3); target_branch=v1.4
@ -27,7 +27,7 @@ Commands:
./equivalence-test.sh download_equivalence_test_binary 0.3.0 ./bin/terraform-equivalence-testing linux amd64 ./equivalence-test.sh download_equivalence_test_binary 0.3.0 ./bin/terraform-equivalence-testing linux amd64
download_terraform_binary <version> <target> <os> <arch> download_terraform_binary <version> <target> <os> <arch>
download_terraform_binary downloads the opentf release binary for a given download_terraform_binary downloads the terraform release binary for a given
version and places it at the target path. version and places it at the target path.
./equivalence-test.sh download_terraform_binary 1.4.3 ./bin/terraform linux amd64 ./equivalence-test.sh download_terraform_binary 1.4.3 ./bin/terraform linux amd64

View File

@ -30,7 +30,7 @@ LDFLAGS="${LDFLAGS} -X 'main.experimentsAllowed=yes'"
fi fi
LDFLAGS="${LDFLAGS} -X 'github.com/placeholderplaceholderplaceholder/opentf/version.dev=no'" LDFLAGS="${LDFLAGS} -X 'github.com/placeholderplaceholderplaceholder/opentf/version.dev=no'"
echo "Building OpenTF CLI ${VERSION}" echo "Building Terraform CLI ${VERSION}"
if [[ "$EXPERIMENTS_ENABLED" == 1 ]]; then if [[ "$EXPERIMENTS_ENABLED" == 1 ]]; then
echo "This build allows use of experimental features" echo "This build allows use of experimental features"
fi fi

View File

@ -4,7 +4,7 @@
# #
# If you want to test this locally you'll need to set the three arguments # If you want to test this locally you'll need to set the three arguments
# to values realistic for what the hashicorp/actions-docker-build GitHub # to values realistic for what the hashicorp/actions-docker-build GitHub
# action would set, and ensure that there's a suitable "opentf" executable # action would set, and ensure that there's a suitable "terraform" executable
# in the dist/linux/${TARGETARCH} directory. # in the dist/linux/${TARGETARCH} directory.
FROM docker.mirror.hashicorp.services/alpine:latest AS default FROM docker.mirror.hashicorp.services/alpine:latest AS default