Commit graph

83 commits

Author SHA1 Message Date
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
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
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
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
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
Lee-Ming Zen 044e37573e Remove checkout of head in PR workflow 2021-01-21 20:18:56 -08:00
Paul Stack c1cdbccb46
Change back to pull-request-target which allows a write GitHub Token (#6151) 2021-01-20 19:53:44 +00:00
Paul Stack bd1554d33e
Adding the pulumi.ecr.aws images as part of the docker images release (#6072) 2021-01-12 16:59:16 +00:00
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