Skip to content

Commit

Permalink
Merge pull request #9 from jwdb/master
Browse files Browse the repository at this point in the history
Update to provider 1.7.1
  • Loading branch information
jwdb authored Jul 24, 2023
2 parents dc67a0f + 73f411e commit 3336a0f
Show file tree
Hide file tree
Showing 282 changed files with 21,302 additions and 5,717 deletions.
128 changes: 63 additions & 65 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down
Loading

0 comments on commit 3336a0f

Please sign in to comment.