Commit graph

130 commits

Author SHA1 Message Date
Anton Tayanovskyy 669aa8a7ff
Fan out release workflow (#7687) 2021-07-29 20:38:56 -04:00
Anton Tayanovskyy 6724684172
Apply the same build tricks we run on PRs to master workflow (#7685) 2021-07-29 18:18:15 -04:00
Anton Tayanovskyy ba70b3fdba
Attempt to avoid triple-building projects in the solution (#7638) 2021-07-28 20:31:11 -04:00
Anton Tayanovskyy 3aa97a4b7d
Fanout build experiment (#7628)
* Experiment with gotestsum and test timings

* Fix to locating the helper script

* Fix the code for installing gotestsum

* Try alternative installation method

* Use go to compute test stats; Python fails parsing time values

* Try version without v

* Try with fixed gorelaser config

* Fix test time correlation

* Try a stable test stat sort finally

* Use more accurate test duration aggregation

* Include python and auto-api tests in the Go timing counts

* Bring back TESTPARALLELISM

* Fix test compilation

* Only top 100 slow tests

* Try to fracture build matrix to fan out tests

* Do not run Publish Test Results on unsuppored Mac

* Auto-create test-results-dir

* Fix new flaky test by polling for logs

* Try to move native tests to their own config

* Actually skip

* Do not fail on empty test-results folder

* Try again

* Try once more

* Integration test config is the crit path - make it smaller

* Squash underutilized test configurations

* Remove the test result summary box from PR - counts now incorrec

* Remove debugging step
2021-07-27 10:07:15 -04:00
Emiliza Gutierrez a2e0b4a3ad
Add resolution label to stale issues about to be closed (#7639) 2021-07-26 10:23:59 -07:00
Emiliza Gutierrez 13a606d54e
Actually close the issue after being marked as stale (#7626) 2021-07-23 13:44:13 -07:00
Alex Mullans 6c59644bf6
Add issue management Actions (#7476)
* Create issue-management.yml

* Update issue-management.yml
2021-07-23 14:07:06 +03:00
stack72 eff9e6239f [build] temp revert master builds from triggering examples smoke tests due to command dispatch issue 2021-07-15 13:35:41 +01:00
Paul Stack eb8e1585c3
Trigger examples tests on merge to master (#7398) 2021-07-14 14:18:52 +03:00
Komal 7682830778
Turn off fail-fast for codegen tests (#7441) 2021-07-06 20:37:08 -07:00
Paul Stack 57347188fb
[sdk/python] Fix linting errors due to missing types files (#7257) 2021-06-09 19:14:59 +03:00
Paul Stack 9d6a2d05c4
[build] ensure downstream codegen tests run go mod tidy (#7222) 2021-06-06 01:36:52 +03:00
Paul Stack 07ad69dfe6
Adding a workflow dispatch to GHA to test master builds from branches (#7203) 2021-06-03 23:24:49 +03:00
Praneet Loke dbea8058a2
Bump the Pulumi Service API version header to 7 (#7193)
* Version 7 indicates to the Pulumi Service that the CLI supports setting required headers for policy pack publishing

* Add bumping the Pulumi Service API version to the PR checklist
2021-06-02 11:32:52 -07:00
Paul Stack 67bcd73a15
Testing out the ability to comment back to a PR from command dispatch (#7110) 2021-05-21 19:03:58 +01:00
Paul Stack 73a8db6435
Add ability to test downstream codegen and docsgen from PRs (#7104)
Fixes: #7099

PRs from maintainers will work as normal - PRs from the community
can now be triggered with command dispatch events
2021-05-21 17:54:14 +01:00
Paul Stack 0bfab87c21
Fix 2 small release issues with regards to uploading binaries to S3 (#7098)
The Windows binary didn't upload to S3 during the release. We had to
ask our ops team to do this - this fixes that issue
2021-05-21 12:08:37 +01:00
Paul Stack ef2e825760
Trigger an update of the templates go.mod files on release (#7006) 2021-05-15 00:24:03 +01:00
Paul Stack 8a5c7d9583
Checkout for command dispatch events was using master (#7037)
We should ensure that when a command dispatch event comes from a
user contribution, that we are running CI against their code
2021-05-12 19:07:39 +01:00
Paul Stack f68b583831
Using goreleaser as the publishing mechanism for Windows binaries (#6975) 2021-05-10 11:11:08 +01:00
Komal 210c16b67a
Update PULL_REQUEST_TEMPLATE.md (#6940) 2021-04-30 11:12:05 -07:00
Komal b655f0bc23
Proposal: PULL_REQUEST_TEMPLATE.md (#6885) 2021-04-29 13:21:36 -07:00
stack72 c27e58bf2d [deps] Ensuring pulumi/pulumi pkg references pulumi sdk v3.0.0 2021-04-19 09:14:31 +01:00
Justin Van Patten f7f33d92af [codegen/python] Remove deprecated __name__ and __opts__ args (#6765)
These have been deprecated for a very long time and it's a trivial change to remove them from the generated code. Let's clean this up for the 3.0-based providers.
2021-04-14 19:32:18 +01:00
Justin Van Patten 1112c513c0 [sdk/python] Improved dict key translation support (#6695)
This change addresses Python dictionary key translation issues. When the
type of `props` passed to the resource is decorated with `@input_type`,
the type's and resource's property name metadata will be used for dict
key translations instead of the resource's `translate_input_property`
and `translate_output_property` methods.

The generated provider SDKs will be updated to opt-in to this new
behavior:

- FIX: Keys in user-defined dicts will no longer be unintentionally
  translated/modified.

- BREAKING: Dictionary keys in nested output classes are now
  consistently snake_case. If accessing camelCase keys from such output
  classes, move to accessing the values via the snake_case property
  getters (or snake_case keys). Generated SDKs will log a warning
  when accessing camelCase keys.

When serializing inputs:

  - If a value is a dict and the associated type is an input type, the
    dict's keys will be translated based on the input type's property
    name metadata.

  - If a value is a dict and the associated type is a dict (or Mapping),
    the dict's keys will _not_ be translated.

When resolving outputs:

  - If a value is a dict and the associated type is an output type, the
    dict's keys will be translated based on the output type's property
    name metadata.

  - If a value is a dict and the associated type is a dict (or Mapping),
    the dict's keys will _not_ be translated.
2021-04-14 19:32:18 +01:00
stack72 e05477b8d6 [deps] Ensuring pulumi/pulumi pkg references pulumi sdk v3.0.0-beta.1 2021-04-14 19:32:18 +01:00
pulumi-bot 73a66f48ea [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
pulumi-bot 3082ebe275 Ensuring that Pulumi automation api is minimum 3.0.0 CLI version 2021-04-14 19:32:18 +01:00
Komal fd3ec6b86f [automation/nodejs] - Fix missing OpTypes and PreviewOptions (#6507) 2021-04-14 19:32:17 +01:00
Paul Stack dc0d75feb9
GHA Workflow job to test containers changes (#6708) 2021-04-06 19:00:14 +01:00
Pat Gavlin 55ecf7a81e
Run SDK lint jobs (#6674)
Just what it says on the tin. Fixes #6628.
2021-04-01 11:23:47 -07:00
Paul Stack 4efec0f791
[docker] allow docker container builds to pass when security advistory (#6662)
Right now, we test the container at the end of the build rather than
before publishing so while we decouple that work, we should not fail
the build step if a security advisory was found - it's too late, the
containers are released so we should instead catch the advisory and
that will allow our release pipeline to continue
2021-03-31 15:22:58 +01:00
Paul Stack 8369bf22e4
Ensure we pass a v prefix to the version string on Windows (#6598) 2021-03-22 20:19:06 +00:00
Paul Stack e65c150bfc
Set VERSION_PREFIX to be 3.0.0 when using feature-3.0 branch (#6516)
This will allow us to start publishing dev channel builds as
3.0.0-alpha.<githash>

```
VERSION_PREFIX=3.0.0 pulumictl get version
3.0.0-alpha.1615565817+0c439b9e

pulumictl get version
2.23.0-alpha.1615565817+0c439b9e
```
2021-03-12 18:28:55 +00:00
Paul Stack 3f2d58ef7b
Fixing up go.mod and go.sum to ensure they don't continually change (#6502) 2021-03-11 20:41:45 +00:00
pulumi-bot 5a8e470176 [debug] Finding the git differences as part of the dirty build packages 2021-03-11 01:29:21 +00:00
pulumi-bot 74258cfa87 [debug] checking git status of pulumi directory on windows post publishing 2021-03-11 00:57:46 +00:00
Paul Stack 2e321020bf
Debugging why windows builds are being marked as dirty (#6501) 2021-03-11 00:27:19 +00:00
Paul Stack c48ba37fcf
Migrate the version calculation to use pulumictl (#6460) 2021-03-10 19:03:29 +00:00
Paul Stack dc7eb5e2d2
[cli] Add ability to consume arm64 plugins from pulumi cli (#6492)
Related: #4868

Also adds the arm64 build and deployment steps via goreleaser
2021-03-10 16:28:55 +00:00
Paul Stack a1864c5c1a
Adding autorebase functionality to allow state PRs to be rebased (#6484) 2021-03-10 15:59:46 +00:00
Paul Stack 20e84dfe9e
Upgrading Go to 1.16.x (#6470) 2021-03-09 20:05:23 +00:00
Paul Stack 0d5b3d375d
Ensuring dotnet package sources are correct for local packages (#6476)
When passing a package source as part of a `dotnet add package` in
our acceptance testing framework, dotnet was then trying to use that
package source for the restoration of other packages in the csproj
file.

We have removed passing the source to dotnet add package add
and replaced it with adding a machine level package source via
dotnet nuget add source command

this is the more correct way to work and will allow us to be able
to search multiple locations as part of the dotnet restore command
2021-03-09 14:57:24 +00:00
Paul Stack ec220de5f9
Ensuring that changes to codegen runs a test against azure-nextgen (#6102) 2021-03-03 00:37:26 +00:00
Paul Stack aab9cb5e42
Changing the process for CHANGELOG entries (#6408)
As part of our continued effort to make our releases more useful,
we will be adding our CHANGELOG entries to the GitHub Release.

To make this process smooth, we are going to change things a little:

1. All new changelog entries when submitting a PR for an upcoming
release will now need to get added to CHANGELOG_PENDING.md
This is the source of information for what will be delivered in the
release.

2. When a release is being made, the entries from CHANGELOG_PENDING
will be copied to a new version and dated section in CHANGLOG to
mark the release

3. The GH tags will continue as normal and Goreleaser will copy
the changelog entries to the release section in GH
2021-02-23 19:59:59 +00:00
Paul Stack 66052f5d29
Ensure changes to pkg/codegen/docs run PR build (#6340) 2021-02-16 16:09:43 +00:00
Alex Mullans 6f267a9c0b Consolidate issue templates 2021-02-11 14:28:04 -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
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
stack72 ee5fd19a1b Forcing update of homebrew formulae before install pulumi in download cron 2021-02-08 11:22:16 +00:00