Komal
5f4e687a1d
[automation] - Consume config set-all and rm-all commands ( #6388 )
2021-02-19 22:59:18 -08:00
Komal
a6b6437b49
[Automation] Fix python nested config parsing ( #6349 )
2021-02-17 10:16:35 -08:00
Ringo De Smet
bcd14d8060
Automation API Go SDK: Expsoe the version in the UpdateSummary struct. ( #6339 )
2021-02-16 12:16:41 -08:00
Evan Boyle
8e58f5d682
Add pagination to pulumi stack history
( #6292 )
...
replaces the unreleased `--limit` flag with `--page` and `--page-size` to support full pagination
2021-02-09 16:20:01 -08:00
Evan Boyle
3ba0c219db
fix lint error in Go SDK ( #6276 )
2021-02-08 12:09:20 -08:00
Evan Boyle
eefc104c2b
Add --limit
flag to pulumi stack history
and consume from automation api ( #6257 )
...
Adds a `--limit` flag to `pulumi stack history. This allows limiting to the last few entries rather than fetching the entirety of a stack's update history (which can be quite slow for stacks with lots of updates). Example: `pulumi stack history --limit 1` fetches the last history entry only.
`stack.up` and related operations in the Automation API have been updated to consume this change, drastically reducing overhead.
2021-02-08 10:49:57 -08:00
Komal
a35b61e0b5
[auto/go] - Set DryRun on RunInfo ( #6099 )
2021-01-13 13:05:36 -08:00
Vivek Lakshmanan
37487d3e61
Merge branch 'master' into vl/AutomationLogging
2021-01-13 10:24:12 -08:00
Komal
89b1d0d2c7
[automation-api/python] - Support recovery workflow ( #6037 )
2021-01-12 19:27:21 -08:00
Vivek Lakshmanan
9616bde745
Add debug logging settings for common automation API operations
2021-01-12 13:46:46 -08:00
Vivek Lakshmanan
7980f047fb
Add test to validate impact of setting PULUMI_BACKEND_URL
2021-01-11 16:27:54 -08:00
Vivek Lakshmanan
47fc0f236a
Fixes to support non-pulumi backends in kubernetes operator
2021-01-11 11:47:21 -08:00
Vivek Lakshmanan
302f869dc5
Drop unnecessary prefix in test output since we rely on go's testing to do the right thing
2020-11-17 23:24:08 -08:00
Evan Boyle
98a048b716
Turn Automation API unmarshaling error into AutoError for Go SDK preview ops ( #5715 )
2020-11-08 18:53:05 -08:00
Paul Stack
156aa9862e
Add the ability to specify privateKey contents to AutomationAPI ( #5557 )
...
Fixes : #5383
2020-10-12 19:51:26 +01:00
Evan Boyle
b86e6ae93e
add plugin management utils to node Automation API ( #5536 )
2020-10-09 09:03:03 -07:00
Mike Metral
08c8848375
feat(autoapi): expose EnvVars LocalWorkspaceOption to set in ctor
2020-10-02 09:01:28 -07:00
Paul Stack
7c258c77c3
change how secrets provider parameters are passed via automation api ( #5402 )
2020-09-17 19:57:27 +01:00
Paul Stack
f1d0b31cda
Update the docs and examples for Automation API for private git repos ( #5396 )
2020-09-17 15:48:44 +01:00
Evan Boyle
dd51072507
skip test ( #5394 )
2020-09-16 14:38:27 -07:00
Evan Boyle
0e3666cc36
Automation API - add recovery APIs (cancel/export/import) ( #5369 )
2020-09-15 14:20:58 -07:00
Mike Metral
4e6ea760db
feat(autoapi): add GetPermalink for operation result
2020-09-15 10:49:02 -07:00
Evan Boyle
4744d9acd2
up concurrency to fix flaky test ( #5372 )
2020-09-15 12:24:39 +01:00
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