From a83751e8b5c682541c49420872e42a6063a83c7b Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Fri, 8 Dec 2023 21:23:24 -0800 Subject: [PATCH] Update GitHub Actions workflows. (#1210) This PR was automatically generated by the update-native-provider-workflows workflow in the pulumi/ci-mgmt repo, from commit 4e52d3f7c3e0138da07858d90950f6b12f697e68. --- .github/workflows/build.yml | 20 ++++++++-------- .github/workflows/cf2pulumi-release.yml | 2 +- .github/workflows/nightly-sdk-generation.yml | 2 +- .github/workflows/prerelease.yml | 20 ++++++++-------- .github/workflows/release.yml | 24 +++++++++----------- .github/workflows/run-acceptance-tests.yml | 14 +++++------- .github/workflows/weekly-pulumi-update.yml | 2 +- 7 files changed, 38 insertions(+), 46 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0e8f9d907..6f9fd54cf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,16 +61,16 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/actions@v4 - if: github.event_name == 'pull_request' name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - repo: mikhailshilkov/schema-tools + repo: pulumi/schema-tools - name: Initialize submodules run: make init_submodules - name: Build codegen binaries @@ -82,7 +82,7 @@ jobs: run: >- echo 'SCHEMA_CHANGES<> $GITHUB_ENV - schema-tools compare ${{ env.PROVIDER }} master --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV + schema-tools compare -p ${{ env.PROVIDER }} -o ${{ github.event.repository.default_branch }} -n --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - if: github.event_name == 'pull_request' @@ -90,8 +90,6 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | - ### Does the PR have any schema changes? - ${{ env.SCHEMA_CHANGES }} comment_tag: schemaCheck GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -160,7 +158,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -257,7 +255,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -357,7 +355,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -409,7 +407,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -487,7 +485,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI diff --git a/.github/workflows/cf2pulumi-release.yml b/.github/workflows/cf2pulumi-release.yml index f6fde21b08..2f47948c07 100644 --- a/.github/workflows/cf2pulumi-release.yml +++ b/.github/workflows/cf2pulumi-release.yml @@ -43,7 +43,7 @@ jobs: - name: Unshallow clone for tags run: git fetch --prune --unshallow --tags - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Go diff --git a/.github/workflows/nightly-sdk-generation.yml b/.github/workflows/nightly-sdk-generation.yml index 18b596f010..975e86342b 100644 --- a/.github/workflows/nightly-sdk-generation.yml +++ b/.github/workflows/nightly-sdk-generation.yml @@ -47,7 +47,7 @@ jobs: with: go-version: 1.21.x - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 8e910375bf..4c4d6902c2 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -53,16 +53,16 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/actions@v4 - if: github.event_name == 'pull_request' name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - repo: mikhailshilkov/schema-tools + repo: pulumi/schema-tools - name: Initialize submodules run: make init_submodules - name: Build codegen binaries @@ -74,7 +74,7 @@ jobs: run: >- echo 'SCHEMA_CHANGES<> $GITHUB_ENV - schema-tools compare ${{ env.PROVIDER }} master --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV + schema-tools compare -p ${{ env.PROVIDER }} -o ${{ github.event.repository.default_branch }} -n --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - if: github.event_name == 'pull_request' @@ -82,8 +82,6 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | - ### Does the PR have any schema changes? - ${{ env.SCHEMA_CHANGES }} comment_tag: schemaCheck GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -152,7 +150,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -248,7 +246,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -348,7 +346,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -400,7 +398,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -478,7 +476,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85cd79b1bb..d914545964 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,16 +53,16 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/actions@v4 - if: github.event_name == 'pull_request' name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - repo: mikhailshilkov/schema-tools + repo: pulumi/schema-tools - name: Initialize submodules run: make init_submodules - name: Build codegen binaries @@ -74,7 +74,7 @@ jobs: run: >- echo 'SCHEMA_CHANGES<> $GITHUB_ENV - schema-tools compare ${{ env.PROVIDER }} master --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV + schema-tools compare -p ${{ env.PROVIDER }} -o ${{ github.event.repository.default_branch }} -n --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - if: github.event_name == 'pull_request' @@ -82,8 +82,6 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | - ### Does the PR have any schema changes? - ${{ env.SCHEMA_CHANGES }} comment_tag: schemaCheck GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -152,7 +150,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -248,7 +246,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -348,7 +346,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -399,7 +397,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -477,7 +475,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -518,7 +516,7 @@ jobs: with: lfs: true - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Add SDK version tag @@ -530,7 +528,7 @@ jobs: needs: tag_sdk steps: - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Dispatch Event diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index a32a502628..de5c87cf2d 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -77,16 +77,16 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI uses: pulumi/actions@v4 - if: github.event_name == 'pull_request' name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: - repo: mikhailshilkov/schema-tools + repo: pulumi/schema-tools - name: Initialize submodules run: make init_submodules - name: Build codegen binaries @@ -98,7 +98,7 @@ jobs: run: >- echo 'SCHEMA_CHANGES<> $GITHUB_ENV - schema-tools compare ${{ env.PROVIDER }} master --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV + schema-tools compare -p ${{ env.PROVIDER }} -o ${{ github.event.repository.default_branch }} -n --local-path=provider/cmd/pulumi-resource-${{ env.PROVIDER }}/schema.json >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - if: github.event_name == 'pull_request' @@ -106,8 +106,6 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: message: | - ### Does the PR have any schema changes? - ${{ env.SCHEMA_CHANGES }} comment_tag: schemaCheck GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -179,7 +177,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI @@ -279,7 +277,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index 6d9d8bdae1..1d5f092d49 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -46,7 +46,7 @@ jobs: with: go-version: ${{ env.GOVERSION }} - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl - name: Install Pulumi CLI