Commit graph

75 commits

Author SHA1 Message Date
Paul Stack
94098088d8
Adding a Repository Dispatch event for homebrew bump script (#5125)
This replaces the work in scripts/update_homebrew.sh
2020-08-07 13:40:07 +01:00
Lee Briggs
0a61cc4d5b
add a github token to downstream tests 2020-08-04 09:22:38 -07:00
Lee Briggs
dca9b1a194
Install pulumictl for downstream tests 2020-08-04 09:20:56 -07:00
Sean Fausett
a38bbaa221
Enable SourceLink with embedded PDB (#4967) 2020-07-21 16:55:08 +02:00
Komal
1a10e06588
Add a helper function to clean the codegen dir (#5018) 2020-07-15 16:11:37 -07:00
Paul Stack
83406b97f8
Adding the langage SDK specific docker images (#4837)
* [WIP] Adding the langage SDK specific docker images

Fixes: #3789

* add multiple os build

This introduces multiple containers images with various different OS's.
The base build is based on debian (symlinked from the Dockerfile.debian)
build.

We also have UBi based images, and alpine based images

* Adding the langage SDK specific docker images

Fixes: #3789

* remove alpine builds

* test docker readme sync

* fix description

* fix name of sync task

Co-authored-by: Lee Briggs <lee@leebriggs.co.uk>
2020-06-18 01:35:45 +01:00
Pat Gavlin
bd1c0e6d7b
[codegen/schema] Support default union types. (#4746)
Add support for union types that indicate a default type for targets
that do not support unions, or do not support unions in certain
positions (e.g. output properties). The NodeJS backend makes use of this
in combination with a new flag, `disableUnionOutputTypes`, to avoid
generating unions in output types.

These changes also refactor the various module ->
package/module/namespace mapping methods so that these entities can be
fetched by their language name rather than their token.
2020-06-02 18:15:21 -07:00
Paul Stack
45e1917a30
Upgrade to Go 1.14.x (#4697) 2020-05-28 12:01:33 +01:00
Praneet Loke
30b12cff49
[codegen/docs] Various Go-related fixes (#4646)
* Remove code that was hiding Go as a language option for k8s overlay resources. Mark input args type for Functions as optional in Go.

* Show a special note in the Go function's snippet when the function name does not match other languages.

* Make sure the draft PR stays assigned to the original author. Add some more comments.

* Remove logic to use the Go ModuleToPackage map to then lookup the relevant C# namespace. Make getLanguageModuleName a method of modContext since passing in a package is not needed anymore.
2020-05-15 17:33:56 -07:00
Praneet Loke
fcac4af8ae
[codegen/docs] Generate a table with links to the language-specific module pages (#4597)
* Generate language package details in the index pages.

* Add a new DocLanguageHelper interface method to get to a module per-language. 

* Add a new workflow file for automatically creating draft docs PRs for previewing resource docs for AWS and Kubernetes as a result of changes in the resource docs generator.
2020-05-12 15:37:37 -07:00
Pat Gavlin
e5b4eaebb8
Add GH actions for downstream codegen testing. (#4567)
These changes port the downstream codegen testing actions from
https://github.com/pulumi/pulumi-terraform-bridge to this repository.
`github.com/pulumi/pulumi/pkg/v2` is replaced with the PR HEAD.

These tests are only triggered on changes to `pkg/codegen` and
the workflow definition itself.
2020-05-05 11:30:47 -07:00
stack72
9348728648 Fixup GO111MODULE on Windows 2020-04-07 19:37:28 +01:00
stack72
ed840bf58d Reinstate AppVeyor for Windows Releases 2020-03-27 17:49:59 +00:00
Evan Boyle
3eb3a0dec4
Move examples tests to /test/examples (#4196) 2020-03-26 20:19:18 -07:00
Paul Stack
b2a2f441c6
Merge pull request #4203 from pulumi/enable-git-history
Enable git history on Pulumi repo to ensure get-version works
2020-03-27 01:15:33 +00:00
stack72
35f25b0c5d Enable git history on Pulumi repo to ensure get-version works 2020-03-27 00:34:00 +00:00
stack72
80bbd0c271 Rid our windows builds of Go Dep 2020-03-26 23:04:21 +00:00
stack72
6e8cabdbd8 Install AWS CLI tools for Windows Releases 2020-03-26 22:57:42 +00:00
stack72
4281ef929c Fixup the checkout of the scripts repository as part of the windows build 2020-03-26 21:42:28 +00:00
stack72
1274b5579c Checkout out scripts repository as part of windows master build 2020-03-26 20:54:32 +00:00
stack72
a731437ecc Move Windows release builds to happen in GHA
The windows release was appveyor calling a specific build target when
a tag was present. This is now called on a push to any of the branches
in the push category

This means it will not trigger on the pushes to the PR builds
2020-03-26 19:02:13 +00:00
Evan Boyle
80f1989600
Removing the need for vendoring (#4167) 2020-03-25 15:57:46 -07:00
evanboyle
d65c65122f update builds to handle new go mod layout 2020-03-18 16:41:23 -07:00
stack72
f11b7129a0 Run Dep Ensure when testing Go integration projects
Fixes: #3939
2020-03-10 03:11:44 +02:00
stack72
985084651c Trying to build the windows build on GHA rather than AppVeyor 2020-02-27 17:11:39 +02:00