-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Args: string[]
to ConvertProgramRequest (#181)
- Loading branch information
Showing
8 changed files
with
137 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
### Improvements | ||
|
||
- Plugin: clean up resources and exit cleanly on receiving SIGINT or CTRL_BREAK. | ||
- Converter SDK: add `Args: string[]` to the `ConvertProgramRequest` fields | ||
|
||
### Bug Fixes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Copyright 2016-2023, Pulumi Corporation. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
syntax = "proto3"; | ||
|
||
import "google/protobuf/empty.proto"; | ||
|
||
package pulumirpc.testing; | ||
|
||
option go_package = "github.com/pulumi/pulumi/sdk/v3/proto/go/testing"; | ||
|
||
// LanguageTest is the interface to the pulumi language test framework. This is _highly_ experimental and | ||
// currently subject to breaking changes without warning. | ||
service LanguageTest { | ||
// GetLanguageTests returns a list of all the language tests. | ||
rpc GetLanguageTests(GetLanguageTestsRequest) returns (GetLanguageTestsResponse) {} | ||
|
||
// PrepareLanguageTests prepares the engine to run language tests. It sets up a stable artifacts folder | ||
// (which should be .gitignore'd) and fills it with the core SDK artifact. | ||
rpc PrepareLanguageTests(PrepareLanguageTestsRequest) returns (PrepareLanguageTestsResponse) {} | ||
|
||
// RunLanguageTest runs a single test of the language plugin. | ||
rpc RunLanguageTest(RunLanguageTestRequest) returns (RunLanguageTestResponse) {} | ||
} | ||
|
||
message GetLanguageTestsRequest { | ||
|
||
} | ||
|
||
message GetLanguageTestsResponse { | ||
repeated string tests = 1; | ||
} | ||
|
||
message PrepareLanguageTestsRequest { | ||
string language_plugin_name = 1; | ||
string language_plugin_target = 2; | ||
string snapshot_directory = 3; | ||
string temporary_directory = 4; | ||
string core_sdk_directory = 5; | ||
} | ||
|
||
message PrepareLanguageTestsResponse { | ||
string token = 1; | ||
} | ||
|
||
message RunLanguageTestRequest { | ||
string token = 1; | ||
string test = 2; | ||
} | ||
|
||
message RunLanguageTestResponse { | ||
bool success = 1; | ||
repeated string messages = 2; | ||
string stdout = 3; | ||
string stderr = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters