Commit graph

6300 commits

Author SHA1 Message Date
Evan Boyle 95aa47d3c6
[codegen/go] detect and avoid collisions in resource and type code generation (#7857) 2021-09-03 19:42:45 -07:00
Luke Hoban f89e9a29f5
Revert "Allow Python dynamic provider resources to be constructed outside of __main__ (#7755)" (#7889)
This reverts commit ebb0e6aaed.

The changes in #7755 introduced a regression tracked in #7795.  It is not yet clear how to retain the desired behaviour introduced in #7755 while avoiding this regression, so for now we will revert those changes, and re-open #7453 to track a deeper fix.  That fix may require making changes to upstream `dill` to properly support these serialization requirements.

Fixes #7795.
2021-09-01 20:49:04 -07:00
Vivek Lakshmanan 233b396f29
Merge pull request #7877 from pulumi/vl/FixAuto
[auto/go] Fix stack config loading
2021-08-31 11:32:05 -07:00
Ian Wahbe e0a231013f
Merge pull request #7817 from pulumi/iwahbe/2715/add-pulumi-about-command
Iwahbe/2715/add pulumi about command
2021-08-31 11:23:58 -07:00
Ian Wahbe 27fc39c00a Fix spelling of environment 2021-08-31 00:54:07 -07:00
Ian Wahbe 59f88030b7 Allow failure to cleanup 2021-08-31 00:25:50 -07:00
Ian Wahbe 703104e412 Skip failing test on windows 2021-08-30 22:53:16 -07:00
Ian Wahbe 70833d3a3c Allow windows to find commands without .exe 2021-08-30 21:36:03 -07:00
Vivek Lakshmanan 59b24bd449 Add changelog 2021-08-30 21:28:57 -07:00
Vivek Lakshmanan 9435d9ae9a Update test 2021-08-30 21:26:09 -07:00
Vivek Lakshmanan 6162004df2 Fix stack config loading 2021-08-30 20:56:08 -07:00
Ian Wahbe a2250cc9ef
Merge branch 'master' into iwahbe/2715/add-pulumi-about-command 2021-08-30 22:50:51 -04:00
Ian Wahbe 30a042a9a1 Call os.Remove correctly 2021-08-30 19:48:50 -07:00
Pat Gavlin 76ee1b8ccf
[codegen/schema] Add a schema checker (#7865)
- Change the schema package to report semantic errors as diagnostics
  rather than Go errors
- Add a `pulumi schema check` command to the CLI for static checking of
  package schemas

The semantic checker can be extended in the future to add support for
target-specific checks.
2021-08-30 19:29:24 -07:00
Ian Wahbe aa1eedf5a7 Allow windows to use NPM 2021-08-30 19:16:19 -07:00
Ian Wahbe 09c6a71b56 Fix typo 2021-08-30 19:02:07 -07:00
Ian Wahbe ea43fa2437
Merge branch 'master' into iwahbe/2715/add-pulumi-about-command 2021-08-30 21:57:20 -04:00
Ian Wahbe 43114007eb Whitespace and grammer 2021-08-30 18:56:02 -07:00
Anton Tayanovskyy 4380a63ad9
Implement 5758 {fn}_output codgen for Python (#7825)
* Implement 5758 {fn}_output codgen for Python

* Fix lint issues

* Accept codegen changes in expected examples

* Test and fix positional arg handling

* Add parameter descriptions to illustrate docstring codegen

* Generate docstrings

* Accept doc changes in expected go codegen file

* Use platform-agnostic API to drive Python tests
2021-08-30 16:52:58 -04:00
Ian Wahbe 8150ef0880 Improve CI error messages
Failures unique to windows require a more informative error message to
diagnose.
2021-08-30 12:55:30 -07:00
Ian Wahbe d749ce5265
Merge pull request #7844 from pulumi/iwahbe/make-lint-status-code
"make lint" returns an accurate status code
2021-08-30 13:34:06 -04:00
Ian Wahbe 1e0019340d Tolerate non semver version.Version 2021-08-28 16:01:19 -04:00
Ian Wahbe b1271708ff Final version of the same typo 2021-08-28 11:53:17 -04:00
Ian Wahbe 9ec92fe593 Fix same typo in other copy of test 2021-08-28 02:55:00 -04:00
Ian Wahbe c40ec4a3cb Fix nodejs no snapshot failure 2021-08-28 02:06:41 -04:00
T-Vova 2c63e6fb77
Merge pull request #7792 from pulumi/t-vova/invalid-go-source-fix
Fixed invalid go source code issue
2021-08-27 19:49:30 -10:00
Ian Wahbe 95bbad6e3d Fix typo 2021-08-28 01:17:53 -04:00
Ian Wahbe 4022108287
Merge branch 'master' into iwahbe/make-lint-status-code 2021-08-28 00:39:50 -04:00
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