Commit graph

122 commits

Author SHA1 Message Date
stack72
7979fe3ff8 Ensure container tests run on ubuntu not macOS 2021-01-04 21:56:20 +00:00
stack72
7faf8f2dd5 Ensuring the docker containe tests are only run on ubuntu 2021-01-04 20:36:03 +00:00
Paul Stack
fead88d4a6
Ensure that testing containers happens as part of a pulumi publish event (#6030) 2021-01-04 18:28:13 +00:00
Levi Blackstone
7e3d69a53a
Fix CI build 2020-12-22 13:53:16 -07:00
Levi Blackstone
dd9b02dcef
Prepare for v2.16.1 release (#5996) 2020-12-22 13:43:08 -07:00
jon
30088d34c5
fixes lint checkout target for prs (#5971) 2020-12-16 21:15:06 -08:00
Komal
cba68b0874
Fix union types in resource docs (#5909) 2020-12-09 18:18:34 -08:00
Komal
62abd821e9
Update run-docs-gen to use v3 of create-pull-request (#5899) 2020-12-08 15:30:05 -08:00
stack72
7393f80b43 DEBUG when trying to understand why master sdks are classed as dirty for dev builds 2020-12-08 13:20:46 +00:00
Paul Stack
8396030578
Enable command dispatch workflow for dealing with PRs (#5851)
There are a few things happening here:

- Rename the command dispatch release events to be prefixed with trigger-
- Introduce a new command-dispatch event

  This new event listens for a trigger term in a comment e.g. /run-acceptance-tests

  This trigger term is *only* needed when the PR is from a fork! When the trigger term is posted
  then the run-build-and-acceptance-tests.yml event is fired

- run-build-and-acceptance-tests.yml

  If the user runs the code from a pulumi based branch, then the tests and builds will work as normal
  If this file is being run via respository_dispatch then it will be able to run the test and builds
  and also post a comment back to the PR with the link to the test run

It's important to say that PRs affecting the codegen and resource docs paths will only fire from a
pulumi based branch - there is currently no command dispatch events for these codegen and resource PRs!
2020-12-07 19:29:04 +00:00
Lee Briggs
bed7c64afb
use correct repository for actions build (#5820) 2020-11-24 02:49:09 +00:00
Paul Stack
8df7d24523
Trigger Template and Examples tests on a release (#5815)
Fixes: #5738

This will ensure we find any potential issues after a release
2020-11-23 17:47:57 +00:00
Paul Stack
509be5003f
Ensure we pass a version with v prefix to bump-homebrew version (#5786) 2020-11-19 18:16:59 +00:00
stack72
3919ef5010 Ensure we call the correct build container action in the container build command-dispatch 2020-11-18 18:12:42 +00:00
stack72
342a024207 Ensuring that a GitHub Token is present in the workflow release for docker builds 2020-11-18 18:04:11 +00:00
Paul Stack
6a68914fed
Moving away from deprecated GHA add-path and set-env (#5769) 2020-11-17 01:05:28 +00:00
Paul Stack
fe96365e6e
Including the legacy windows AWS env vars for windows pushes (#5748) 2020-11-12 11:58:47 -08:00
Komal
e3725a6e40
Support python 3.9 on windows (#5739) 2020-11-11 14:07:59 -08:00
Paul Stack
8cdde073d8
Combinging the Windows specific build steps with other steps (#5735) 2020-11-11 17:50:27 +00:00
Paul Stack
8e259811ac
Fixup the ancillary release steps for homebrew, docs + docker (#5714) 2020-11-09 18:21:11 +00:00
Paul Stack
29fe40d5c7
Fix release steps for choco, docs, homebrew and docker (#5618) 2020-11-04 17:34:32 +00:00
Komal
b2a39252c2
Fix windows-build workflow (#5677)
Co-authored-by: Paul Stack <public@paulstack.co.uk>
2020-11-04 02:20:15 +00:00
Paul Stack
518d458766
Upgrade the build to target Node14 now that it is LTS (#5673) 2020-11-04 01:25:44 +00:00
Komal
f1f6a126bc
Support python 3.9 (#5669)
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
Co-authored-by: stack72 <public@paulstack.co.uk>
2020-11-03 16:28:45 -08:00
Paul Stack
b2d06daae1
Trying to solve Python build on windows (#5649) 2020-10-30 12:13:59 +00:00
stack72
0173ab41dd Ensure the PULUMI_GO_DEP_ROOT variable as set as part of release script 2020-10-23 13:30:31 +01:00
stack72
633ad5abdd Ensure format of ssetting GitHub Action Environment variables is correct 2020-10-23 12:36:09 +01:00
stack72
c4fd2bec7c Fixing up release yaml to ensure env var is set against chocolatey dispatch command 2020-10-23 11:54:13 +01:00
Lee Briggs
29b9116f8d
Fix outstanding issues with build (#5613)
* use correct token for homebrew build

* fix all outstanding issues with the build

* add chocolatey build

also fix token for docs build
2020-10-22 23:42:49 +01:00
Paul Stack
734979c296
Reintroduce the GOPATH env in windows master build (#5566) 2020-10-14 17:24:57 +01:00
Paul Stack
cd518c3516
Cleanup Windows builds and move windows release build back to GitHub Actions (#5552) 2020-10-12 18:12:12 +01:00
Paul Stack
5430586a9e
Upgrade to Go v1.15.x (#5467) 2020-10-09 17:35:12 +01:00
Lee Briggs
b386075c66
Build master & feature branches in GHA 2020-10-08 13:36:16 -07:00
Lee Briggs
7093565e2c
jaxxstorm/build fixes (#5483)
* fix pulumi bot token and env var

* use commit hash non-marketplace actions

* fix goreleaser binaries

foo

* fix goreleaser archive format

* update workflows to use repo-dispatch

* fixing tag naming

* add support for beta tags

* add prerelease workflow

* remove windows builds

* only use travis for tags

* remove prerelease steps

* fix container build indentation

* check the policy tempdir exists
2020-10-08 12:43:38 -07:00
stack72
0b1124635e Updating the build ref for the docker images actions 2020-10-01 09:01:19 +01:00
Lee Briggs
ca79cddb50
revert builds back to travis (#5486) 2020-09-30 15:46:52 -07:00
Lee Briggs
d4263acbcf
Prepare for v2.11.0 release 2020-09-30 11:00:47 -07:00
Lee Briggs
ad16104985
Implement release workflow (#5468) 2020-09-30 17:44:07 +01:00
Paul Stack
6e0163b248
Tag sdk containers as latest (#5438) 2020-09-25 12:17:05 +01:00
Lee Briggs
95bc138b41
add master branch workflow (#5386) 2020-09-21 16:20:05 -07:00
Lee Briggs
a02afc8882
add legacy aws keys (#5384)
* add legacy aws keys

* fix glob pattern

* fix pr build
2020-09-15 16:22:39 -07:00
Lee Briggs
0ac075ef8f
add initial pull-request workflow (#5276)
* add initial pull-request workflow

* run SDK test all

* add SDK tests

* fixup make targets

* add dist target

* revert back to 5 updates

* disable test

* add issue for test disabling
2020-09-09 13:37:03 -07:00
Levi Blackstone
6fd72dc0db
[codegen/nodejs] Fix constructors to populate inputs on get (#5272) 2020-09-01 16:37:03 -06:00
Lee Briggs
0a53cb2c99
fix the windows pr build api url 2020-08-21 14:11:49 -07:00
Paul Stack
b273e1cbb1 Update issue templates 2020-08-12 20:16:34 +01:00
Paul Stack
712e453e31
Delete ISSUE_TEMPLATE.md 2020-08-12 20:16:03 +01:00
Paul Stack
3595312d64
Adding a default issue template (#5133) 2020-08-12 20:10:03 +01:00
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