Commit graph

6322 commits

Author SHA1 Message Date
Ian Wahbe
67f5b0a246 Update changelog 2021-08-28 00:38:35 -04:00
Ian Wahbe
244b8d9ea5 Another attempt to make tests pass 2021-08-28 00:31:46 -04:00
Emiliza Gutierrez
c7614f5066
fix typos in dev docs (#7860)
* typo fixes and styling

* fix typos
2021-08-27 21:18:39 -07:00
Ian Wahbe
4d93b70d79 Set stack for node and go integration tests 2021-08-27 19:04:42 -04:00
Ian Wahbe
d82b560ae8 Fix nodejs direct dependencies 2021-08-27 15:42:05 -04:00
Ian Wahbe
cdcabc34f3 Fix integration tests && found bug in nodejs -t 2021-08-27 14:25:10 -04:00
Pat Gavlin
a5a818b802
[developer-docs] Add links + a broad arch diagram (#7856)
- Add links within the resource registration docs
- Add a broad-strokes architectural diagram to the overview
- Add a `clean` target to the Makefile
- Expand the "Building" docs a bit
2021-08-27 10:55:06 -07:00
Ian Wahbe
b5bcc655e7 Add integration tests in each language 2021-08-27 13:39:49 -04:00
Ian Wahbe
878ab50044 Merge branch 'master' into iwahbe/2715/add-pulumi-about-command 2021-08-27 04:50:50 -04:00
Ian Wahbe
0d43d2c4a4 @jutinvp's improvements
These include:
1. Make transitive dependencies optional.
2. Use filepath instead of path.
3. Correctly consider the python virtual enviroments.
2021-08-27 04:37:09 -04:00
Levi Blackstone
96e6eb2592
Fix typos (#7853) 2021-08-26 11:29:56 -07:00
Pat Gavlin
ad18fe183e Bump the RTD Python version down to 3.6. 2021-08-25 15:23:46 -07:00
Emiliza Gutierrez
f54e4a720f
Cleanup after v3.11.0 release (#7843) 2021-08-25 15:19:02 -07:00
Pat Gavlin
98f73cf1ed
Start in on developer documentation. (#7839)
Developer documentation is written in Markdown and can be built into
HTML, PDF, etc. using Sphinx. Diagrams are written in PlantUML and
rendered as SVGs. All developer docs live in the `developer-docs` folder
under the root of the repository.
2021-08-25 15:18:13 -07:00
Ian Wahbe
0cec2a6268 "make lint" returns an accurate status code 2021-08-25 14:43:50 -07:00
Ian Wahbe
0d3311a4b4 Remove unused dependencies 2021-08-25 13:33:12 -07:00
Ian Wahbe
cd2f126f5f Fix lint 2021-08-25 13:00:13 -07:00
Ian Wahbe
15e14b4126 Give up on the language plugin 2021-08-25 12:47:14 -07:00
Ian Wahbe
a74aef0c0c Allow stderr to have content 2021-08-25 12:37:39 -07:00
Ian Wahbe
6ac7798ea1 Check for no snapshot and no error 2021-08-25 11:55:28 -07:00
Justin Van Patten
01f5289219
Prepare for v3.11.0 release (#7837) 2021-08-25 11:05:19 -07:00
Ian Wahbe
738af2b90f Remove AWS dependency for test 2021-08-25 10:50:45 -07:00
Ian Wahbe
6703075ae0 Make tests work
I figured out how easy it was to run the tests locally.
2021-08-25 09:31:24 -07:00
Anton Tayanovskyy
d6db21dd55
Avoid repeatedly invoking pip show in Python lang host (#7831)
* Avoid repeatedly invoking `pip show` in Python lang host

The Python language host invokes `pip show` for each Pulumi package in a
project at startup. But `pip show` is quite slow in large projects: it
takes 2+ seconds per invocation in a project at @MaterializeInc.

`pip show` is invoked to compute the installed location of each plugin
package. But it turns out `pip list` takes a `-v` flag that can supply
this information in one shot, avoiding the need to ever invoke `pip
show`.

This patch shaves about 20s off our boot time for `pulumi up`.

(There's probably a separate bug in Pip that causes `pip show` to be so
slow, because `pip list` is an order of magnitude faster and does a lot
more work, but I didn't bother tracking that down.)

* Test and fix issue with parsing non-JSON trailer returned by pip

* Fix issues found by Go lint

* CHANGELOG entry

Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2021-08-25 11:40:58 -04:00
Ian Wahbe
5d466b67b3 Remove inconsistent assertion 2021-08-25 01:08:16 -07:00
Ian Wahbe
6b1eedff2b Ensure that "pulumi about" fails correctly 2021-08-25 00:34:14 -07:00
Ian Wahbe
eaef5dfb29 Correctly handle empty stack in tests 2021-08-24 23:59:51 -07:00
Justin Van Patten
8112872b61
[sdk/dotnet] Support for calling methods (#7582) 2021-08-24 20:17:05 -07:00
Ian Wahbe
aece703e94 Respect linter and run yarn install for tests 2021-08-24 18:15:38 -07:00
Ian Wahbe
a406d6f30c fix test 2021-08-24 15:59:06 -07:00
Ian Wahbe
bee803a970
Merge pull request #7824 from pulumi/iwahbe/7775/allow-hyphen-in-schema-path
Allow hyphen in schema path
2021-08-24 14:48:32 -07:00
Ian Wahbe
98d88f0899
Update CHANGELOG_PENDING.md
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-08-24 14:48:04 -07:00
Ian Wahbe
d49a594093 Update tests and add integration test 2021-08-24 14:29:27 -07:00
Josh Studt
51b4f3d9bd
[auto/dotnet] - plugin installation options: exact version, server (#7796)
* add additional plugin install options

* update changelog

* slight re-name properties to be more idiomatic

* Apply suggestions from code review

Co-authored-by: Justin Van Patten <jvp@justinvp.com>

* Add support for old install plugin overload, and move unshipped api changes to shipped

* add breaking note to changelog

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-08-24 16:04:33 -04:00
Ian Wahbe
567ded6894 Directly compute dependencies 2021-08-24 12:37:35 -07:00
Anton Tayanovskyy
b667ce5d4f
Tighten up auto test (#7830)
* Tighten up a test to not fail for wrong reasons, use python helpers

* Use local in-source Python SDK for the test
2021-08-24 14:48:09 -04:00
Anton Tayanovskyy
1b67c9ee52
Satisfy Python lint: factor out URN parsing in Python and other fixes (#7821)
* Factor out URN parsing in Python

* More code sharing to satisfy lint dup code detector

* Fix lint R1735 recommendation of empty dict literal

* Fix lint issue insisting on known encoding during open()

* Fix parsing URNs without urn_name; test; exception wrapper
2021-08-24 09:57:51 -04:00
Ian Wahbe
61ef30cf82 Add tests for about 2021-08-23 15:24:33 -07:00
Ian Wahbe
b30c57924a Move tests to correct location 2021-08-23 14:23:01 -07:00
Ian Wahbe
cb5824593e Update changelog 2021-08-23 13:54:44 -07:00
Anton Tayanovskyy
eef208633c
5758 for Go (#7784)
* Go support for 5758 - resurrect stale PR

* Fix listStorageAccountKeys test

* Check err so linter is satisfied

* Use all the examples

* Accept codegen results

* Regenerate with PULUMI_IGNORE_AMBIENT_PLUGINS=1

* Compile and test generated code as part of the test suite

* Add a CHANGELOG entry

* Remove temp test marker

* Shorten output type name

* Simplify code

* Add issue link

* Accept more codegen changes

* Use the suggested format for linking an issue
2021-08-23 16:46:09 -04:00
Ian Wahbe
9c02fe610f Allow hyphen in schema path
Fixes: https://github.com/pulumi/pulumi/issues/7775
2021-08-23 13:29:25 -07:00
Ian Wahbe
784c661c0c Make linter happy 2021-08-23 12:04:52 -07:00
Ian Wahbe
b2090f636a Update go.sum and go.mod with go mod tidy 2021-08-23 10:59:40 -07:00
Ian Wahbe
2ccc8e2539 Merge branch 'master' of https://github.com/pulumi/pulumi into iwahbe/2715/add-pulumi-about-command 2021-08-23 10:36:58 -07:00
Ian Wahbe
a00150900a Directly access the default logging dir 2021-08-23 10:05:00 -07:00
Justin Van Patten
ac2ba6aadd
Avoid missing go.sum entry for module for new Go projects (#7808)
Change `pulumi new` to use `go mod tidy` rather than `go mod download` when installing Go project dependencies, to ensure the project is fully prepared to be used by `pulumi up`, avoiding `missing go.sum entry for module` errors.
2021-08-23 07:54:56 -07:00
Ian Wahbe
cb3a267fd9 Cleanup error messages 2021-08-23 01:22:26 -07:00
Ian Wahbe
6c4f1814c7 Improve error messages 2021-08-23 01:09:50 -07:00
Ian Wahbe
f75ddfc01d Refactor data into get and display components
This allows us to give the output in json.
2021-08-23 00:48:22 -07:00