-
Notifications
You must be signed in to change notification settings - Fork 103
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 OPA support for task stages #584
Conversation
- Added a new API for task stage override
Added test for passing optional comment into the Override API: $ envchain local go test -run TestTaskStageOverride_Beta -v ./... -tags=integration
|
84dc8f1
to
3d24aa6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just have the one question about is-overridable attribute.
What is your expectation about the release timing of this, given that is it still feature flagged in the API?
We would want to release this now since we want to use this version of the client for adding OPA support to both the provider and the cli. We are targeting to get the provider out before year end holidays and the cli before the end of Jan. Once OPA goes to GA, we will come back to this to remove the beta notes. |
Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes. |
Description
Add OPA support to the go-tfe client for policy API's. OPA is still in beta phase.
This PR only contains changes to the Task Stage API.
API Docs
For a complete list of API's that were updated see : https://github.com/hashicorp/terraform-docs-common/pull/141/files
Added Api's:
-Task stage override
Testing plan
Integration tests added
External links
API Docs
JIRA
API PR
Output from tests
Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.
$ envchain local go test -run TestTaskStagesRead -v ./... -tags=integration
$ envchain local go test -run TestTaskStagesList_Beta -v ./... -tags=integration
$ envchain local go test -run TestTaskStageOverride_Beta -v ./... -tags=integration