Skip to content

Commit

Permalink
Revert "chore: enable release verifcation" (#5049)
Browse files Browse the repository at this point in the history
Reverts #5034

This did not quite work yet per:
#5044
  • Loading branch information
t0yv0 authored Jan 8, 2025
1 parent 409cf93 commit ff2e31e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 40 deletions.
5 changes: 0 additions & 5 deletions .ci-mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,3 @@ actions:
role-duration-seconds: 7200
role-session-name: aws@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
releaseVerification:
nodejs: examples/bucket
python: examples/webserver-py
dotnet: examples/webserver-cs
go: examples/webserver-go
45 changes: 10 additions & 35 deletions .github/workflows/verify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,18 @@ env:
jobs:
verify-release:
name: verify-release
# We don't have any release verification configurations, so we never run this workflow.
# Configure your .ci-mgmt.yaml files to include the release verification configurations e.g.
# releaseVerification:
# nodejs: path/to/nodejs/project
# python: path/to/python/project
# dotnet: path/to/dotnet/project
# go: path/to/go/project
if: false
strategy:
matrix:
# We always run on Linux and Windows, and optionally on MacOS. This is because MacOS runners have limited availability.
# Expression expands to ["ubuntu-latest","windows-latest"] or ["ubuntu-latest","windows-latest","macos-latest"]
# GitHub expressions don't have 'if' statements, so we use a ternary operator to conditionally include the MacOS runner suffix.
# See the docs for a similar example to this: https://docs.github.com/en/actions/learn-github-actions/expressions#fromjson
runner: ${{ fromJSON(format('["ubuntu-latest","windows-latest"{0}]', github.event.inputs.enableMacRunner == 'true' && ',"macos-latest"' || '')) }}
# We don't have any release verification configurations, so we only run on Linux to print warnings to help users configure the release verification.
runner: ["ubuntu-latest"]
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout Repo
Expand All @@ -82,33 +87,3 @@ jobs:
uses: ./.github/actions/setup-tools
with:
tools: pulumicli, nodejs, python, dotnet, go, java
- name: Verify nodejs release
uses: pulumi/verify-provider-release@v1
with:
runtime: nodejs
directory: examples/bucket
provider: aws
providerVersion: ${{ inputs.providerVersion }}
- name: Verify python release
uses: pulumi/verify-provider-release@v1
with:
runtime: python
directory: examples/webserver-py
provider: aws
providerVersion: ${{ inputs.providerVersion }}
packageVersion: ${{ inputs.pythonVersion || inputs.providerVersion }}
- name: Verify dotnet release
uses: pulumi/verify-provider-release@v1
with:
runtime: dotnet
directory: examples/webserver-cs
provider: aws
providerVersion: ${{ inputs.providerVersion }}
- name: Verify go release
uses: pulumi/verify-provider-release@v1
if: inputs.skipGoSdk == false
with:
runtime: go
directory: examples/webserver-go
provider: aws
providerVersion: ${{ inputs.providerVersion }}

0 comments on commit ff2e31e

Please sign in to comment.