Evan Boyle
c23ca46382
Automation API - add the ability to stream progress updates during up/refresh/destroy ( #5367 )
2020-09-14 18:56:04 -07:00
Evan Boyle
c05ac500da
[Automation API] remove stack name validation and fqsn enforcement ( #5337 )
2020-09-14 17:45:07 -07:00
Pat Gavlin
855f1fd1cd
Revise host mode. ( #5317 )
...
* Revise host mode.
The current implementation of host mode uses a `pulumi host` command and
an ad-hoc communication protocol between the engine and client to
connect a language host after the host has begun listening. The most
significant disadvantages of this approach are the communication
protocol (which currently requires the use of stdout), the host-specific
command, and the difficulty of accommodating the typical program-bound
lifetime for an update.
These changes reimplement host mode by adding engine support for
connecting to an existing language runtime service rather than launching
a plugin. This capability is provided via an engine-specific language
runtime, `client`, which accepts the address of the existing languge
runtime service as a runtime option. The CLI exposes this runtime via
the `--client` flag to the `up` and `preview` commands, which similarly
accepts the address of an existing language runtime service as an
argument. These changes also adjust the automation API to consume the
new host mode implementation.
2020-09-14 17:40:17 -07:00
Paul Stack
aafe84d823
Add support for cloning private repos as part of automation API ( #5333 )
2020-09-14 20:24:57 +01:00
Paul Stack
9a74064d2b
Allow passing a non-default secrets provider to AutomationAPI ( #5320 )
2020-09-10 19:25:47 +01:00
Mike Metral
49152e6331
feat(autoapi): add Upsert methods for stacks
2020-09-10 09:49:49 -07:00
Mike Metral
51c235352c
feat(autoapi): add IsSelectStack404Error and IsCreateStack409Error
2020-09-09 17:13:50 -07:00
Mike Metral
3f445be494
fix(autoapi): return autoError for local_workspace ops
2020-09-09 17:13:50 -07:00
Lee Briggs
0ac075ef8f
add initial pull-request workflow ( #5276 )
...
* add initial pull-request workflow
* run SDK test all
* add SDK tests
* fixup make targets
* add dist target
* revert back to 5 updates
* disable test
* add issue for test disabling
2020-09-09 13:37:03 -07:00
Mike Metral
46da25492e
feat(autoapi): add workspace scoped envvars to LocalWorkspace and Stack
2020-09-03 09:57:23 -07:00
Mike Metral
dec6a6a49a
refactor(autoapi-gitrepo): use Workspace in SetupFn callback
2020-09-02 19:15:40 -07:00
evanboyle
d3cf745c59
First pass at Automation API README
2020-09-01 23:28:46 -07:00
Evan Boyle
741485d7d0
expose execution kind via update metadata ( #5258 )
2020-08-31 09:07:59 -07:00
evanboyle
5458e2f685
add expectnochanges to stack.refresh
2020-08-28 19:17:46 -07:00
evanboyle
c23f26b335
docs and style updates
2020-08-28 19:10:39 -07:00
evanboyle
b0d91478bf
docs updates
2020-08-28 14:21:56 -07:00
evanboyle
cf247c1245
update file headers
2020-08-27 10:43:23 -07:00
evanboyle
ab03c53487
automation api godoc
2020-08-25 11:16:54 -07:00
evanboyle
40701e6420
outputs should be map[string]interface{}
2020-08-24 06:51:49 -07:00
evanboyle
ec98494e5a
add auto tests to Makefile and fix up for CI
2020-08-23 21:36:21 -07:00
evanboyle
27db14791a
auto error tests
2020-08-23 19:43:51 -07:00
evanboyle
47fb5a128d
Add functional options for Up/Pre/Refresh/Destroy
2020-08-23 10:25:17 -07:00
evanboyle
fa1590a67f
propagate nested stack error
2020-08-22 12:01:55 -07:00
evanboyle
458fd59c24
Make Workspace and Stack commands contextful
2020-08-21 22:20:32 -07:00
evanboyle
4dacd506d3
propagate env vars and extensibility points from Workspace to Stack
2020-08-21 16:22:45 -07:00
evanboyle
cc7cf7c476
Add Stack.Info
2020-08-21 15:26:58 -07:00
evanboyle
3531635294
Add NewStack helper methods and tests
2020-08-21 09:49:46 -07:00
evanboyle
7b58202938
Implement Stack based on Workspace interface
2020-08-20 19:37:39 -07:00
evanboyle
535d48ca72
Round out LocalWorkspace impl
2020-08-19 21:23:53 -07:00
evanboyle
93ff03a9d3
LocalWorkspace initial implementation
2020-08-19 11:13:42 -07:00
evanboyle
4a44b27b40
add automation api workspace interface
2020-08-18 11:07:03 -07:00
evanboyle
12d7216769
serve engine address via pulumi host
command
2020-07-30 15:20:57 -07:00
evanboyle
9281e55e00
detect and throw errors for nested stacks
2020-07-29 19:01:51 -07:00
evanboyle
5d8aa34d09
run all commands in non-interactive mode
2020-07-29 11:22:46 -07:00
evanboyle
7e6a08dbe1
example update
2020-07-28 17:40:25 -07:00
evanboyle
34a86f54be
godoc improvements
2020-07-28 17:32:38 -07:00
evanboyle
8a707e27e3
godoc pt. 1
2020-07-27 22:26:39 -07:00
evanboyle
4f653683ce
validate project name
2020-07-27 18:51:29 -07:00
evanboyle
114e3c2aff
provide defaults for pului.yaml for inline source
2020-07-27 18:22:01 -07:00
evanboyle
45ed471a7d
handle and detect runtime errors for inline source
2020-07-26 13:43:33 -07:00
evanboyle
41d6767e32
host error handling, inline concurrent update detection
2020-07-26 12:52:59 -07:00
evanboyle
15b8f03dc3
enable e2e up/pre/ref/dest/rm test for inline source
2020-07-25 15:08:10 -07:00
evanboyle
ae76944b77
use ts seeds for random test names
2020-07-25 13:28:57 -07:00
evanboyle
b21f4e0f7b
inline preview
2020-07-24 10:54:18 -07:00
evanboyle
b0468d4166
init inline prototype
2020-07-24 01:31:54 -07:00
evanboyle
0d3203c96d
add ability to specify git URL instead of local source
2020-07-22 14:28:03 -07:00
evanboyle
6e7ce72db6
update error formatting
2020-07-21 18:44:53 -07:00
evanboyle
e789ae9700
update test
2020-07-21 18:41:36 -07:00
evanboyle
acc719e7c1
IsUnexpectedEngineError()
2020-07-21 18:39:35 -07:00
evanboyle
be42f75d2c
add some comments based on findings
2020-07-21 18:27:31 -07:00