Commit graph

5588 commits

Author SHA1 Message Date
Alex Mullans bae57e1362
Merge pull request #6320 from pulumi/infin8x/templates-and-automation
Consolidate issue templates
2021-02-12 17:01:41 -08:00
Levi Blackstone a1fc0d2095
[codegen/docs] Add environment variable info to Provider inputs (#6330)
The schema specifies supported environment variables
for Provider inputs, but these are not currently reflected
in the generated docs. This change adds any supported
environment variables to the input property comment
field on Provider resources.

Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-02-12 17:11:56 -07:00
Justin Van Patten bdc309bb4a
[codegen/python] Fix issues related to referencing external resources/types (#6328)
- Fix bugs referencing external resources/types
- Fix circular import issue
- Avoid panic when referencing external nested types
2021-02-12 15:54:19 -08:00
Luke Hoban f4b0fa86fe
Don't mutate the opts argument in resource constructors in Node.js (#6321) 2021-02-13 05:10:59 +11:00
Justin Van Patten d02c0b1152
Default to UseAutomaticVirtualEnv in integration tests (#6318)
This way, the tests use the built-in virtual environment support by
default, which is what most customers will be using. A new `UsePipenv`
option is available to go back to using pipenv for tests.
2021-02-11 18:16:07 -08:00
Alex Mullans 6f267a9c0b Consolidate issue templates 2021-02-11 14:28:04 -08:00
Justin Van Patten f111a53337
Look for python binary first on Windows (#6317)
We previously looked for `python3` and fallback to `python` on all systems. However, our Windows CI images include a `python3.exe` symlink to `python.exe` which does not work with `venv`. So on Windows, just look for `python` first, falling back to `python3`. (The default python.org Windows installation only includes `python.exe`).
2021-02-11 11:34:07 -08:00
Justin Van Patten 066507cd00
Do not specify a specific version of Python on Windows (#6316)
We install the version of Python we need in the CI environment (e.g. 3.9.x).
2021-02-11 08:22:04 -08:00
Justin Van Patten 0059cf205e
Remove dead Python integration tests (#6315)
These test files are no longer used. All the Python integration tests now use venv.
2021-02-11 08:21:50 -08:00
Komal 1a9050eaa6
[sdk/python] - Allow kwargs in Output.all() to create a dict (#6269) 2021-02-11 08:52:46 -07:00
Justin Van Patten 71e8bf4325
Fix Python Windows test failures (#6296)
Update Python tests to use `UseAutomaticVirtualEnv` and set `PythonBin` to `python` on Windows because `python3` doesn't work correctly in the GitHub Action runners.
2021-02-10 16:35:21 -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
Christian Nunciato e2b48d2f20
Fix up resource-docs links (#6279)
Co-authored-by: Praneet Loke <1466314+praneetloke@users.noreply.github.com>
2021-02-09 09:04:02 -08:00
Evan Boyle 808483218e
fix linting errors in pkg (#6281) 2021-02-08 13:13:55 -08:00
Evan Boyle 3ba0c219db
fix lint error in Go SDK (#6276) 2021-02-08 12:09:20 -08:00
Paul Stack 5401057561
Move linting check into command-dispatch job (#6277)
This fixes not picking up linting issues when sending a PR as
the PR job uses `pull_request_target` which in turn only checks out
from master which is a security measure
2021-02-08 19:55:02 +00: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
Paul Stack a045a613f2
Revert "Split the windows build + testing to be separate jobs to allow for future language matrix tests" (#6274)
This reverts commit 2e695196ae.
2021-02-08 17:02:20 +00:00
Paul Stack 220f138120
Revert "Ensuring all of the windows cmd binaries are included in the master builds" (#6275)
This reverts commit 3ee48c64ed.
2021-02-08 17:01:59 +00:00
Paul Stack 3ee48c64ed
Ensuring all of the windows cmd binaries are included in the master builds (#6273) 2021-02-08 17:01:30 +00:00
stack72 ee5fd19a1b Forcing update of homebrew formulae before install pulumi in download cron 2021-02-08 11:22:16 +00:00
Paul Stack 2e695196ae
Split the windows build + testing to be separate jobs to allow for future language matrix tests (#6193) 2021-02-08 11:17:47 +00:00
stack72 6c9635c508 Updating the installation of Pulumi in the download cron tester 2021-02-07 19:36:02 +00:00
Christian Nunciato 40ce511a2b
Remove language SDK blocks from resource templates (#6270) 2021-02-07 19:31:05 +00:00
Komal f374b8a953
[python/sdk] - Correctly handle outputs with properties named "values" (#6264)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-02-05 17:16:13 -07:00
Komal 3a3b96de72
[sdk/python] - Gracefully handle monitor shutdown (#6249) 2021-02-04 20:28:39 -07:00
Paul Stack 059382c336
Adding a nightly cron job to ensure we are testing Pulumi install (#6246)
Fixes: #4132

This will test across all available download styles that are Pulumi
managed. I will not install anything like nixos etc
2021-02-04 14:57:44 +00:00
stack72 4c8e2c222d Ensuring that the correct RUNTIME_VERSION is passed as part of Dotnet SDK install in dockerfile.ubi 2021-02-03 22:34:24 +00:00
stack72 a1387c5d6c Prepare for v2.20.0 release 2021-02-03 20:40:11 +00:00
Paul Stack 8a6d81ef64
Ensure ubi container installs correct dotnet sdk version (#6245)
Fixes: #6185

This PR also addresses the fact that we create an image of
pulumi-nodejs:latest and then the ubi and debian builds override
that pulumi-nodejs:latest with their versions

this overwrite is actually last container wins. Therefore, we will
not be tagging the ubi and debian builds with latest to ensure that
latest is *actually* deterministic
2021-02-03 18:29:52 +00:00
Evan Boyle decfed0679
Improve nodejs automation api inline error handling (#6237) 2021-02-02 14:37:03 -08:00
Chris Smith b29f440f0e
Add comments (#6234) 2021-02-01 16:00:46 -08:00
Paul Stack e6dbf49364
Ensure nightly and master builds with an alpha build version are tagged dev (#6231) 2021-02-01 19:37:53 +00:00
Justin Van Patten e86a69bedd
[codegen/nodejs] Emit externally referenced resources/types (#6225) 2021-01-29 16:52:00 -08:00
Justin Van Patten 2779de38ea
[sdk/python] from_input: Unwrap nested outputs in input types (#6221)
`Output.from_input` deeply unwraps nested output values in dicts and lists, but doesn't currently do that for the more recently added "input types" (i.e. args classes). This leads to errors when using args classes with output values with `Provider` resources, which uses `Output.from_input` on each input property and then serializes the value to JSON in an `apply`. This changes fixes `Output.from_input` to recurse into values within args classes to properly unwrap any nested outputs.
2021-01-29 15:44:00 -08:00
Vivek Lakshmanan bc34c58883
Merge pull request #6224 from pulumi/vl/FixExtRef
[codegen/go]Handle arrays/maps of external refs as pointers
2021-01-29 14:34:56 -08:00
Vivek Lakshmanan 1452709e97 Fix test 2021-01-29 10:14:24 -08:00
Vivek Lakshmanan 7cba9df480 Handle arrays/maps of external refs as pointers 2021-01-29 10:12:17 -08:00
Paul Stack d3187d630f
Migrating to smoke-test-cli repository_dispatch event in examples repo (#6216)
This is a specific repository dispatch event that can be used for
updating and testing a CLI version
2021-01-28 19:28:13 +00:00
Justin Van Patten ca7dfdfcbc Prepare for v2.19.0 release 2021-01-27 17:40:21 -08:00
Justin Van Patten b3d11e1c32
Enable resource references by default (#6202) 2021-01-27 13:25:26 -08:00
Paul Stack d72b788011
Ensure Old Secrets Provider Details Removed when Changing to Passphrase (#6210)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2021-01-27 20:07:25 +00:00
Vivek Lakshmanan 30a4fc789b
Merge pull request #6209 from pulumi/vl/CollisionFixes
Various fixes to go codegen to address SDK compilation problems
2021-01-27 11:14:07 -08:00
Vivek Lakshmanan 82020af298 Various fixes go codegen to fix SDK compilation problems 2021-01-26 23:16:42 -08:00
Evan Boyle 8c6865af29
Always read and write nodejs runtime options from/to the environment (#6076) 2021-01-26 14:59:32 -08:00
Komal 216fd2bed5
Fix the rendering of ResourceOptions.merge (#6206) 2021-01-26 15:44:12 -07:00
Justin Van Patten d7dc6bf404
[codegen/dotnet]: Fix bugs referencing external resources/types (#6182)
- Avoids problematic `using` statements.
- Fixes fully qualified names of external resources.
- Avoids emitting directories with README.md files for external modules.
2021-01-26 11:02:34 -08:00
Evan Boyle 527b799974
[BREAKING] Remove unidiomatic numerical types from Go SDK (#6143) 2021-01-26 10:58:21 -08:00
Luke Hoban 6a598bd704
Avoid toStringing Output in debuggablePromise (#6174)
Promise leak debugging was accidentally toStringing an Output, leading to a red herring for several users trying to understand what was causing promise leaks.

Related to #6153 and #5853.
2021-01-27 05:52:09 +11:00
Komal 0f06e03931
Docstring fixups (#6194) 2021-01-25 12:22:17 -07:00