From 48b0b6612ad305b6c9b3169cab70366420d693b9 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Wed, 26 Jun 2024 23:00:14 -0700 Subject: [PATCH] Update GitHub Actions workflows. (#710) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 9069b7018768de0109f6bf2c25a24fae9099ab9e. --- .github/actions/setup-tools/action.yml | 1 + .github/workflows/build_sdk.yml | 1 - .github/workflows/check-upstream-upgrade.yml | 21 +---- .github/workflows/command-dispatch.yml | 1 - .github/workflows/license.yml | 9 +- .github/workflows/lint.yml | 1 - .github/workflows/master.yml | 91 ++------------------ .github/workflows/prerelease.yml | 74 ++-------------- .github/workflows/prerequisites.yml | 1 - .github/workflows/pull-request.yml | 1 - .github/workflows/release.yml | 74 ++-------------- .github/workflows/resync-build.yml | 31 +------ .github/workflows/run-acceptance-tests.yml | 1 - .github/workflows/upgrade-bridge.yml | 24 ------ .github/workflows/upgrade-provider.yml | 24 ------ .github/workflows/verify-release.yml | 3 +- 16 files changed, 34 insertions(+), 324 deletions(-) diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml index a3f170c8..ec2dddec 100644 --- a/.github/actions/setup-tools/action.yml +++ b/.github/actions/setup-tools/action.yml @@ -26,6 +26,7 @@ runs: cache-dependency-path: | provider/*.sum upstream/*.sum + sdk/*.sum - name: Install pulumictl if: inputs.tools == 'all' || contains(inputs.tools, 'pulumictl') diff --git a/.github/workflows/build_sdk.yml b/.github/workflows/build_sdk.yml index e33e616e..25d2e4b4 100644 --- a/.github/workflows/build_sdk.yml +++ b/.github/workflows/build_sdk.yml @@ -25,7 +25,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi PROVIDER_VERSION: ${{ inputs.version }} diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index 34c4eb8f..a4d997bc 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -8,14 +8,12 @@ jobs: name: Check for upstream provider upgrades runs-on: ubuntu-latest steps: - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - name: Checkout Repo uses: actions/checkout@v4 + - name: Setup tools + uses: ./.github/actions/setup-tools + with: + tools: go - name: Install upgrade-provider run: go install github.com/pulumi/upgrade-provider@main shell: bash @@ -32,17 +30,6 @@ jobs: env: REPO: ${{ github.repository }} shell: bash - - name: Send Check Version Failure To Slack - if: failure() - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":owl:" - SLACK_MESSAGE: " Failed to check upstream for a new version " - SLACK_TITLE: ${{ github.event.repository.name }} upstream version check - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} name: Check upstream upgrade on: workflow_dispatch: {} #so we can run this manually if necessary. diff --git a/.github/workflows/command-dispatch.yml b/.github/workflows/command-dispatch.yml index c3f83759..87688adc 100644 --- a/.github/workflows/command-dispatch.yml +++ b/.github/workflows/command-dispatch.yml @@ -18,7 +18,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: command-dispatch-for-testing: diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index 3b3fd1c9..8bb69524 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -25,7 +25,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: @@ -37,12 +36,10 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ env.PR_COMMIT_SHA }} - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - cache-dependency-path: | - sdk/go.sum - go-version: "1.21.x" + tools: go - run: make upstream - uses: pulumi/license-check-action@main with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d941d599..dfc4b824 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 1c2c7dad..8abae269 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -18,7 +18,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -58,26 +57,10 @@ jobs: aws-access-key-id: ${{ secrets.AWS_CORP_S3_UPLOAD_ACCESS_KEY_ID }} aws-region: us-west-2 aws-secret-access-key: ${{ secrets.AWS_CORP_S3_UPLOAD_SECRET_ACCESS_KEY }} - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - if: github.event_name == 'pull_request' - name: Install Schema Tools - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - repo: pulumi/schema-tools + tools: pulumictl, pulumicli, go, schema-tools - name: Echo Coverage Output Dir run: 'echo "Coverage output directory: ${{ env.COVERAGE_OUTPUT_DIR }}"' - name: Generate Coverage Data @@ -117,21 +100,10 @@ jobs: swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" + tools: pulumictl, pulumicli, go - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -168,17 +140,6 @@ jobs: java-version: "11" node-version: "20.x" python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 tag_release_if_labeled_needs_release: name: Tag release if labeled as needs-release @@ -211,44 +172,10 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - gradle-version: "7.6" + tools: pulumictl, pulumicli, go, node, dotnet, python, java - name: Download provider + tfgen binaries uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 5c2119da..e57cc390 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -64,21 +63,10 @@ jobs: swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" + tools: pulumictl, pulumicli, go - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -114,17 +102,6 @@ jobs: java-version: "11" node-version: "20.x" python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 publish_go_sdk: name: publish_go_sdk needs: @@ -134,11 +111,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - name: Download Go SDK uses: actions/download-artifact@v4 with: @@ -175,44 +147,10 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - gradle-version: "7.6" + tools: pulumictl, pulumicli, go, node, dotnet, python, java - name: Download provider + tfgen binaries uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/prerequisites.yml b/.github/workflows/prerequisites.yml index 2006d2bb..69df9ee7 100644 --- a/.github/workflows/prerequisites.yml +++ b/.github/workflows/prerequisites.yml @@ -35,7 +35,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a2ba3052..1a3754e4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,7 +18,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: comment-on-pr: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8e927f0..c56de068 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: prerequisites: @@ -80,21 +79,10 @@ jobs: swap-storage: false - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" + tools: pulumictl, pulumicli, go - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -129,17 +117,6 @@ jobs: java-version: "11" node-version: "20.x" python-version: "3.11.8" - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: "Publish failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Publish Failure To Slack - uses: rtCamp/action-slack-notify@v2 publish_go_sdk: name: publish_go_sdk needs: @@ -149,11 +126,6 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - name: Download Go SDK uses: actions/download-artifact@v4 with: @@ -208,44 +180,10 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" - - name: Setup Java - uses: actions/setup-java@v4 - with: - cache: gradle - distribution: temurin - java-version: "11" - - name: Setup Gradle - uses: gradle/gradle-build-action@v3 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - gradle-version: "7.6" + tools: pulumictl, pulumicli, go, node, dotnet, python, java - name: Download provider + tfgen binaries uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/resync-build.yml b/.github/workflows/resync-build.yml index 5c4bc00d..4742aa41 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -20,7 +20,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: resync_build: @@ -37,34 +36,10 @@ jobs: - id: run-url name: Create URL to the run output run: echo "run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> "$GITHUB_OUTPUT" - - name: Install Go - uses: actions/setup-go@v5 + - name: Setup tools + uses: ./.github/actions/setup-tools with: - go-version: "1.21.x" - cache-dependency-path: | - sdk/go.sum - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.11.0 - with: - tag: v0.0.46 - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/actions@v5 - with: - pulumi-version: "dev" - - name: Setup DotNet - uses: actions/setup-dotnet@v4 - with: - dotnet-version: "6.0.x" - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20.x" - registry-url: https://registry.npmjs.org - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.11.8" + tools: pulumictl, pulumicli, go, node, dotnet, python - name: Sync with ci-mgmt run: cp -r "ci-mgmt/provider-ci/providers/$PROVIDER/repo/." . - name: Remove ci-mgmt directory diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index e66f05ce..0f5932c9 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -19,7 +19,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi # This should cancel any previous runs of the same workflow on the same branch which are still running. diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index 3a840722..69c476ff 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -83,27 +83,3 @@ jobs: pr-reviewers: ${{ github.event.client_payload.pr-reviewers }} pr-description: ${{ github.event.client_payload.pr-description }} pr-title-prefix: ${{ github.event.client_payload.pr-title-prefix }} - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#7CFC00" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: >- - Upgrade succeeded :heart_decoration: - - PR opened at github.com/pulumi/${{ github.event.repository.name }}/pulls - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - name: Send Upgrade Success To Slack - uses: rtCamp/action-slack-notify@v2 - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: " Upgrade failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Upgrade Failure To Slack - uses: rtCamp/action-slack-notify@v2 diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 04f7d6ab..02437beb 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -15,30 +15,6 @@ jobs: kind: all email: bot@pulumi.com username: pulumi-bot - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#7CFC00" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: >- - Upgrade succeeded :heart_decoration: - - PR opened at github.com/pulumi/${{ github.event.repository.name }}/pulls - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - name: Send Upgrade Success To Slack - uses: rtCamp/action-slack-notify@v2 - - env: - SLACK_CHANNEL: provider-upgrade-publish-status - SLACK_COLOR: "#FF0000" - SLACK_ICON_EMOJI: ":taco:" - SLACK_MESSAGE: " Upgrade failed :x:" - SLACK_TITLE: ${{ github.event.repository.name }} upgrade result - SLACK_USERNAME: provider-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() - name: Send Upgrade Failure To Slack - uses: rtCamp/action-slack-notify@v2 name: Upgrade provider on: issues: diff --git a/.github/workflows/verify-release.yml b/.github/workflows/verify-release.yml index 3db85964..ef691034 100644 --- a/.github/workflows/verify-release.yml +++ b/.github/workflows/verify-release.yml @@ -41,7 +41,6 @@ env: SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} TF_APPEND_USER_AGENT: pulumi jobs: @@ -65,3 +64,5 @@ jobs: uses: actions/checkout@v4 - name: Setup tools uses: ./.github/actions/setup-tools + with: + tools: pulumicli, go, node, dotnet, python, java