-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from jwdb/master
Update to provider 1.7.1
- Loading branch information
Showing
282 changed files
with
21,302 additions
and
5,717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,39 +15,38 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
submodules: recursive | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.20.5 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/action-install-gh-release@v1.1.0 | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/[email protected] | ||
uses: pulumi/actions@v4 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{matrix.nodeversion}} | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{matrix.dotnetverson}} | ||
dotnet-version: ${{matrix.dotnetversion}} | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{matrix.pythonversion}} | ||
- name: Download provider + tfgen binaries | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.PROVIDER }}-provider.tar.gz | ||
path: ${{ github.workspace }}/bin | ||
|
@@ -59,63 +58,67 @@ jobs: | |
-exec chmod +x {} \; | ||
- name: Build SDK | ||
run: make build_${{ matrix.language }} | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
- name: Check worktree clean | ||
run: ./ci-scripts/ci/check-worktree-is-clean | ||
run: ${{ github.workspace }}/ci-scripts/ci/check-worktree-is-clean | ||
- name: Compress SDK folder | ||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} | ||
. | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.language }}-sdk.tar.gz | ||
path: ${{ github.workspace}}/sdk/${{ matrix.language }}.tar.gz | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
dotnetversion: | ||
- 3.1.301 | ||
- 6 | ||
goversion: | ||
- 1.16.x | ||
- 1.20.5 | ||
language: | ||
- nodejs | ||
- python | ||
- dotnet | ||
- go | ||
nodeversion: | ||
- 13.x | ||
- 18.x | ||
pythonversion: | ||
- "3.7" | ||
- "3.11.4" | ||
prerequisites: | ||
name: prerequisites | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
submodules: recursive | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.20.5 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/action-install-gh-release@v1.1.0 | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/[email protected] | ||
uses: pulumi/actions@v4 | ||
- name: Build tfgen & provider binaries | ||
run: make provider | ||
- name: Tar provider binaries | ||
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace | ||
}}/bin/ pulumi-resource-${{ env.PROVIDER }} pulumi-tfgen-${{ env.PROVIDER | ||
}} | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.PROVIDER }}-provider.tar.gz | ||
path: ${{ github.workspace }}/bin/provider.tar.gz | ||
|
@@ -127,24 +130,23 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
submodules: recursive | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.20.5 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/action-install-gh-release@v1.1.0 | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/[email protected] | ||
uses: pulumi/actions@v4 | ||
- name: Run golangci | ||
run: make lint_provider | ||
strategy: | ||
|
@@ -154,16 +156,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
submodules: recursive | ||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.20.5 | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
|
@@ -175,35 +174,34 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
submodules: recursive | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.16.x | ||
go-version: 1.20.5 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/action-install-gh-release@v1.1.0 | ||
uses: jaxxstorm/action-install-gh-release@v1.10.0 | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/[email protected] | ||
uses: pulumi/actions@v4 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v3 | ||
with: | ||
always-auth: true | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup DotNet | ||
uses: actions/setup-dotnet@v1 | ||
uses: actions/setup-dotnet@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
- name: Download Python SDK | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: python-sdk.tar.gz | ||
path: ${{ github.workspace}}/sdk | ||
|
@@ -212,14 +210,14 @@ jobs: | |
- name: Install Twine | ||
run: python -m pip install pip twine | ||
- name: Download NodeJS SDK | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: nodejs-sdk.tar.gz | ||
path: ${{ github.workspace}}/sdk | ||
- name: Unzip NodeJS SDK | ||
run: tar -zxf ${{ github.workspace}}/sdk/nodejs.tar.gz -C ${{ github.workspace}}/sdk/nodejs | ||
- name: Download DotNet SDK | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: dotnet-sdk.tar.gz | ||
path: ${{ github.workspace}}/sdk | ||
|
Oops, something went wrong.