Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the build to target Node14 now that it is LTS #5673

Merged
merged 1 commit into from
Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
198 changes: 8 additions & 190 deletions .github/workflows/codegen-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
downstream-aws:
name: Test AWS Downstream
downstream-test:
stack72 marked this conversation as resolved.
Show resolved Hide resolved
name: Test ${{ matrix.provider }} Downstream
runs-on: ubuntu-latest
strategy:
matrix:
provider: ["aws", "gcp", "azure", "azuread", "random", "kubernetes"]
steps:
- name: Install Go
uses: actions/setup-go@v1
Expand All @@ -20,7 +23,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
node-version: '14.x'
- name: Install Python
uses: actions/setup-python@v1
with:
Expand All @@ -40,193 +43,8 @@ jobs:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-aws
downstream-url: https://github.com/pulumi/pulumi-aws
downstream-name: pulumi-${{ matrix.provider }}
downstream-url: https://github.com/pulumi/pulumi-${{ matrix.provider }}
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}
use-provider-dir: true

downstream-azure:
name: Test Azure Downstream
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.6.x
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b811287a6e06bb7e5d8b91132b839c67e3f9c6ed
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl

- name: Check out source code
uses: actions/checkout@master
- name: Test Downstream
uses: pulumi/action-test-provider-downstream@093f43c86c9b4820e1e3c80df8feab04868890f7
env:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-azure
downstream-url: https://github.com/pulumi/pulumi-azure
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}
use-provider-dir: true

downstream-gcp:
name: Test GCP Downstream
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.6.x
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b811287a6e06bb7e5d8b91132b839c67e3f9c6ed
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl

- name: Check out source code
uses: actions/checkout@master
- name: Test Downstream
uses: pulumi/action-test-provider-downstream@093f43c86c9b4820e1e3c80df8feab04868890f7
env:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-gcp
downstream-url: https://github.com/pulumi/pulumi-gcp
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}
use-provider-dir: true

downstream-azuread:
name: Test AzureAD Downstream
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.6.x
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b811287a6e06bb7e5d8b91132b839c67e3f9c6ed
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl

- name: Check out source code
uses: actions/checkout@master
- name: Test Downstream
uses: pulumi/action-test-provider-downstream@093f43c86c9b4820e1e3c80df8feab04868890f7
env:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-azuread
downstream-url: https://github.com/pulumi/pulumi-azuread
use-provider-dir: true
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}

downstream-random:
name: Test Random Downstream
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.6.x
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b811287a6e06bb7e5d8b91132b839c67e3f9c6ed
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl

- name: Check out source code
uses: actions/checkout@master
- name: Test Downstream
uses: pulumi/action-test-provider-downstream@093f43c86c9b4820e1e3c80df8feab04868890f7
env:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-random
downstream-url: https://github.com/pulumi/pulumi-random
use-provider-dir: true
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}

downstream-kubernetes:
name: Test Kubernetes Downstream
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.6.x
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@b811287a6e06bb7e5d8b91132b839c67e3f9c6ed
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl

- name: Check out source code
uses: actions/checkout@master
- name: Test Downstream
uses: pulumi/action-test-provider-downstream@093f43c86c9b4820e1e3c80df8feab04868890f7
env:
GOPROXY: "https://proxy.golang.org"
with:
replacements: github.com/pulumi/pulumi/pkg/v2=pulumi/pkg,github.com/pulumi/pulumi/sdk/v2=pulumi/sdk
downstream-name: pulumi-kubernetes
downstream-url: https://github.com/pulumi/pulumi-kubernetes
use-provider-dir: true
pulumi-bot-token: ${{ secrets.PULUMI_BOT_TOKEN }}
github-actions-token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
go-version: [ 1.15.x ]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
language: [ "nodejs", "python", "dotnet" ]
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down Expand Up @@ -75,6 +75,9 @@ jobs:
name: Publish Binaries
runs-on: macos-latest
needs: build-and-test
strategy:
stack72 marked this conversation as resolved.
Show resolved Hide resolved
matrix:
go-version: [ 1.15.x ]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
Expand Down Expand Up @@ -127,7 +130,7 @@ jobs:
go-version: [1.15.x]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
go-version: [ 1.14.x ]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
language: [ "nodejs", "python", "dotnet" ]
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down Expand Up @@ -74,6 +74,9 @@ jobs:
name: Publish Binaries
runs-on: macos-latest
needs: build-and-test
strategy:
stack72 marked this conversation as resolved.
Show resolved Hide resolved
matrix:
go-version: [ 1.15.x ]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
Expand Down Expand Up @@ -123,10 +126,11 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
go-version: [1.14.x]

go-version: [1.15.x]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
go-version: [1.15.x]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
go-version: [ 1.15.x ]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
language: [ "nodejs", "python", "dotnet" ]
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down Expand Up @@ -147,6 +147,9 @@ jobs:
name: Publish Binaries
runs-on: macos-latest
needs: build-and-test
strategy:
stack72 marked this conversation as resolved.
Show resolved Hide resolved
matrix:
go-version: [ 1.15.x ]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
Expand Down Expand Up @@ -200,7 +203,7 @@ jobs:
go-version: [1.15.x]
python-version: [ 3.9.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
node-version: [ 14.x ]
runs-on: ${{ matrix.platform }}
steps:
- name: Set up Go ${{ matrix.go-version }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/res-docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@ jobs:
env:
GOPATH: ${{ github.workspace }}
runs-on: ubuntu-latest

strategy:
stack72 marked this conversation as resolved.
Show resolved Hide resolved
matrix:
go-version: [ 1.15.x ]
node-version: [ 14.x ]
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.15.x
go-version: ${{ matrix.go-version }}
- name: Add GOBIN to PATH
run: |
mkdir -p "$(go env GOPATH)/bin"
echo "::add-path::$(go env GOPATH)/bin"
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: ${{ matrix.node-version }}
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Install pulumictl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
platform: [windows-latest]
go-version: [1.15.x]
node-version: [10.x]
node-version: [14.x]
python-version: [3.9.x]
dotnet: [3.1.x]
runs-on: ${{ matrix.platform }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
platform: [windows-latest]
go-version: [1.15.x]
node-version: [10.x]
node-version: [14.x]
python-version: [3.8.x]
dotnet: [3.1.x]
runs-on: ${{ matrix.platform }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
matrix:
platform: [windows-latest]
go-version: [1.15.x]
node-version: [10.x]
node-version: [14.x]
python-version: [3.8.x]
dotnet: [3.1.x]
runs-on: ${{ matrix.platform }}
Expand Down