Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script for QA to test Terraform rcs locally #1082

Merged
merged 2 commits into from Mar 2, 2023

Conversation

a-blender
Copy link
Contributor

@a-blender a-blender commented Mar 1, 2023

Issue: #1083

setup-provider.sh Outdated Show resolved Hide resolved
setup-provider.sh Outdated Show resolved Hide resolved
setup-provider.sh Outdated Show resolved Hide resolved
setup-provider.sh Show resolved Hide resolved
setup-provider.sh Outdated Show resolved Hide resolved
setup-provider.sh Outdated Show resolved Hide resolved
setup-provider.sh Outdated Show resolved Hide resolved
Copy link
Contributor

@markusewalker markusewalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@a-blender a-blender marked this pull request as ready for review March 2, 2023 18:41
curl -sfL https://github.com/rancher/terraform-provider-${PROVIDER}/releases/download/${VERSION}/terraform-provider-${PROVIDER}_${VERSION_TAG}_${OS_PLATFORM}.zip | gunzip -c - > ${DIR}/terraform-provider-${PROVIDER}

echo -e "Terraform provider ${PROVIDER} ${VERSION} is ready to test!
Please update the required_providers block in your Terraform config file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not necessary for now, but would be cool to have an optional variable to add this to the user's config file for them. i.e.

usage: $0 <provider> <version> <terraform_config_path>

Copy link
Contributor

@Josh-Diamond Josh-Diamond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - ✅

@a-blender a-blender removed the request for review from jakefhyde March 2, 2023 23:38
@a-blender a-blender dismissed jakefhyde’s stale review March 2, 2023 23:38

Addressed all comments, the rest of the QA team has approved

@a-blender a-blender merged commit 2c3bddd into rancher:master Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants